mirror of
https://github.com/appium/appium.git
synced 2026-01-21 09:39:52 -06:00
working on getting new iosatom working
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user