mirror of
https://github.com/appium/appium.git
synced 2026-02-12 12:59:38 -06:00
robustify test (y location can have multiple values)
This commit is contained in:
@@ -12,7 +12,7 @@ describe('testapp - location -', function () {
|
||||
driver
|
||||
.elementByTagName('button').getLocation().then(function (location) {
|
||||
location.x.should.equal(94);
|
||||
location.y.should.equal(122);
|
||||
location.y.should.be.above(120);
|
||||
})
|
||||
.nodeify(done);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user