Accessibility fixes.
This commit is contained in:
parent
689548e389
commit
dae983734a
7 changed files with 201 additions and 140 deletions
|
|
@ -1,31 +1,32 @@
|
|||
import { defineConfig } from '@playwright/test'
|
||||
import { defineConfig } from "@playwright/test";
|
||||
|
||||
export default defineConfig({
|
||||
testDir: './e2e',
|
||||
outputDir: 'e2e/test-results',
|
||||
snapshotDir: 'e2e/__screenshots__',
|
||||
testDir: "./e2e",
|
||||
outputDir: "e2e/test-results",
|
||||
snapshotDir: "e2e/__screenshots__",
|
||||
fullyParallel: true,
|
||||
forbidOnly: !!process.env.CI,
|
||||
retries: process.env.CI ? 1 : 0,
|
||||
workers: process.env.CI ? 1 : undefined,
|
||||
reporter: 'html',
|
||||
reporter: "html",
|
||||
use: {
|
||||
baseURL: 'http://localhost:3000',
|
||||
trace: 'on-first-retry',
|
||||
baseURL: "http://localhost:3000",
|
||||
trace: "on-first-retry",
|
||||
},
|
||||
projects: [
|
||||
{
|
||||
name: 'chromium',
|
||||
use: { browserName: 'chromium' },
|
||||
name: "chromium",
|
||||
use: { browserName: "chromium" },
|
||||
},
|
||||
],
|
||||
webServer: {
|
||||
command: 'npm run dev',
|
||||
url: 'http://localhost:3000',
|
||||
reuseExistingServer: !process.env.CI,
|
||||
command: "npm run build && NODE_ENV=development npm run preview",
|
||||
url: "http://localhost:3000",
|
||||
reuseExistingServer: false,
|
||||
env: {
|
||||
NUXT_PUBLIC_COMING_SOON: 'false',
|
||||
NODE_ENV: 'development',
|
||||
NUXT_PUBLIC_COMING_SOON: "false",
|
||||
NODE_ENV: "development",
|
||||
ALLOW_DEV_TEST_ENDPOINTS: "true",
|
||||
},
|
||||
},
|
||||
})
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue