Make playwright:snapshots:ubuntu fail on mismatching image snapshots (#6322)

* pierremtb/adhoc/playwright-should-fail-on-mismatching-image-snapshots

* Add network-toggle to masks

* Add network masks

* :oops: tangentialArc snapshot update

* Update snaps

* Cleaner constants for masks

* Update snaps

* Clean up, updated README
This commit is contained in:
Pierre Jacquier
2025-04-15 05:43:39 -04:00
committed by GitHub
parent 7fce38b212
commit c51db5bd4a
32 changed files with 55 additions and 80 deletions

View File

@ -20,6 +20,7 @@ import {
createProject,
executorInputPath,
getUtils,
networkingMasks,
orRunWhenFullSuiteEnabled,
tomlToSettings,
} from '@e2e/playwright/test-utils'
@ -1036,7 +1037,7 @@ fn cube`
'toggle-settings-initial.png',
{
maxDiffPixels: 15,
mask: [page.getByTestId('model-state-indicator')],
mask: networkingMasks(page),
}
)
@ -1053,7 +1054,7 @@ fn cube`
'toggle-settings-initial.png',
{
maxDiffPixels: 15,
mask: [page.getByTestId('model-state-indicator')],
mask: networkingMasks(page),
}
)
})