mirror of
https://github.com/appium/appium.git
synced 2026-05-07 11:30:21 -05:00
fix test for ios 7.0
This commit is contained in:
@@ -25,10 +25,12 @@ describeWd('elementByTagName', function(h) {
|
||||
els[1].click(function() {
|
||||
h.driver.elementByTagName('alert', function(err, el) {
|
||||
should.not.exist(err);
|
||||
el.elementsByTagName('button', function(err, buttons) {
|
||||
el.elementByName('OK', function(err) {
|
||||
should.not.exist(err);
|
||||
buttons.length.should.equal(2);
|
||||
done();
|
||||
el.elementByName('Cancel', function(err) {
|
||||
should.not.exist(err);
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user