Verify reading flows on desktop and mobile and fix login contrast
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import { defineConfig } from "@playwright/test";
|
||||
|
||||
// Use an already running, explicitly authorized dev server. This configuration
|
||||
// never runs `next build`, starts CI, or accesses a personal Chrome profile.
|
||||
export default defineConfig({
|
||||
testDir: "./tests/e2e",
|
||||
workers: 1,
|
||||
retries: 0,
|
||||
timeout: 30000,
|
||||
expect: { timeout: 10000 },
|
||||
reporter: "list",
|
||||
use: {
|
||||
baseURL: "http://localhost:17322",
|
||||
channel: "chrome",
|
||||
headless: true,
|
||||
launchOptions: { args: ["--no-proxy-server"] },
|
||||
permissions: ["clipboard-read", "clipboard-write"],
|
||||
trace: "retain-on-failure",
|
||||
screenshot: "only-on-failure",
|
||||
},
|
||||
projects: [
|
||||
{ name: "desktop", use: { viewport: { width: 1440, height: 1000 } } },
|
||||
{ name: "mobile", use: { viewport: { width: 390, height: 844 }, isMobile: true, hasTouch: true } },
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user