We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f97729 commit 3f541d9Copy full SHA for 3f541d9
e2e/utils.e2e.ts
@@ -28,8 +28,8 @@ export class E2EUtils {
28
*/
29
expectLocation(element: FinderResult, {x, y}: Point): void {
30
this._getElement(element).getLocation().then((location: Point) => {
31
- expect(location.x).toEqual(Math.round(x));
32
- expect(location.y).toEqual(Math.round(y));
+ expect(location.x).toEqual(x);
+ expect(location.y).toEqual(y);
33
});
34
}
35
0 commit comments