chore: bump up all non-major dependencies (#8337) #5964
test.yml
on: push
Install Dependencies
52s
Build & Test
0s
Annotations
9 errors, 20 warnings, and 20 notices
hotkey/hotkey.spec.ts:258:1 › should cut work single line:
tests/hotkey/hotkey.spec.ts#L267
1) hotkey/hotkey.spec.ts:258:1 › should cut work single line ─────────────────────────────────────
Error: Snapshot comparison failed:
{
"type": "block",
"id": "0",
"flavour": "affine:page",
"version": 2,
"props": {
"title": {
"$blocksuite:internal:text$": true,
"delta": []
}
},
"children": [
{
"type": "block",
"id": "1",
"flavour": "affine:note",
"version": 1,
"props": {
"xywh": "[0,0,800,95]",
"background": "--affine-note-background-white",
"index": "a0",
"hidden": false,
"displayMode": "both",
"edgeless": {
"style": {
"borderRadius": 8,
"borderSize": 4,
"borderStyle": "none",
"shadowType": "--affine-note-shadow-box"
}
}
},
"children": [
{
"type": "block",
"id": "2",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "hello"
}
]
}
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/hotkey/hotkey.spec.ts/should-cut-work-single-line-init.json
Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/hotkey-hotkey-should-cut-work-single-line/should-cut-work-single-line-init-actual.json
265 | // cut
266 | await page.keyboard.press(`${SHORT_KEY}+x`);
> 267 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
| ^
268 | `${testInfo.title}_init.json`
269 | );
270 | await undoByKeyboard(page);
at /home/runner/work/blocksuite/blocksuite/tests/hotkey/hotkey.spec.ts:267:45
|
edgeless/clipboard.spec.ts:82:3 › frame clipboard › copy and paste frame with shape elements inside:
tests/edgeless/clipboard.spec.ts#L100
1) edgeless/clipboard.spec.ts:82:3 › frame clipboard › copy and paste frame with shape elements inside
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 4
98 | await waitNextFrame(page, 500);
99 | const sortedIds = await getAllSortedIds(page);
> 100 | expect(sortedIds.length).toBe(6);
| ^
101 | });
102 |
103 | test('copy and paste frame with group elements inside', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:100:30
|
slash-menu.spec.ts:373:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow:
tests/slash-menu.spec.ts#L396
1) slash-menu.spec.ts:373:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4)
Expected string: "true"
Received string: "false"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4)
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button>
- unexpected value "false"
- locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button>
- unexpected value "false"
394 | await type(page, '/');
395 | await pressArrowDown(page, 4);
> 396 | await expect(slashItems.nth(4)).toHaveAttribute('hover', 'true');
| ^
397 | await expect(slashItems.nth(4).locator('.text')).toHaveText([
398 | 'Other Headings',
399 | ]);
at /home/runner/work/blocksuite/blocksuite/tests/slash-menu.spec.ts:396:37
|
format-bar.spec.ts:237:1 › should format quick bar be able to change background color:
tests/format-bar.spec.ts#L275
1) format-bar.spec.ts:237:1 › should format quick bar be able to change background color ─────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('.affine-format-bar-widget').getByTestId('unset')
- locator resolved to <editor-menu-action role="button" data-testid="unset">…</editor-menu-action>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="affine-page-root-block-container">…</div> intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #13
- waiting 500ms
273 |
274 | await expect(highlight.defaultColorBtn).toBeVisible();
> 275 | await highlight.defaultColorBtn.click();
| ^
276 |
277 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
278 | `${testInfo.title}_default_color.json`
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:275:35
|
edgeless/connector/label.spec.ts:306:3 › connector label with straight shape › should exit the label editing state when pressing `Mod-Enter` or `Escape`:
tests/utils/asserts.ts#L226
1) edgeless/connector/label.spec.ts:306:3 › connector label with straight shape › should exit the label editing state when pressing `Mod-Enter` or `Escape`
Error: expect(received).toEqual(expected) // deep equality
Expected: "b"
Received: "a"
at utils/asserts.ts:226
224 | return inlineEditor?.yText.toString();
225 | });
> 226 | expect(actualTexts).toEqual(text);
| ^
227 | }
228 |
229 | export async function assertRichImage(page: Page, count: number) {
at assertEdgelessCanvasText (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:226:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/connector/label.spec.ts:323:5
|
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block:
tests/edgeless/paste-block.spec.ts#L63
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ─────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').nth(1).locator('.resizable-img')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').nth(1).locator('.resizable-img')
61 | const blocks = newNote.locator('[data-block-id]');
62 | await expect(blocks.nth(0)).toContainText('hello');
> 63 | await expect(blocks.nth(1).locator('.resizable-img')).toBeVisible();
| ^
64 | await expect(blocks.nth(2)).toContainText('world');
65 | await expect(blocks.nth(3)).toContainText('code');
66 | });
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/paste-block.spec.ts:63:59
|
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing:
tests/utils/actions/edgeless.ts#L357
1) edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ─────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('edgeless-tool-icon-button').filter({ hasText: 'Square' })
- locator resolved to <edgeless-tool-icon-button role="button">…</edgeless-tool-icon-button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
at utils/actions/edgeless.ts:357
355 | .locator('edgeless-tool-icon-button')
356 | .filter({ hasText: shape });
> 357 | await squareShapeButton.click();
| ^
358 | break;
359 | }
360 | }
at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:357:31)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:137:3
|
edgeless/selection/selection.spec.ts:198:1 › should auto panning when selection rectangle reaches viewport edges:
tests/edgeless/selection/selection.spec.ts#L361
1) edgeless/selection/selection.spec.ts:198:1 › should auto panning when selection rectangle reaches viewport edges
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-edgeless-selected-rect')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-edgeless-selected-rect')
359 | selectedRect = page.locator(selectedRectClass);
360 | await page.waitForTimeout(300);
> 361 | await expect(selectedRect).toBeVisible();
| ^
362 | });
363 |
364 | test('should also update dragging area when viewport changes', async ({
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/selection.spec.ts:361:30
|
edgeless/selection/selection.spec.ts:198:1 › should auto panning when selection rectangle reaches viewport edges:
tests/edgeless/selection/selection.spec.ts#L361
1) edgeless/selection/selection.spec.ts:198:1 › should auto panning when selection rectangle reaches viewport edges
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-edgeless-selected-rect')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-edgeless-selected-rect')
359 | selectedRect = page.locator(selectedRectClass);
360 | await page.waitForTimeout(300);
> 361 | await expect(selectedRect).toBeVisible();
| ^
362 | });
363 |
364 | test('should also update dragging area when viewport changes', async ({
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection/selection.spec.ts:361:30
|
E2E Test (4)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (14)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (5)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (15)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (6)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (9)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (17)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (16)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (19)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (1)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (20)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (3)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (2)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (18)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (13)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (7)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (10)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (12)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (8)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
E2E Test (11)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
🎭 Playwright Run Summary
45 passed (54.2s)
|
🎭 Playwright Run Summary
1 flaky
hotkey/hotkey.spec.ts:258:1 › should cut work single line ──────────────────────────────────────
43 passed (51.2s)
|
🎭 Playwright Run Summary
45 passed (1.1m)
|
🎭 Playwright Run Summary
2 skipped
42 passed (49.4s)
|
🎭 Playwright Run Summary
1 flaky
edgeless/clipboard.spec.ts:82:3 › frame clipboard › copy and paste frame with shape elements inside
44 passed (1.4m)
|
🎭 Playwright Run Summary
10 skipped
35 passed (1.1m)
|
🎭 Playwright Run Summary
44 passed (44.8s)
|
🎭 Playwright Run Summary
44 passed (48.6s)
|
🎭 Playwright Run Summary
44 passed (51.1s)
|
🎭 Playwright Run Summary
45 passed (52.7s)
|
🎭 Playwright Run Summary
1 flaky
slash-menu.spec.ts:373:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
3 skipped
40 passed (42.9s)
|
🎭 Playwright Run Summary
4 skipped
41 passed (42.8s)
|
🎭 Playwright Run Summary
1 skipped
44 passed (38.6s)
|
🎭 Playwright Run Summary
44 passed (53.5s)
|
🎭 Playwright Run Summary
1 flaky
format-bar.spec.ts:237:1 › should format quick bar be able to change background color ──────────
43 passed (1.1m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/connector/label.spec.ts:306:3 › connector label with straight shape › should exit the label editing state when pressing `Mod-Enter` or `Escape`
1 skipped
43 passed (1.5m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ──────────────────────
44 passed (1.3m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ──────────────────────────
2 skipped
42 passed (1.1m)
|
🎭 Playwright Run Summary
45 passed (1.6m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/selection/selection.spec.ts:198:1 › should auto panning when selection rectangle reaches viewport edges
1 skipped
43 passed (2.0m)
|