Skip to content

Commit d554449

Browse files
committed
Increased the tolerance to 0.70
1 parent 61735c2 commit d554449

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tests/ImageCompareTest.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import UIActions from "@uiActions/UIActions";
1414
// We are masking the dynamic elements before capturing the screenshot. So that the comparison will be done excluding those elements
1515
await ui.element('.auth-wrapper', "Login Section masked v2").compareAndValidateElementScreenshot("Login_Section_masked.png", [".logo-w", ".buttons-w"]);
1616
// Here we are using a tolerance of 0.26 to so theme mismatch is accepted
17-
await ui.element('.auth-wrapper', "Login Section v2 with Tolerance").compareAndValidateElementScreenshot("Login_Section.png", [], 0.26);
17+
await ui.element('.auth-wrapper', "Login Section v2 with Tolerance of 0.70").compareAndValidateElementScreenshot("Login_Section.png", [], 0.70);
1818
// Here we are using a tolerance of 0.00 to so exact match is accepted. This will fail if there is any minor change in the UI
1919
await ui.element('.auth-wrapper', "Login Section v2").compareAndValidateElementScreenshot("Login_Section.png");
2020
});

0 commit comments

Comments
 (0)