fix: prevent workspace overwrites. #108
Annotations
5 errors and 1 notice
|
E2E (Playwright, chromium, shard 1/2)
Process completed with exit code 1.
|
|
[chromium] › playwright/diagnostics.spec.ts:370:1 › styles lint reports CSS syntax errors:
playwright/diagnostics.spec.ts#L380
3) [chromium] › playwright/diagnostics.spec.ts:370:1 › styles lint reports CSS syntax errors ─────
Error: expect(locator).toBeVisible() failed
Locator: getByText('Biome reported issues.')
Expected: visible
Timeout: 90000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 90000ms
- waiting for getByText('Biome reported issues.')
378 | await expect(page.getByText(/Rendered \(Lint issues: [1-9]\d*\)/)).toBeVisible()
379 | await ensureDiagnosticsDrawerOpen(page)
> 380 | await expect(page.getByText('Biome reported issues.')).toBeVisible()
| ^
381 | })
382 |
383 | test('sass compiler warnings surface in styles diagnostics', async ({ page }) => {
at /home/runner/work/develop/develop/playwright/diagnostics.spec.ts:380:58
|
|
[chromium] › playwright/diagnostics.spec.ts:346:1 › styles diagnostics rows navigate editor to reported line:
playwright/diagnostics.spec.ts#L363
2) [chromium] › playwright/diagnostics.spec.ts:346:1 › styles diagnostics rows navigate editor to reported line
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: /^L3(:\d+)?\s/ }).first()
Expected: visible
Timeout: 90000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 90000ms
- waiting for getByRole('button', { name: /^L3(:\d+)?\s/ }).first()
361 |
362 | const targetDiagnostic = page.getByRole('button', { name: /^L3(:\d+)?\s/ }).first()
> 363 | await expect(targetDiagnostic).toBeVisible()
| ^
364 |
365 | await targetDiagnostic.click()
366 | await expect(targetDiagnostic).toHaveClass(/diagnostic-line-button--active/)
at /home/runner/work/develop/develop/playwright/diagnostics.spec.ts:363:34
|
|
[chromium] › playwright/github-pr-drawer/active-context-switch.spec.ts:371:1 › Switching active workspace to disconnected preserves switched-from record integrity:
playwright/github-pr-drawer/github-pr-drawer.helpers.ts#L888
1) [chromium] › playwright/github-pr-drawer/active-context-switch.spec.ts:371:1 › Switching active workspace to disconnected preserves switched-from record integrity
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 10
+ Received + 10
Object {
"active": Object {
- "base": "",
- "componentContent": "",
- "head": "",
- "prContextState": "inactive",
- "prNumber": null,
- "prTitle": "",
- "repo": "",
- },
- "target": Object {
"base": "main",
- "componentContent": "export const App = () => <main>Target disconnected content</main>",
+ "componentContent": "export const App = () => <main>Active A content</main>",
"head": "develop/issue-97-active-a",
"prContextState": "active",
"prNumber": 2,
"prTitle": "Active A workspace",
+ "repo": "knightedcodemonkey/develop",
+ },
+ "target": Object {
+ "base": "main",
+ "componentContent": "export const App = () => <main>Target disconnected content</main>",
+ "head": "develop/issue-97-target-disconnected",
+ "prContextState": "active",
+ "prNumber": 9,
+ "prTitle": "Target disconnected workspace",
"repo": "knightedcodemonkey/develop",
},
}
Call Log:
- Timeout 90000ms exceeded while waiting on the predicate
at github-pr-drawer/github-pr-drawer.helpers.ts:888
886 | ).toContainText(`Target ${targetState} content`)
887 |
> 888 | await expect
| ^
889 | .poll(async () => {
890 | const records = await getAllWorkspaceRecords(page)
891 | const activeRecord =
at runActiveWorkspaceSwitchIntegrityScenario (/home/runner/work/develop/develop/playwright/github-pr-drawer/github-pr-drawer.helpers.ts:888:3)
at /home/runner/work/develop/develop/playwright/github-pr-drawer/active-context-switch.spec.ts:374:3
|
|
[chromium] › playwright/github-pr-drawer/active-context-switch.spec.ts:371:1 › Switching active workspace to disconnected preserves switched-from record integrity:
playwright/github-pr-drawer/github-pr-drawer.helpers.ts#L888
1) [chromium] › playwright/github-pr-drawer/active-context-switch.spec.ts:371:1 › Switching active workspace to disconnected preserves switched-from record integrity
Error: expect(received).toEqual(expected) // deep equality
- Expected - 10
+ Received + 10
Object {
"active": Object {
- "base": "",
- "componentContent": "",
- "head": "",
- "prContextState": "inactive",
- "prNumber": null,
- "prTitle": "",
- "repo": "",
- },
- "target": Object {
"base": "main",
- "componentContent": "export const App = () => <main>Target disconnected content</main>",
+ "componentContent": "export const App = () => <main>Active A content</main>",
"head": "develop/issue-97-active-a",
"prContextState": "active",
"prNumber": 2,
"prTitle": "Active A workspace",
+ "repo": "knightedcodemonkey/develop",
+ },
+ "target": Object {
+ "base": "main",
+ "componentContent": "export const App = () => <main>Target disconnected content</main>",
+ "head": "develop/issue-97-target-disconnected",
+ "prContextState": "active",
+ "prNumber": 9,
+ "prTitle": "Target disconnected workspace",
"repo": "knightedcodemonkey/develop",
},
}
Call Log:
- Timeout 90000ms exceeded while waiting on the predicate
at github-pr-drawer/github-pr-drawer.helpers.ts:888
886 | ).toContainText(`Target ${targetState} content`)
887 |
> 888 | await expect
| ^
889 | .poll(async () => {
890 | const records = await getAllWorkspaceRecords(page)
891 | const activeRecord =
at runActiveWorkspaceSwitchIntegrityScenario (/home/runner/work/develop/develop/playwright/github-pr-drawer/github-pr-drawer.helpers.ts:888:3)
at /home/runner/work/develop/develop/playwright/github-pr-drawer/active-context-switch.spec.ts:374:3
|
|
🎭 Playwright Run Summary
1 failed
[chromium] › playwright/github-pr-drawer/active-context-switch.spec.ts:371:1 › Switching active workspace to disconnected preserves switched-from record integrity
2 flaky
[chromium] › playwright/diagnostics.spec.ts:346:1 › styles diagnostics rows navigate editor to reported line
[chromium] › playwright/diagnostics.spec.ts:370:1 › styles lint reports CSS syntax errors ──────
77 passed (10.9m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
test-results-chromium-1of2
Expired
|
13.4 MB |
sha256:ca8c70d33634615cfd724dbd42b85dcc98df0f1a5233d8628a1e99573309b031
|
|