fix test for ios 7.0

This commit is contained in:
Jonathan Lipps
2013-09-06 15:04:41 -07:00
parent 70f5c09244
commit 555724088a
+5 -3
View File
@@ -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();
});
});
});
});