fix: Suggestion menu overflow issue #6786
Annotations
5 errors and 4 notices
|
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar:
tests/src/end-to-end/ariakit/ariakit.test.ts#L41
1) [webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar
Error: expect(Buffer).toMatchSnapshot(expected)
1007 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-link-toolbar-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/ariakit-link-toolbar-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/ariakit-link-toolbar-diff.png
39 |
40 | await page.waitForTimeout(500);
> 41 | expect(await page.screenshot()).toMatchSnapshot("ariakit-link-toolbar.png");
| ^
42 | });
43 | test("Check slash menu", async ({ page }) => {
44 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:41:37
|
|
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:42:7 › Check SlashMenu Functionality › Should be able to create h3:
tests/src/utils/editor.ts#L11
3) [firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:42:7 › Check SlashMenu Functionality › Should be able to create h3
TimeoutError: locator.waitFor: Timeout 1000ms exceeded.
Call log:
- waiting for locator('.bn-editor').locator('[data-content-type=heading][data-level="3"]')
at ../utils/editor.ts:11
9 | export async function waitForSelectorInEditor(page: Page, selector: string) {
10 | const editor = page.locator(EDITOR_SELECTOR);
> 11 | await editor.locator(selector).waitFor({
| ^
12 | state: "attached",
13 | timeout: 1000,
14 | });
at waitForSelectorInEditor (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:11:34)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/slashmenu/slashmenu.test.ts:46:34
|
|
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:36:7 › Check SlashMenu Functionality › Should be able to create h2:
tests/src/utils/editor.ts#L11
2) [firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:36:7 › Check SlashMenu Functionality › Should be able to create h2
TimeoutError: locator.waitFor: Timeout 1000ms exceeded.
Call log:
- waiting for locator('.bn-editor').locator('[data-content-type=heading][data-level="2"]')
at ../utils/editor.ts:11
9 | export async function waitForSelectorInEditor(page: Page, selector: string) {
10 | const editor = page.locator(EDITOR_SELECTOR);
> 11 | await editor.locator(selector).waitFor({
| ^
12 | state: "attached",
13 | timeout: 1000,
14 | });
at waitForSelectorInEditor (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:11:34)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/slashmenu/slashmenu.test.ts:40:34
|
|
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block:
tests/src/end-to-end/draghandle/draghandle.test.ts#L156
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block
Error: page.waitForSelector: Target page, context or browser has been closed
Call log:
- waiting for locator('[data-content-type=heading][data-level="3"]') to be visible
154 | await page.waitForSelector(H_ONE_BLOCK_SELECTOR);
155 | await page.waitForSelector(H_TWO_BLOCK_SELECTOR, { state: "detached" });
> 156 | await page.waitForSelector(H_THREE_BLOCK_SELECTOR);
| ^
157 |
158 | await compareDocToSnapshot(page, "dragHandleDocStructure");
159 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:156:16
|
|
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block:
tests/src/end-to-end/draghandle/draghandle.test.ts#L0
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block
Test timeout of 30000ms exceeded.
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "470840ea65a4ff426df85c3d9688f93a696daecc",
"ref": "2363"
},
"key": "PAPU4syUIu",
"runId": 21074913891,
"webhookDebug": {
"action": "requested",
"head_branch": "suggestion-menu-overflow-fix",
"head_repository_full_name": "TypeCellOS/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": true,
"prNumber": 2363,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "TypeCellOS/BlockNote:suggestion-menu-overflow-fix",
"oldPrDataHash": "ylSY613TMp",
"lookupKey": "TypeCellOS/BlockNote:suggestion-menu-overflow-fix",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "470840ea65a4ff426df85c3d9688f93a696daecc",
"ref": "2363"
}
}
}
|
|
🎭 Playwright Run Summary
1 skipped
99 passed (2.4m)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ─
9 skipped
90 passed (3.3m)
|
|
🎭 Playwright Run Summary
3 flaky
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:36:7 › Check SlashMenu Functionality › Should be able to create h2
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:42:7 › Check SlashMenu Functionality › Should be able to create h3
11 skipped
86 passed (3.5m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report-chromium
Expired
|
266 KB |
sha256:e96d22e8d84c082e5a4c9a3c488eb600bf0daf5f274f34b1c34937826e09fb61
|
|
|
playwright-report-firefox
Expired
|
1.27 MB |
sha256:2443b6d0f6bbd388ecceae1692d304003c0418c23ef26e447a5dda712fa54092
|
|
|
playwright-report-webkit
Expired
|
834 KB |
sha256:6c6063c960a4329f14a4531e30a3036e4de07ae1f85d0d340feff22e7e5b33a0
|
|
|
relative-ci-artifacts-editor
Expired
|
46.3 KB |
sha256:47d3567a18837ae26919a3a4c378b90f12dad7f2cb7165ab4e94aa7af955feb2
|
|