robustify test (y location can have multiple values)

This commit is contained in:
Jonathan Lipps
2014-02-25 18:19:58 -08:00
parent c77029aa90
commit a061bcd29b

View File

@@ -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);
});