fix(hub-ui): initialize dock page scripts before activation #1345
Annotations
2 errors and 1 notice
|
[chromium] › tests/e2e/a11y-messages-hub-static.spec.ts:63:3 › a11y-messages playground (static hub build) › messages panel renders the baked feed; its activate action switches docks over the BroadcastChannel:
tests/e2e/a11y-messages-hub-static.spec.ts#L68
1) [chromium] › tests/e2e/a11y-messages-hub-static.spec.ts:63:3 › a11y-messages playground (static hub build) › messages panel renders the baked feed; its activate action switches docks over the BroadcastChannel
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('iframe[title="Messages"]').contentFrame().getByText('Static hub build')
- locator resolved to <div class="flex-1 min-w-0 truncate text-sm font-medium">Static hub build</div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 100ms
56 × waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action
- waiting 500ms
66 |
67 | // The entry baked by the playground's `buildHub({ configure })`.
> 68 | await panel.getByText('Static hub build').click()
| ^
69 |
70 | // Its activate action rides the same-origin BroadcastChannel (no live
71 | // server on a static backend) and the host page switches the dock.
at /home/runner/work/devframe/devframe/tests/e2e/a11y-messages-hub-static.spec.ts:68:47
|
|
[chromium] › tests/e2e/a11y-messages-hub-static.spec.ts:63:3 › a11y-messages playground (static hub build) › messages panel renders the baked feed; its activate action switches docks over the BroadcastChannel:
tests/e2e/a11y-messages-hub-static.spec.ts#L0
1) [chromium] › tests/e2e/a11y-messages-hub-static.spec.ts:63:3 › a11y-messages playground (static hub build) › messages panel renders the baked feed; its activate action switches docks over the BroadcastChannel
Test timeout of 30000ms exceeded.
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › tests/e2e/a11y-messages-hub-static.spec.ts:63:3 › a11y-messages playground (static hub build) › messages panel renders the baked feed; its activate action switches docks over the BroadcastChannel
20 passed (44.7s)
|