feat(04-03): add platform launch E2E test with screenshot capture
- Add second test to desktop.smoke.spec.ts validating app launch, window dimensions, and screenshot capture
- Screenshot saved to build/screenshots/launch-{platform}.png for D-07 evidence
- Update playwright.config.ts with outputDir for test artifacts and join import
- Add xvfb-run note for headless Linux CI environments
This commit is contained in:
1 parent
0f9042673f
commit
9d01a7acc4
2 files changed
+56
-1
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { join } from "node:path";
|
||||
import { defineConfig } from "@playwright/test";
|
||||
|
||||
export default defineConfig({
|
||||
@@ -7,6 +8,7 @@ export default defineConfig({
|
||||
fullyParallel: false,
|
||||
workers: 1,
|
||||
reporter: "list",
|
||||
outputDir: join(process.cwd(), "build", "test-results"),
|
||||
use: {
|
||||
trace: "on-first-retry",
|
||||
screenshot: "only-on-failure",
|
||||
|
||||
Reference in new issue
Block a user