Skip to content

Commit

Permalink
(nut-tree#145) Reverted reduced confidence value
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed May 14, 2020
1 parent be7f6f3 commit c69a0e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe("E2E drag & drop demo", () => {
await mouse.drag(down(500));
await mouse.move(right(100));
await mouse.leftClick();
const dest = await screen.find("moved_trash.png", {confidence: 0.95});
const dest = await screen.find("moved_trash.png");
expect(Math.abs(dest.left - expected.left)).toBeLessThanOrEqual(maxDiff);
expect(Math.abs(dest.top - expected.top)).toBeLessThanOrEqual(maxDiff);
expect(Math.abs(dest.width - expected.width)).toBeLessThanOrEqual(maxDiff);
Expand Down

0 comments on commit c69a0e1

Please sign in to comment.