Skip to content

feat: remove allow-same-origin for better security. #67

feat: remove allow-same-origin for better security.

feat: remove allow-same-origin for better security. #67

Triggered via pull request April 11, 2026 20:11
Status Failure
Total duration 8m 6s
Artifacts 1

playwright.yml

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

Annotations

7 errors and 4 notices
E2E (Playwright, chromium)
Process completed with exit code 1.
[chromium] › playwright/rendering-modes.spec.ts:506:1 › auto render implicitly wraps source with App in dom and react modes: playwright/rendering-modes.spec.ts#L530
1) [chromium] › playwright/rendering-modes.spec.ts:506:1 › auto render implicitly wraps source with App in dom and react modes Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) failed Locator: locator('#preview-host iframe').contentFrame().getByRole('button') Expected substring: "implicit app react" Timeout: 90000ms Error: element(s) not found Call log: - Expect "toContainText" with timeout 90000ms - waiting for locator('#preview-host iframe').contentFrame().getByRole('button') 4 × locator resolved to <button type="button">implicit app dom</button> - unexpected value "implicit app dom" 528 | 529 | await expect(page.getByRole('status', { name: 'App status' })).toHaveText('Rendered') > 530 | await expect(getPreviewFrame(page).getByRole('button')).toContainText( | ^ 531 | 'implicit app react', 532 | ) 533 | }) at /home/runner/work/develop/develop/playwright/rendering-modes.spec.ts:530:59
[chromium] › playwright/rendering-modes.spec.ts:506:1 › auto render implicitly wraps source with App in dom and react modes: playwright/rendering-modes.spec.ts#L530
1) [chromium] › playwright/rendering-modes.spec.ts:506:1 › auto render implicitly wraps source with App in dom and react modes Error: expect(locator).toContainText(expected) failed Locator: locator('#preview-host iframe').contentFrame().getByRole('button') Expected substring: "implicit app react" Timeout: 90000ms Error: element(s) not found Call log: - Expect "toContainText" with timeout 90000ms - waiting for locator('#preview-host iframe').contentFrame().getByRole('button') 4 × locator resolved to <button type="button">implicit app dom</button> - unexpected value "implicit app dom" 528 | 529 | await expect(page.getByRole('status', { name: 'App status' })).toHaveText('Rendered') > 530 | await expect(getPreviewFrame(page).getByRole('button')).toContainText( | ^ 531 | 'implicit app react', 532 | ) 533 | }) at /home/runner/work/develop/develop/playwright/rendering-modes.spec.ts:530:59
[webkit] › playwright/rendering-modes.spec.ts:482:1 › shows App-only error when auto render is disabled and App is missing: playwright/helpers/app-test-helpers.ts#L43
3) [webkit] › playwright/rendering-modes.spec.ts:482:1 › shows App-only error when auto render is disabled and App is missing Error: page.goto: Test timeout of 120000ms exceeded. Call log: - navigating to "http://127.0.0.1:8081/index.html", waiting until "load" at helpers/app-test-helpers.ts:43 41 | 42 | export const waitForAppReady = async (page: Page, path = appEntryPath) => { > 43 | await page.goto(path) | ^ 44 | await expect(page.getByRole('heading', { name: '@knighted/develop' })).toBeVisible() 45 | await expect 46 | .poll(async () => { at waitForAppReady (/home/runner/work/develop/develop/playwright/helpers/app-test-helpers.ts:43:14) at waitForInitialRender (/home/runner/work/develop/develop/playwright/helpers/app-test-helpers.ts:108:9) at /home/runner/work/develop/develop/playwright/rendering-modes.spec.ts:485:9
[webkit] › playwright/rendering-modes.spec.ts:482:1 › shows App-only error when auto render is disabled and App is missing: playwright/rendering-modes.spec.ts#L0
3) [webkit] › playwright/rendering-modes.spec.ts:482:1 › shows App-only error when auto render is disabled and App is missing Test timeout of 120000ms exceeded.
[webkit] › playwright/rendering-modes.spec.ts:250:1 › jsx syntax errors affect status but not diagnostics toggle severity: playwright/helpers/app-test-helpers.ts#L43
2) [webkit] › playwright/rendering-modes.spec.ts:250:1 › jsx syntax errors affect status but not diagnostics toggle severity Error: page.goto: WebKit encountered an internal error Call log: - navigating to "http://127.0.0.1:8081/index.html", waiting until "load" at helpers/app-test-helpers.ts:43 41 | 42 | export const waitForAppReady = async (page: Page, path = appEntryPath) => { > 43 | await page.goto(path) | ^ 44 | await expect(page.getByRole('heading', { name: '@knighted/develop' })).toBeVisible() 45 | await expect 46 | .poll(async () => { at waitForAppReady (/home/runner/work/develop/develop/playwright/helpers/app-test-helpers.ts:43:14) at waitForInitialRender (/home/runner/work/develop/develop/playwright/helpers/app-test-helpers.ts:108:9) at /home/runner/work/develop/develop/playwright/rendering-modes.spec.ts:253:9
[webkit] › playwright/rendering-modes.spec.ts:151:1 › dom mode typecheck does not hydrate react type graph: playwright/helpers/app-test-helpers.ts#L43
1) [webkit] › playwright/rendering-modes.spec.ts:151:1 › dom mode typecheck does not hydrate react type graph Error: page.goto: WebKit encountered an internal error Call log: - navigating to "http://127.0.0.1:8081/index.html", waiting until "load" at helpers/app-test-helpers.ts:43 41 | 42 | export const waitForAppReady = async (page: Page, path = appEntryPath) => { > 43 | await page.goto(path) | ^ 44 | await expect(page.getByRole('heading', { name: '@knighted/develop' })).toBeVisible() 45 | await expect 46 | .poll(async () => { at waitForAppReady (/home/runner/work/develop/develop/playwright/helpers/app-test-helpers.ts:43:14) at waitForInitialRender (/home/runner/work/develop/develop/playwright/helpers/app-test-helpers.ts:108:9) at /home/runner/work/develop/develop/playwright/rendering-modes.spec.ts:152:9
🎭 Playwright Run Summary
9 passed (48.5s)
🎭 Playwright Run Summary
1 failed [chromium] › playwright/rendering-modes.spec.ts:506:1 › auto render implicitly wraps source with App in dom and react modes 100 passed (6.5m)
🎭 Playwright Run Summary
46 passed (4.6m)
🎭 Playwright Run Summary
3 flaky [webkit] › playwright/rendering-modes.spec.ts:151:1 › dom mode typecheck does not hydrate react type graph [webkit] › playwright/rendering-modes.spec.ts:250:1 › jsx syntax errors affect status but not diagnostics toggle severity [webkit] › playwright/rendering-modes.spec.ts:482:1 › shows App-only error when auto render is disabled and App is missing 43 passed (7.0m)

Artifacts

Produced during runtime
Name Size Digest
test-results-chromium-1of1
7.25 MB
sha256:0709b5b18e65e0b5dddebe189f79c0b834aa32f634801b4fd77f6706bdcfc2c0