20 lines
599 B
TypeScript
20 lines
599 B
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
|
|
|
/**
|
|
* The before-and-after pictures of a change of look (`pnpm look:shots`, e2e/look.spec.ts): the BUILT PWA in the
|
|
* light and the dark, written to e2e/look/<ROSEA_LOOK>/ (git-ignored). Its own config, so `pnpm test:e2e` stays the
|
|
* suite of record and the pictures are taken only when asked for.
|
|
*/
|
|
export default defineConfig({
|
|
testDir: '.',
|
|
testMatch: /look\.spec\.ts/,
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
retries: 0,
|
|
reporter: [['list']],
|
|
use: {
|
|
...devices['Desktop Chrome'],
|
|
trace: 'retain-on-failure'
|
|
}
|
|
});
|