working on getting new iosatom working

This commit is contained in:
Jonathan Lipps
2013-03-07 18:08:18 -08:00
parent d9db9834a6
commit 8c5f8bbce3
2 changed files with 37 additions and 12 deletions

View File

@@ -32,8 +32,20 @@ browser
should.not.exist(err);
el.text(function(err, text) {
text.should.eql("I am a div");
browser.frame(null, function() {
browser.quit();
browser.elementById('comments', function(err, comments) {
should.not.exist(err);
comments.sendKeys("This is an awesome comment", function() {
browser.elementById('submit', function(err, submit) {
submit.click(function() {
browser.elementById('your_comments', function(err, res) {
res.text(function(err, text) {
text.should.include("This is an awesome comment");
browser.quit();
});
});
});
});
});
});
});
});