This is an automated email from the ASF dual-hosted git repository.
tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new ebbeb3c4522 NO-ISSUE: Temporarily increase Playwright toHaveScreenshot
assertion threshold to 10% (#2639)
ebbeb3c4522 is described below
commit ebbeb3c45225c86d449e2473af4a7003b7673fb2
Author: Luiz João Motta <[email protected]>
AuthorDate: Thu Oct 3 14:25:36 2024 -0300
NO-ISSUE: Temporarily increase Playwright toHaveScreenshot assertion
threshold to 10% (#2639)
---
packages/boxed-expression-component/playwright.config.ts | 2 +-
packages/playwright-base/playwright.config.ts | 2 +-
packages/scesim-editor/playwright.config.ts | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/boxed-expression-component/playwright.config.ts
b/packages/boxed-expression-component/playwright.config.ts
index 5868527ee5c..d01ebde38d8 100644
--- a/packages/boxed-expression-component/playwright.config.ts
+++ b/packages/boxed-expression-component/playwright.config.ts
@@ -40,7 +40,7 @@ const customConfig = defineConfig({
toHaveScreenshot: {
// An acceptable ratio of pixels that are different to the
// total amount of pixels, between 0 and 1.
- maxDiffPixelRatio: 0.001,
+ maxDiffPixelRatio: 0.1,
},
},
});
diff --git a/packages/playwright-base/playwright.config.ts
b/packages/playwright-base/playwright.config.ts
index a5134a73aa8..b298eaf7100 100644
--- a/packages/playwright-base/playwright.config.ts
+++ b/packages/playwright-base/playwright.config.ts
@@ -57,7 +57,7 @@ export default defineConfig({
toHaveScreenshot: {
// An acceptable ratio of pixels that are different to the
// total amount of pixels, between 0 and 1.
- maxDiffPixelRatio: 0.01,
+ maxDiffPixelRatio: 0.1,
},
},
/* Configure projects for major browsers */
diff --git a/packages/scesim-editor/playwright.config.ts
b/packages/scesim-editor/playwright.config.ts
index b837bceb451..8fe61cb93e9 100644
--- a/packages/scesim-editor/playwright.config.ts
+++ b/packages/scesim-editor/playwright.config.ts
@@ -42,7 +42,7 @@ const customConfig = defineConfig({
toHaveScreenshot: {
// An acceptable ratio of pixels that are different to the
// total amount of pixels, between 0 and 1.
- maxDiffPixelRatio: 0.001,
+ maxDiffPixelRatio: 0.1,
},
},
});
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]