This commit is contained in:
stanislavchalapko 2024-03-03 00:32:16 +02:00
parent 58098357e4
commit 012425e1f5
3 changed files with 5 additions and 1 deletions

View File

@ -19,13 +19,17 @@ const config = {
* For example in `await expect(locator).toHaveText();`
*/
timeout: 5000,
toMatchSnapshot: {
maxDiffPixelRatio: 0.01,
},
maxDiffPixels: 3,
},
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 1 : 2,
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 4 : 3,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB