test: add frontend visual regression coverage
This commit is contained in:
@@ -25,7 +25,15 @@ export default defineConfig({
|
||||
fullyParallel: false,
|
||||
workers: 1,
|
||||
timeout: 45_000,
|
||||
expect: { timeout: 8_000 },
|
||||
expect: {
|
||||
timeout: 8_000,
|
||||
toHaveScreenshot: {
|
||||
animations: 'disabled',
|
||||
caret: 'hide',
|
||||
maxDiffPixelRatio: 0.001,
|
||||
},
|
||||
},
|
||||
snapshotPathTemplate: '{testDir}/{testFilePath}-snapshots/{arg}-{projectName}{ext}',
|
||||
outputDir: path.join(runtimeRoot, 'test-results'),
|
||||
reporter: [['line'], ['html', { outputFolder: path.join(runtimeRoot, 'report'), open: 'never' }]],
|
||||
globalSetup: './e2e/global-setup.ts',
|
||||
|
||||
Reference in New Issue
Block a user