Skip to content

fix: prevent workspace overwrites. #111

fix: prevent workspace overwrites.

fix: prevent workspace overwrites. #111

Triggered via pull request April 26, 2026 17:35
Status Success
Total duration 7m 27s
Artifacts

playwright.yml

on: pull_request
Matrix: e2e
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 5 notices
[webkit] › playwright/rendering-modes/core.spec.ts:308:1 › jsx syntax errors affect status but not diagnostics toggle severity: playwright/helpers/app-test-helpers.ts#L77
1) [webkit] › playwright/rendering-modes/core.spec.ts:308:1 › jsx syntax errors affect status but not diagnostics toggle severity Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: false Call Log: - Timeout 90000ms exceeded while waiting on the predicate at helpers/app-test-helpers.ts:77 75 | await navigateToApp(page, path) 76 | await expect(page.getByRole('heading', { name: '@knighted/develop' })).toBeVisible() > 77 | await expect | ^ 78 | .poll(async () => { 79 | const statusText = ( 80 | await page.getByRole('status', { name: 'App status' }).textContent() at waitForAppReady (/home/runner/work/develop/develop/playwright/helpers/app-test-helpers.ts:77:3) at waitForInitialRender (/home/runner/work/develop/develop/playwright/helpers/app-test-helpers.ts:140:3) at /home/runner/work/develop/develop/playwright/rendering-modes/core.spec.ts:311:3
[webkit] › playwright/rendering-modes/core.spec.ts:666:1 › auto render shows App-only error for declarations plus top-level JSX expression: playwright/helpers/app-test-helpers.ts#L77
1) [webkit] › playwright/rendering-modes/core.spec.ts:666:1 › auto render shows App-only error for declarations plus top-level JSX expression Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: false Call Log: - Timeout 90000ms exceeded while waiting on the predicate at helpers/app-test-helpers.ts:77 75 | await navigateToApp(page, path) 76 | await expect(page.getByRole('heading', { name: '@knighted/develop' })).toBeVisible() > 77 | await expect | ^ 78 | .poll(async () => { 79 | const statusText = ( 80 | await page.getByRole('status', { name: 'App status' }).textContent() at waitForAppReady (/home/runner/work/develop/develop/playwright/helpers/app-test-helpers.ts:77:3) at waitForInitialRender (/home/runner/work/develop/develop/playwright/helpers/app-test-helpers.ts:140:3) at /home/runner/work/develop/develop/playwright/rendering-modes/core.spec.ts:669:3
[chromium] › playwright/github-pr-drawer/active-context-sync.spec.ts:98:1 › Dirty tabs expose Edited in accessible names during active PR context: playwright/helpers/app-test-helpers.ts#L413
2) [chromium] › playwright/github-pr-drawer/active-context-sync.spec.ts:98:1 › Dirty tabs expose Edited in accessible names during active PR context Error: expect(locator).toHaveAttribute(expected) failed Locator: locator('#workspaces-toggle') Expected: "false" Received: "true" Timeout: 90000ms Call log: - Expect "toHaveAttribute" with timeout 90000ms - waiting for locator('#workspaces-toggle') 93 × locator resolved to <button type="button" aria-expanded="true" id="workspaces-toggle" title="Manage local workspaces" aria-controls="workspaces-drawer" class="diagnostics-toggle workspaces-toggle">…</button> - unexpected value "true" at helpers/app-test-helpers.ts:413 411 | } 412 | > 413 | await expect(toggle).toHaveAttribute('aria-expanded', 'false') | ^ 414 | await expect(page.getByRole('complementary', { name: 'Workspaces' })).toBeHidden() 415 | } 416 | at ensureWorkspacesDrawerClosed (/home/runner/work/develop/develop/playwright/helpers/app-test-helpers.ts:413:24) at openStoredWorkspaceContextById (/home/runner/work/develop/develop/playwright/github-pr-drawer/github-pr-drawer.helpers.ts:267:3) at openMostRecentStoredWorkspaceContext (/home/runner/work/develop/develop/playwright/github-pr-drawer/github-pr-drawer.helpers.ts:328:3) at /home/runner/work/develop/develop/playwright/github-pr-drawer/active-context-sync.spec.ts:165:3
[chromium] › playwright/github-byot-ai.spec.ts:723:1 › BYOT remembers selected repository across reloads: playwright/github-byot-ai.spec.ts#L793
1) [chromium] › playwright/github-byot-ai.spec.ts:723:1 › BYOT remembers selected repository across reloads Error: expect(locator).toHaveText(expected) failed Locator: getByRole('status', { name: 'App status' }) Expected: "Loaded 2 writable repositories" Received: "Rendered" Timeout: 60000ms Call log: - Expect "toHaveText" with timeout 60000ms - waiting for getByRole('status', { name: 'App status' }) 3 × locator resolved to <div id="status" role="status" class="status" aria-label="App status">Idle</div> - unexpected value "Idle" - locator resolved to <div id="status" role="status" aria-label="App status" class="status status--pending">Loading writable repositories from GitHub...</div> - unexpected value "Loading writable repositories from GitHub..." - locator resolved to <div id="status" role="status" aria-label="App status" class="status status--pending">Loading CDN assets…</div> - unexpected value "Loading CDN assets…" 58 × locator resolved to <div id="status" role="status" aria-label="App status" class="status status--neutral">Rendered</div> - unexpected value "Rendered" 791 | await page.reload() 792 | await expect(page.getByRole('heading', { name: '@knighted/develop' })).toBeVisible() > 793 | await expect(page.getByRole('status', { name: 'App status' })).toHaveText( | ^ 794 | 'Loaded 2 writable repositories', 795 | { 796 | timeout: 60_000, at /home/runner/work/develop/develop/playwright/github-byot-ai.spec.ts:793:66
[webkit] › playwright/github-pr-drawer/active-context-switch.spec.ts:203:1 › Reopening a disconnected workspace from Workspaces restores active PR controls and editor state: playwright/github-pr-drawer/active-context-switch.spec.ts#L333
1) [webkit] › playwright/github-pr-drawer/active-context-switch.spec.ts:203:1 › Reopening a disconnected workspace from Workspaces restores active PR controls and editor state Error: expect(received).toBe(expected) // Object.is equality Expected: "disconnected" Received: "active" 331 | headBranch: activeHeadBranch, 332 | }) > 333 | expect(disconnectedRecord?.prContextState).toBe('disconnected') | ^ 334 | 335 | await openStoredWorkspaceContextById(page, inactiveWorkspaceId) 336 | at /home/runner/work/develop/develop/playwright/github-pr-drawer/active-context-switch.spec.ts:333:46
🎭 Playwright Run Summary
3 skipped 37 passed (4.4m)
🎭 Playwright Run Summary
1 flaky [webkit] › playwright/rendering-modes/core.spec.ts:308:1 › jsx syntax errors affect status but not diagnostics toggle severity 2 skipped 36 passed (5.3m)
🎭 Playwright Run Summary
1 flaky [webkit] › playwright/rendering-modes/core.spec.ts:666:1 › auto render shows App-only error for declarations plus top-level JSX expression 38 passed (5.9m)
🎭 Playwright Run Summary
2 flaky [chromium] › playwright/github-byot-ai.spec.ts:723:1 › BYOT remembers selected repository across reloads [chromium] › playwright/github-pr-drawer/active-context-sync.spec.ts:98:1 › Dirty tabs expose Edited in accessible names during active PR context 156 passed (6.5m)
🎭 Playwright Run Summary
1 flaky [webkit] › playwright/github-pr-drawer/active-context-switch.spec.ts:203:1 › Reopening a disconnected workspace from Workspaces restores active PR controls and editor state 39 passed (6.4m)