pi-ext
bugabingas pi extensions
owned by bugabinga
test(e2e): cover chromium and firefox
7e6d750b84d1cc7f2234b0e89a6db116e8b925a6
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (2)
extensions/diff-review/playwright.config.ts
Modified 5 5 testMatch:
"*.spec.ts",
9 + { name:
"chromium", use: { browserName:
"chromium" } },
10 + { name:
"firefox", use: { browserName:
"firefox" } },
10 - browserName:
"firefox",
extensions/ui/playwright.config.ts
Modified 1 -import { existsSync }
from "node:fs";
2 1 import { defineConfig }
from "@playwright/test";
4 -const chromePath
= "C:/Program Files/Google/Chrome/Application/chrome.exe";
6 3 export default defineConfig({
7 4 testDir:
"./__e2e__",
9 6 expect: { timeout:
5_000 },
8 + { name:
"chromium", use: { browserName:
"chromium" } },
9 + { name:
"firefox", use: { browserName:
"firefox" } },
12 13 viewport: { width:
900, height:
700 },
13 - launchOptions:
existsSync(chromePath)
? { executablePath: chromePath }
: {},
15 - projects: [{ name:
"chromium", use: { browserName:
"chromium" } }],