refactor: update group test utils using container interface #6610
Triggered via pull request
October 14, 2024 12:14
Status
Cancelled
Total duration
3m 35s
Artifacts
–
test.yml
on: pull_request
Install Dependencies
1m 4s
Build & Test
0s
Annotations
39 errors, 8 warnings, and 15 notices
attachment.spec.ts:636:1 › cancel file picker with input element resolves:
tests/attachment.spec.ts#L656
1) attachment.spec.ts:636:1 › cancel file picker with input element resolves ─────────────────────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
654 | await expect(slashMenu).toBeVisible();
655 |
> 656 | const fileChooser = page.waitForEvent('filechooser');
| ^
657 | await pressEnter(page);
658 | const inputFile = page.locator("input[type='file']");
659 | await expect(inputFile).toHaveCount(1);
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:656:28
|
E2E Test (16)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (14)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (14)
The operation was canceled.
|
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
|
hotkey/multiline.spec.ts:100:1 › should cut work multiple line:
tests/hotkey/multiline.spec.ts#L110
2) hotkey/multiline.spec.ts:100:1 › should cut work multiple 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": "123"
}
]
}
},
"children": []
},
{
"type": "block",
"id": "3",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "456"
}
]
}
},
"children": []
},
{
"type": "block",
"id": "4",
"flavour": "affine:paragraph",
"version": 1,
"props": {
"type": "text",
"text": {
"$blocksuite:internal:text$": true,
"delta": [
{
"insert": "789"
}
]
}
},
"children": []
}
]
}
]
}
Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/hotkey/multiline.spec.ts/should-cut-work-multiple-line-init.json
Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/hotkey-multiline-should-cut-work-multiple-line/should-cut-work-multiple-line-init-actual.json
108 | // cut
109 | await page.keyboard.press(`${SHORT_KEY}+x`);
> 110 | expect(await getPageSnapshot(page, true)).toMatchSnapshot(
| ^
111 | `${testInfo.title}_init.json`
112 | );
113 | await undoByKeyboard(page);
at /home/runner/work/blocksuite/blocksuite/tests/hotkey/multiline.spec.ts:110:45
|
E2E Test (9)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (9)
The operation was canceled.
|
E2E Test (5)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (5)
The operation was canceled.
|
Unit Test (3)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (4)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (4)
The operation was canceled.
|
E2E Test (18)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (18)
The operation was canceled.
|
selection/native.spec.ts:289:1 › cursor move to up and down with children block:
tests/selection/native.spec.ts#L318
1) selection/native.spec.ts:289:1 › cursor move to up and down with children block ───────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 12
Received: -1
316 | const textTwo = await getInlineSelectionText(page);
317 | expect(textTwo).toBe('arrow down test 1');
> 318 | expect(indexTwo).toBeGreaterThanOrEqual(12);
| ^
319 | expect(indexTwo).toBeLessThanOrEqual(17);
320 | await page.keyboard.press('ArrowDown');
321 | const textThree = await getInlineSelectionText(page);
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:318:20
|
Unit Test (2)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
Unit Test (2)
The operation was canceled.
|
Unit Test (1)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (13)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
Unit Test (1)
The operation was canceled.
|
E2E Test (13)
The operation was canceled.
|
E2E Test (10)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (10)
The operation was canceled.
|
Lint
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
Lint
The operation was canceled.
|
E2E Test (7)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (7)
The operation was canceled.
|
E2E Test (6)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (6)
The operation was canceled.
|
E2E Test (11)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (11)
The operation was canceled.
|
E2E Test (8)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (8)
The operation was canceled.
|
Unit Test (4)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
Unit Test (4)
The operation was canceled.
|
E2E Test (12)
Canceling since a higher priority waiting request for 'Test-refs/pull/8518/merge' exists
|
E2E Test (12)
The operation was canceled.
|
Build & Test
Process completed 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 (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 (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 (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 (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 (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 (16)
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
1 skipped
45 passed (42.5s)
|
🎭 Playwright Run Summary
3 skipped
42 passed (40.7s)
|
🎭 Playwright Run Summary
2 skipped
43 passed (49.7s)
|
🎭 Playwright Run Summary
45 passed (48.0s)
|
🎭 Playwright Run Summary
4 skipped
42 passed (45.2s)
|
🎭 Playwright Run Summary
45 passed (51.4s)
|
🎭 Playwright Run Summary
1 flaky
attachment.spec.ts:636:1 › cancel file picker with input element resolves ──────────────────────
45 passed (54.3s)
|
🎭 Playwright Run Summary
45 passed (53.2s)
|
🎭 Playwright Run Summary
2 flaky
hotkey/hotkey.spec.ts:258:1 › should cut work single line ──────────────────────────────────────
hotkey/multiline.spec.ts:100:1 › should cut work multiple line ─────────────────────────────────
44 passed (1.0m)
|
🎭 Playwright Run Summary
10 skipped
36 passed (1.1m)
|
🎭 Playwright Run Summary
46 passed (1.1m)
|
🎭 Playwright Run Summary
46 passed (55.1s)
|
🎭 Playwright Run Summary
1 flaky
selection/native.spec.ts:289:1 › cursor move to up and down with children block ────────────────
44 passed (55.3s)
|
🎭 Playwright Run Summary
46 passed (1.2m)
|
🎭 Playwright Run Summary
46 passed (1.3m)
|