From 1226a0eaa4e83a72daa02b597005e6850ef3cb1c Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Sat, 5 Sep 2026 23:58:43 -0700 Subject: [PATCH] test: exercise document visibility WebGL screenshots in rendered CI --- .github/workflows/e2e.yml | 2 +- tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index a94a7ea2ba5..dd0a00fd042 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -246,7 +246,7 @@ jobs: E2E_PROJECT_ARGS+=(--project=electron-headful) fi xvfb-run --auto-servernum bash .github/scripts/e2e-with-window-manager.sh env "${E2E_ENV[@]}" \ - pnpm run test:e2e "${TEST_FILES[@]}" --workers=1 "${E2E_PROJECT_ARGS[@]}" + pnpm run test:e2e "${TEST_FILES[@]}" --workers=1 "${E2E_PROJECT_ARGS[@]}" --repeat-each=3 - name: Upload Playwright traces if: failure() diff --git a/tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts b/tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts index 1aa355b317e..d189df075c5 100644 --- a/tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts +++ b/tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts @@ -281,7 +281,7 @@ async function dispatchDocumentVisibilityCycle(page: Page): Promise { } test.describe('terminal document visibility WebGL recovery', () => { - test('preserves the WebGL atlas and keeps terminal text painted after document visibility resumes', async ({ + test('@headful preserves the WebGL atlas and keeps terminal text painted after document visibility resumes', async ({ electronApp, orcaPage }, testInfo) => {