Firefox and Webkit #171
Annotations
10 errors, 1 warning, and 1 notice
Run playwright test:
tests/embed-synced-doc.spec.ts#L210
1) embed-synced-doc.spec.ts:201:5 › Embed synced doc › synced doc should be readonly › synced doc should be readonly
Error: locator.click: Error: strict mode violation: locator('editor-toolbar').getByRole('button', { name: 'Open' }) resolved to 2 elements:
1) <editor-menu-action role="button" aria-label="Open this doc">…</editor-menu-action> aka getByLabel('Open this doc')
2) <editor-icon-button tabindex="0" role="button" aria-label="Open">…</editor-icon-button> aka getByLabel('Open', { exact: true })
Call log:
- waiting for locator('editor-toolbar').getByRole('button', { name: 'Open' })
208 | const toolbar = page.locator('editor-toolbar');
209 | const openMenu = toolbar.getByRole('button', { name: 'Open' });
> 210 | await openMenu.click();
| ^
211 |
212 | const button = toolbar.getByRole('button', { name: 'Open this doc' });
213 | await button.click();
at /Users/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:210:22
|
Run playwright test:
tests/embed-synced-doc.spec.ts#L210
1) embed-synced-doc.spec.ts:201:5 › Embed synced doc › synced doc should be readonly › synced doc should be readonly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: locator('editor-toolbar').getByRole('button', { name: 'Open' }) resolved to 2 elements:
1) <editor-menu-action role="button" aria-label="Open this doc">…</editor-menu-action> aka getByLabel('Open this doc')
2) <editor-icon-button tabindex="0" role="button" aria-label="Open">…</editor-icon-button> aka getByLabel('Open', { exact: true })
Call log:
- waiting for locator('editor-toolbar').getByRole('button', { name: 'Open' })
208 | const toolbar = page.locator('editor-toolbar');
209 | const openMenu = toolbar.getByRole('button', { name: 'Open' });
> 210 | await openMenu.click();
| ^
211 |
212 | const button = toolbar.getByRole('button', { name: 'Open this doc' });
213 | await button.click();
at /Users/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:210:22
|
Run playwright test:
tests/embed-synced-doc.spec.ts#L210
1) embed-synced-doc.spec.ts:201:5 › Embed synced doc › synced doc should be readonly › synced doc should be readonly
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: locator('editor-toolbar').getByRole('button', { name: 'Open' }) resolved to 2 elements:
1) <editor-menu-action role="button" aria-label="Open this doc">…</editor-menu-action> aka getByLabel('Open this doc')
2) <editor-icon-button tabindex="0" role="button" aria-label="Open">…</editor-icon-button> aka getByLabel('Open', { exact: true })
Call log:
- waiting for locator('editor-toolbar').getByRole('button', { name: 'Open' })
208 | const toolbar = page.locator('editor-toolbar');
209 | const openMenu = toolbar.getByRole('button', { name: 'Open' });
> 210 | await openMenu.click();
| ^
211 |
212 | const button = toolbar.getByRole('button', { name: 'Open this doc' });
213 | await button.click();
at /Users/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:210:22
|
Run playwright test:
tests/embed-synced-doc.spec.ts#L210
1) embed-synced-doc.spec.ts:201:5 › Embed synced doc › synced doc should be readonly › synced doc should be readonly
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: locator('editor-toolbar').getByRole('button', { name: 'Open' }) resolved to 2 elements:
1) <editor-menu-action role="button" aria-label="Open this doc">…</editor-menu-action> aka getByLabel('Open this doc')
2) <editor-icon-button tabindex="0" role="button" aria-label="Open">…</editor-icon-button> aka getByLabel('Open', { exact: true })
Call log:
- waiting for locator('editor-toolbar').getByRole('button', { name: 'Open' })
208 | const toolbar = page.locator('editor-toolbar');
209 | const openMenu = toolbar.getByRole('button', { name: 'Open' });
> 210 | await openMenu.click();
| ^
211 |
212 | const button = toolbar.getByRole('button', { name: 'Open this doc' });
213 | await button.click();
at /Users/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:210:22
|
Run playwright test:
tests/format-bar.spec.ts#L57
2) format-bar.spec.ts:51:1 › should format quick bar show when select text ───────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget')
55 | await dragBetweenIndices(page, [0, 0], [2, 3]);
56 | const { formatBar } = getFormatBar(page);
> 57 | await expect(formatBar).toBeVisible();
| ^
58 |
59 | const box = await formatBar.boundingBox();
60 | if (!box) {
at /Users/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:57:27
|
Run playwright test:
tests/format-bar.spec.ts#L57
2) format-bar.spec.ts:51:1 › should format quick bar show when select text ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget')
55 | await dragBetweenIndices(page, [0, 0], [2, 3]);
56 | const { formatBar } = getFormatBar(page);
> 57 | await expect(formatBar).toBeVisible();
| ^
58 |
59 | const box = await formatBar.boundingBox();
60 | if (!box) {
at /Users/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:57:27
|
Run playwright test:
tests/format-bar.spec.ts#L57
2) format-bar.spec.ts:51:1 › should format quick bar show when select text ───────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget')
55 | await dragBetweenIndices(page, [0, 0], [2, 3]);
56 | const { formatBar } = getFormatBar(page);
> 57 | await expect(formatBar).toBeVisible();
| ^
58 |
59 | const box = await formatBar.boundingBox();
60 | if (!box) {
at /Users/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:57:27
|
Run playwright test:
tests/format-bar.spec.ts#L57
2) format-bar.spec.ts:51:1 › should format quick bar show when select text ───────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget')
55 | await dragBetweenIndices(page, [0, 0], [2, 3]);
56 | const { formatBar } = getFormatBar(page);
> 57 | await expect(formatBar).toBeVisible();
| ^
58 |
59 | const box = await formatBar.boundingBox();
60 | if (!box) {
at /Users/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:57:27
|
Run playwright test:
tests/format-bar.spec.ts#L181
3) format-bar.spec.ts:175:1 › should format quick bar hide when type text ────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget')
179 | await dragBetweenIndices(page, [0, 0], [2, 3]);
180 | const { formatBar } = getFormatBar(page);
> 181 | await expect(formatBar).toBeVisible();
| ^
182 | await type(page, '1');
183 | await expect(formatBar).not.toBeVisible();
184 | });
at /Users/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:181:27
|
Run playwright test:
tests/format-bar.spec.ts#L181
3) format-bar.spec.ts:175:1 › should format quick bar hide when type text ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-format-bar-widget')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-format-bar-widget')
179 | await dragBetweenIndices(page, [0, 0], [2, 3]);
180 | const { formatBar } = getFormatBar(page);
> 181 | await expect(formatBar).toBeVisible();
| ^
182 | await type(page, '1');
183 | await expect(formatBar).not.toBeVisible();
184 | });
at /Users/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:181:27
|
Run playwright test:
tests/image/load.spec.ts#L1
tests/image/load.spec.ts took 24.0s
|
Run playwright test
45 failed
embed-synced-doc.spec.ts:201:5 › Embed synced doc › synced doc should be readonly › synced doc should be readonly
format-bar.spec.ts:51:1 › should format quick bar show when select text ────────────────────────
format-bar.spec.ts:175:1 › should format quick bar hide when type text ─────────────────────────
format-bar.spec.ts:186:1 › should format quick bar be able to format text ──────────────────────
format-bar.spec.ts:239:1 › should format quick bar be able to change background color ──────────
format-bar.spec.ts:284:1 › should format quick bar be able to format text when select multiple line
format-bar.spec.ts:309:1 › should format quick bar be able to link text ────────────────────────
format-bar.spec.ts:346:1 › should format quick bar be able to change to heading paragraph type ─
format-bar.spec.ts:416:1 › should format bar follow scroll ─────────────────────────────────────
format-bar.spec.ts:450:1 › should format quick bar position correct at the start of second line
format-bar.spec.ts:743:1 › should format quick bar show when double click button ───────────────
format-bar.spec.ts:972:3 › more menu button › should be able to perform the copy action ────────
fragments/frame-panel.spec.ts:48:3 › frame panel › should display empty placeholder when no frames
fragments/frame-panel.spec.ts:58:3 › frame panel › should display frame cards when there are frames
fragments/frame-panel.spec.ts:85:3 › frame panel › should render edgeless note correctly in frame preview
fragments/frame-panel.spec.ts:107:3 › frame panel › should update panel when frames change ─────
fragments/frame-panel.spec.ts:162:5 › frame panel › frame panel behavior after mode switch › should render edgeless note correctly after mode switch
fragments/frame-panel.spec.ts:196:5 › frame panel › frame panel behavior after mode switch › should update frame preview when note is moved
fragments/frame-panel.spec.ts:272:5 › frame panel › select and de-select frame › by click on frame card
fragments/frame-panel.spec.ts:283:5 › frame panel › select and de-select frame › by click on blank area
fragments/frame-panel.spec.ts:299:3 › frame panel › should fit the viewport to the frame when double click frame card
fragments/frame-panel.spec.ts:321:3 › frame panel › should reorder frames when drag and drop frame card
fragments/outline/outline-panel.spec.ts:101:3 › toc-panel › should display title and headings when there are non-empty headings in editor
fragments/outline/outline-panel.spec.ts:162:3 › toc-panel › should add padding to sub-headings ─
hotkey/hotkey.spec.ts:43:1 › rich-text hotkey scope on single press ────────────────────────────
hotkey/hotkey.spec.ts:57:1 › single line rich-text inline code hotkey ──────────────────────────
hotkey/hotkey.spec.ts:97:1 › single line rich-text strikethrough hotkey ────────────────────────
hotkey/hotkey.spec.ts:353:1 › should support ctrl/cmd+shift+l convert to linked doc ────────────
image/image.spec.ts:96:1 › can click and copy image ────────────────────────────────────────────
inline/inline-editor.spec.ts:17:1 › basic input ────────────────────────────────────────────────
inline/inline-editor.spec.ts:181:1 › chinese input ─────────────────────────────────────────────
inline/inline-editor.spec.ts:229:1 › readonly mode ─────────────────────────────────────────────
inline/inline-editor.spec.ts:265:1 › basic styles ──────────────────────────────────────────────
inline/inline-editor.spec.ts:523:1 › overlapping styles ────────────────────────────────────────
inline/inline-editor.spec.ts:701:1 › input continuous spaces ───────────────────────────────────
inline/inline-editor.spec.ts:731:1 › select from the start of line using shift+arrow ───────────
inline/inline-editor.spec.ts:786:1 › getLine ───────────────────────────────────────────────────
inline/inline-editor.spec.ts:854:1 › embed ─────────────────────────────────────────────────────
inline/inline-edit
|
Loading