Skip to content

refactor(editor): edgeless shape toolbar config extension #29467

refactor(editor): edgeless shape toolbar config extension

refactor(editor): edgeless shape toolbar config extension #29467

Triggered via pull request March 13, 2025 11:03
Status Failure
Total duration 17m 20s
Artifacts 27

build-test.yml

on: pull_request
Optimize CI
6s
Optimize CI
Matrix: build-native
Build Server native
1m 42s
Build Server native
Build @affine/electron renderer
2m 22s
Build @affine/electron renderer
test-build-mobile-app  /  output-env
2s
test-build-mobile-app / output-env
Matrix: Analyze
Matrix: Legacy Blocksuite E2E Test
Matrix: E2E Mobile Test
Matrix: E2E Test
Matrix: Unit Test
Native Unit Test
30s
Native Unit Test
Matrix: Frontend Copilot E2E Test
Matrix: server-e2e-test
Matrix: Server Test
Server Copilot Api Test
28s
Server Copilot Api Test
Matrix: desktop-test
test-build-mobile-app  /  build-android-web
2m 22s
test-build-mobile-app / build-android-web
test-build-mobile-app  /  build-ios-web
2m 34s
test-build-mobile-app / build-ios-web
test-build-mobile-app  /  android
4m 0s
test-build-mobile-app / android
test-build-mobile-app  /  ios
13m 37s
test-build-mobile-app / ios
3, 2, 1 Launch
0s
3, 2, 1 Launch
Fit to window
Zoom out
Zoom in

Annotations

108 errors, 5 warnings, and 24 notices
[Mobile Safari] › e2e/detail.spec.ts:20:1 › can open page view more menu: tests/affine-mobile/e2e/detail.spec.ts#L12
1) [Mobile Safari] › e2e/detail.spec.ts:20:1 › can open page view more menu ────────────────────── Test timeout of 60000ms exceeded while running "beforeEach" hook. 10 | }; 11 | > 12 | test.beforeEach(async ({ page }) => { | ^ 13 | const docsTab = page.locator('#app-tabs').getByRole('tab', { name: 'all' }); 14 | await expect(docsTab).toBeVisible(); 15 | await docsTab.click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:12:6
[Mobile Safari] › e2e/detail.spec.ts:20:1 › can open page view more menu: tests/affine-mobile/e2e/detail.spec.ts#L17
1) [Mobile Safari] › e2e/detail.spec.ts:20:1 › can open page view more menu ────────────────────── Error: expect(locator).toBeVisible() Locator: locator('.affine-edgeless-viewport') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 15000ms - waiting for locator('.affine-edgeless-viewport') 15 | await docsTab.click(); 16 | await page.getByTestId('doc-card').first().click(); > 17 | await expect(page.locator('.affine-edgeless-viewport')).toBeVisible(); | ^ 18 | }); 19 | 20 | test('can open page view more menu', async ({ page }) => { at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/detail.spec.ts:17:59
e2e/database/database.spec.ts:520:3 › readonly mode › should rich-text not be edited in readonly mode: blocksuite/tests-legacy/e2e/database/actions.ts#L186
1) e2e/database/database.spec.ts:520:3 › readonly mode › should rich-text not be edited in readonly mode Error: expect(received).toEqual(expected) // deep equality Expected: "123" Received: "" at database/actions.ts:186 184 | return (ele as RichTextCell).inlineEditor$.value?.yTextString; 185 | }); > 186 | expect(actualTexts).toEqual(text); | ^ 187 | } 188 | 189 | export async function assertDatabaseCellNumber( at assertDatabaseCellRichTexts (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/database/actions.ts:186:23) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/database/database.spec.ts:539:5
e2e/database/database.spec.ts:520:3 › readonly mode › should rich-text not be edited in readonly mode: blocksuite/tests-legacy/e2e/database/actions.ts#L186
1) e2e/database/database.spec.ts:520:3 › readonly mode › should rich-text not be edited in readonly mode Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "123" Received: "" at database/actions.ts:186 184 | return (ele as RichTextCell).inlineEditor$.value?.yTextString; 185 | }); > 186 | expect(actualTexts).toEqual(text); | ^ 187 | } 188 | 189 | export async function assertDatabaseCellNumber( at assertDatabaseCellRichTexts (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/database/actions.ts:186:23) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/database/database.spec.ts:539:5
e2e/database/database.spec.ts:520:3 › readonly mode › should rich-text not be edited in readonly mode: blocksuite/tests-legacy/e2e/database/actions.ts#L186
1) e2e/database/database.spec.ts:520:3 › readonly mode › should rich-text not be edited in readonly mode Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "123" Received: "" at database/actions.ts:186 184 | return (ele as RichTextCell).inlineEditor$.value?.yTextString; 185 | }); > 186 | expect(actualTexts).toEqual(text); | ^ 187 | } 188 | 189 | export async function assertDatabaseCellNumber( at assertDatabaseCellRichTexts (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/database/actions.ts:186:23) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/database/database.spec.ts:539:5
[Mobile Safari] › e2e/explorer-tag.spec.ts:55:1 › create a tag from explorer: tests/affine-mobile/e2e/explorer-tag.spec.ts#L1
1) [Mobile Safari] › e2e/explorer-tag.spec.ts:55:1 › create a tag from explorer ────────────────── Test timeout of 60000ms exceeded.
[Mobile Safari] › e2e/explorer-tag.spec.ts:55:1 › create a tag from explorer: tests/affine-mobile/e2e/utils.ts#L6
1) [Mobile Safari] › e2e/explorer-tag.spec.ts:55:1 › create a tag from explorer ────────────────── Error: locator.getAttribute: Test timeout of 60000ms exceeded. Call log: - waiting for locator('[data-collapsible]:has-text("tags")') at utils.ts:6 4 | export async function expandCollapsibleSection(page: Page, name: string) { 5 | const divider = page.locator(`[data-collapsible]:has-text("${name}")`); > 6 | if ((await divider.getAttribute('data-collapsed')) === 'true') { | ^ 7 | await divider.click(); 8 | } 9 | await expect(divider).toHaveAttribute('data-collapsed', 'false'); at expandCollapsibleSection (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/utils.ts:6:22) at createRootTag (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-tag.spec.ts:35:25) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-tag.spec.ts:56:9
Lint
Process completed with exit code 1.
e2e/selection/native.spec.ts:265:1 › cursor move to up and down with children block: blocksuite/tests-legacy/e2e/selection/native.spec.ts#L294
1) e2e/selection/native.spec.ts:265:1 › cursor move to up and down with children block ─────────── Error: expect(received).toBeGreaterThanOrEqual(expected) Expected: >= 12 Received: -1 292 | const textTwo = await getInlineSelectionText(page); 293 | expect(textTwo).toBe('arrow down test 1'); > 294 | expect(indexTwo).toBeGreaterThanOrEqual(12); | ^ 295 | expect(indexTwo).toBeLessThanOrEqual(17); 296 | await page.keyboard.press('ArrowDown'); 297 | const textThree = await getInlineSelectionText(page); at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/selection/native.spec.ts:294:20
e2e/clipboard/list.spec.ts:454:1 › copy canvas element and text note in edgeless mode: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/clipboard/list.spec.ts:454:1 › copy canvas element and text note in edgeless mode ───────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {index: a2}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/clipboard/list.spec.ts:454:1 › copy canvas element and text note in edgeless mode: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/clipboard/list.spec.ts:454:1 › copy canvas element and text note in edgeless mode ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {index: a2}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/clipboard/list.spec.ts:454:1 › copy canvas element and text note in edgeless mode: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/clipboard/list.spec.ts:454:1 › copy canvas element and text note in edgeless mode ───────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {index: a2}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/clipboard/list.spec.ts:454:1 › copy canvas element and text note in edgeless mode: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/clipboard/list.spec.ts:454:1 › copy canvas element and text note in edgeless mode ───────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {index: a2}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/clipboard/list.spec.ts:492:1 › paste note block with background: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
2) e2e/clipboard/list.spec.ts:492:1 › paste note block with background ─────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 2 {background: Object}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/clipboard/list.spec.ts:492:1 › paste note block with background: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
2) e2e/clipboard/list.spec.ts:492:1 › paste note block with background ─────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {index: a1}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/clipboard/list.spec.ts:492:1 › paste note block with background: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
2) e2e/clipboard/list.spec.ts:492:1 › paste note block with background ─────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 2 {background: Object}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/clipboard/list.spec.ts:492:1 › paste note block with background: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
2) e2e/clipboard/list.spec.ts:492:1 › paste note block with background ─────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {index: a1}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/clipboard/list.spec.ts:492:1 › paste note block with background: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
2) e2e/clipboard/list.spec.ts:492:1 › paste note block with background ─────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 2 {background: Object}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/clipboard/list.spec.ts:492:1 › paste note block with background: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
2) e2e/clipboard/list.spec.ts:492:1 › paste note block with background ─────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {index: a1}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover: blocksuite/tests-legacy/http:/localhost:4173/assets/main-B5Jf2A5F.js#L19146
1) e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover Error: Uncaught exception: "TypeError: this.color.startsWith is not a function" TypeError: this.color.startsWith is not a function at get isCSSVariable (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:8302) at get colorWithoutAlpha (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:7841) at http://localhost:4173/assets/main-B5Jf2A5F.js:19156:33 at S_ (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:71:32) at Ga.render (http://localhost:4173/assets/main-B5Jf2A5F.js:19154:15) at Ga.update (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:39:241) at Ga.performUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4919) at Ga.scheduleUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4457) at Ga._$ET (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4365) at get isCSSVariable (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:8302) at get colorWithoutAlpha (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:7841) at http://localhost:4173/assets/main-B5Jf2A5F.js:19156:33 at S_ (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:71:32) at Ga.render (http://localhost:4173/assets/main-B5Jf2A5F.js:19154:15) at Ga.update (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:39:241) at Ga.performUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4919) at Ga.scheduleUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4457) at Ga._$ET (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4365) at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:166:11)
e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover: blocksuite/tests-legacy/e2e/utils/actions/keyboard.ts#L121
1) e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover Error: keyboard.press: Test ended. at utils/actions/keyboard.ts:121 119 | 120 | export async function selectAllByKeyboard(page: Page) { > 121 | await page.keyboard.press(`${SHORT_KEY}+a`, { | ^ 122 | delay: 20, 123 | }); 124 | } at selectAllByKeyboard (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/keyboard.ts:121:23) at deleteAll (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/edgeless.ts:1008:9) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/lock.spec.ts:353:7
e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover: blocksuite/tests-legacy/e2e/edgeless/lock.spec.ts#L1
1) e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover Error: ENOENT: no such file or directory, open 'http://localhost:4173/assets/main-B5Jf2A5F.js'
e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover: blocksuite/tests-legacy/http:/localhost:4173/assets/main-B5Jf2A5F.js#L19146
1) e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Uncaught exception: "TypeError: this.color.startsWith is not a function" TypeError: this.color.startsWith is not a function at get isCSSVariable (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:8302) at get colorWithoutAlpha (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:7841) at http://localhost:4173/assets/main-B5Jf2A5F.js:19156:33 at S_ (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:71:32) at Ga.render (http://localhost:4173/assets/main-B5Jf2A5F.js:19154:15) at Ga.update (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:39:241) at Ga.performUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4919) at Ga.scheduleUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4457) at Ga._$ET (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4365) at get isCSSVariable (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:8302) at get colorWithoutAlpha (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:7841) at http://localhost:4173/assets/main-B5Jf2A5F.js:19156:33 at S_ (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:71:32) at Ga.render (http://localhost:4173/assets/main-B5Jf2A5F.js:19154:15) at Ga.update (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:39:241) at Ga.performUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4919) at Ga.scheduleUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4457) at Ga._$ET (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4365) at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:166:11)
e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover: blocksuite/tests-legacy/e2e/utils/actions/edgeless.ts#L320
1) e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: keyboard.press: Test ended. at utils/actions/edgeless.ts:320 318 | // text tool is removed, use shortcut to trigger 319 | case 'text': > 320 | await page.keyboard.press('t', { delay: 100 }); | ^ 321 | break; 322 | case 'default': { 323 | const button = await locatorEdgelessToolButton(page, 'default', false); at setEdgelessTool (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/edgeless.ts:320:27) at addBasicEdgelessText (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/edgeless.ts:538:9) at createEdgelessText (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/edgeless.ts:1889:9) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/lock.spec.ts:375:7
e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover: blocksuite/tests-legacy/e2e/edgeless/lock.spec.ts#L1
1) e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: ENOENT: no such file or directory, open 'http://localhost:4173/assets/main-B5Jf2A5F.js'
e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover: blocksuite/tests-legacy/http:/localhost:4173/assets/main-B5Jf2A5F.js#L19146
1) e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Uncaught exception: "TypeError: this.color.startsWith is not a function" TypeError: this.color.startsWith is not a function at get isCSSVariable (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:8302) at get colorWithoutAlpha (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:7841) at http://localhost:4173/assets/main-B5Jf2A5F.js:19156:33 at S_ (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:71:32) at Ga.render (http://localhost:4173/assets/main-B5Jf2A5F.js:19154:15) at Ga.update (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:39:241) at Ga.performUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4919) at Ga.scheduleUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4457) at Ga._$ET (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4365) at get isCSSVariable (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:8302) at get colorWithoutAlpha (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:7841) at http://localhost:4173/assets/main-B5Jf2A5F.js:19156:33 at S_ (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:71:32) at Ga.render (http://localhost:4173/assets/main-B5Jf2A5F.js:19154:15) at Ga.update (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:39:241) at Ga.performUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4919) at Ga.scheduleUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4457) at Ga._$ET (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4365) at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:166:11)
e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover: blocksuite/tests-legacy/e2e/utils/actions/keyboard.ts#L121
1) e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: keyboard.press: Test ended. at utils/actions/keyboard.ts:121 119 | 120 | export async function selectAllByKeyboard(page: Page) { > 121 | await page.keyboard.press(`${SHORT_KEY}+a`, { | ^ 122 | delay: 20, 123 | }); 124 | } at selectAllByKeyboard (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/keyboard.ts:121:23) at deleteAll (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/edgeless.ts:1008:9) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/lock.spec.ts:353:7
e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover: blocksuite/tests-legacy/e2e/edgeless/lock.spec.ts#L1
1) e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: ENOENT: no such file or directory, open 'http://localhost:4173/assets/main-B5Jf2A5F.js'
e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover: blocksuite/tests-legacy/http:/localhost:4173/assets/main-B5Jf2A5F.js#L19146
1) e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: Uncaught exception: "TypeError: this.color.startsWith is not a function" TypeError: this.color.startsWith is not a function at get isCSSVariable (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:8302) at get colorWithoutAlpha (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:7841) at http://localhost:4173/assets/main-B5Jf2A5F.js:19156:33 at S_ (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:71:32) at Ga.render (http://localhost:4173/assets/main-B5Jf2A5F.js:19154:15) at Ga.update (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:39:241) at Ga.performUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4919) at Ga.scheduleUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4457) at Ga._$ET (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4365) at get isCSSVariable (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:8302) at get colorWithoutAlpha (http://localhost:4173/assets/main-B5Jf2A5F.js:19146:7841) at http://localhost:4173/assets/main-B5Jf2A5F.js:19156:33 at S_ (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:71:32) at Ga.render (http://localhost:4173/assets/main-B5Jf2A5F.js:19154:15) at Ga.update (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:39:241) at Ga.performUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4919) at Ga.scheduleUpdate (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4457) at Ga._$ET (http://localhost:4173/assets/chunk.BWPPYEQO-DP30VMUt.js:35:4365) at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:166:11)
e2e/edgeless/text.spec.ts:148:3 › edgeless canvas text › normalize text element rect after change its font: blocksuite/tests-legacy/e2e/edgeless/text.spec.ts#L164
1) e2e/edgeless/text.spec.ts:148:3 › edgeless canvas text › normalize text element rect after change its font Error: locator.click: Error: strict mode violation: getByRole('button', { name: /^Font$/ }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Font">…</editor-icon-button> aka locator('affine-toolbar-widget').getByRole('button', { name: 'Font', exact: true }) 2) <editor-icon-button tabindex="0" role="button" aria-label="Font">…</editor-icon-button> aka locator('edgeless-change-text-menu').getByRole('button', { name: 'Font', exact: true }) Call log: - waiting for getByRole('button', { name: /^Font$/ }) 162 | await getEdgelessSelectedRect(page); 163 | const fontButton = page.getByRole('button', { name: /^Font$/ }); > 164 | await fontButton.click(); | ^ 165 | 166 | // Default is Inter 167 | await assertTextFont(page, 'Inter'); at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/text.spec.ts:164:22
e2e/edgeless/text.spec.ts:148:3 › edgeless canvas text › normalize text element rect after change its font: blocksuite/tests-legacy/e2e/edgeless/text.spec.ts#L164
1) e2e/edgeless/text.spec.ts:148:3 › edgeless canvas text › normalize text element rect after change its font Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: /^Font$/ }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Font">…</editor-icon-button> aka locator('affine-toolbar-widget').getByRole('button', { name: 'Font', exact: true }) 2) <editor-icon-button tabindex="0" role="button" aria-label="Font">…</editor-icon-button> aka locator('edgeless-change-text-menu').getByRole('button', { name: 'Font', exact: true }) Call log: - waiting for getByRole('button', { name: /^Font$/ }) 162 | await getEdgelessSelectedRect(page); 163 | const fontButton = page.getByRole('button', { name: /^Font$/ }); > 164 | await fontButton.click(); | ^ 165 | 166 | // Default is Inter 167 | await assertTextFont(page, 'Inter'); at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/text.spec.ts:164:22
e2e/edgeless/text.spec.ts:148:3 › edgeless canvas text › normalize text element rect after change its font: blocksuite/tests-legacy/e2e/edgeless/text.spec.ts#L164
1) e2e/edgeless/text.spec.ts:148:3 › edgeless canvas text › normalize text element rect after change its font Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: /^Font$/ }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Font">…</editor-icon-button> aka locator('affine-toolbar-widget').getByRole('button', { name: 'Font', exact: true }) 2) <editor-icon-button tabindex="0" role="button" aria-label="Font">…</editor-icon-button> aka locator('edgeless-change-text-menu').getByRole('button', { name: 'Font', exact: true }) Call log: - waiting for getByRole('button', { name: /^Font$/ }) 162 | await getEdgelessSelectedRect(page); 163 | const fontButton = page.getByRole('button', { name: /^Font$/ }); > 164 | await fontButton.click(); | ^ 165 | 166 | // Default is Inter 167 | await assertTextFont(page, 'Inter'); at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/text.spec.ts:164:22
e2e/edgeless/text.spec.ts:148:3 › edgeless canvas text › normalize text element rect after change its font: blocksuite/tests-legacy/e2e/edgeless/text.spec.ts#L164
1) e2e/edgeless/text.spec.ts:148:3 › edgeless canvas text › normalize text element rect after change its font Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: /^Font$/ }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Font">…</editor-icon-button> aka locator('affine-toolbar-widget').getByRole('button', { name: 'Font', exact: true }) 2) <editor-icon-button tabindex="0" role="button" aria-label="Font">…</editor-icon-button> aka locator('edgeless-change-text-menu').getByRole('button', { name: 'Font', exact: true }) Call log: - waiting for getByRole('button', { name: /^Font$/ }) 162 | await getEdgelessSelectedRect(page); 163 | const fontButton = page.getByRole('button', { name: /^Font$/ }); > 164 | await fontButton.click(); | ^ 165 | 166 | // Default is Inter 167 | await assertTextFont(page, 'Inter'); at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/text.spec.ts:164:22
e2e/format-bar.spec.ts:48:1 › should format quick bar show when select text: blocksuite/tests-legacy/e2e/utils/asserts.ts#L621
2) e2e/format-bar.spec.ts:48:1 › should format quick bar show when select text ─────────────────── Error: expected: -133, but actual: -223 expect(received).toBeLessThan(expected) Expected: < 5 Received: 90 at utils/asserts.ts:621 619 | Math.abs(actual - expected), 620 | `expected: ${expected}, but actual: ${actual}` > 621 | ).toBeLessThan(precision); | ^ 622 | } 623 | 624 | export function assertPointAlmostEqual( at assertAlmostEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/asserts.ts:621:5) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/format-bar.spec.ts:62:3
e2e/format-bar.spec.ts:48:1 › should format quick bar show when select text: blocksuite/tests-legacy/e2e/utils/asserts.ts#L621
2) e2e/format-bar.spec.ts:48:1 › should format quick bar show when select text ─────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expected: -133, but actual: -223 expect(received).toBeLessThan(expected) Expected: < 5 Received: 90 at utils/asserts.ts:621 619 | Math.abs(actual - expected), 620 | `expected: ${expected}, but actual: ${actual}` > 621 | ).toBeLessThan(precision); | ^ 622 | } 623 | 624 | export function assertPointAlmostEqual( at assertAlmostEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/asserts.ts:621:5) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/format-bar.spec.ts:62:3
e2e/format-bar.spec.ts:48:1 › should format quick bar show when select text: blocksuite/tests-legacy/e2e/utils/asserts.ts#L621
2) e2e/format-bar.spec.ts:48:1 › should format quick bar show when select text ─────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expected: -133, but actual: -223 expect(received).toBeLessThan(expected) Expected: < 5 Received: 90 at utils/asserts.ts:621 619 | Math.abs(actual - expected), 620 | `expected: ${expected}, but actual: ${actual}` > 621 | ).toBeLessThan(precision); | ^ 622 | } 623 | 624 | export function assertPointAlmostEqual( at assertAlmostEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/asserts.ts:621:5) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/format-bar.spec.ts:62:3
e2e/format-bar.spec.ts:48:1 › should format quick bar show when select text: blocksuite/tests-legacy/e2e/utils/asserts.ts#L621
2) e2e/format-bar.spec.ts:48:1 › should format quick bar show when select text ─────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expected: -133, but actual: -223 expect(received).toBeLessThan(expected) Expected: < 5 Received: 90 at utils/asserts.ts:621 619 | Math.abs(actual - expected), 620 | `expected: ${expected}, but actual: ${actual}` > 621 | ).toBeLessThan(precision); | ^ 622 | } 623 | 624 | export function assertPointAlmostEqual( at assertAlmostEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/asserts.ts:621:5) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/format-bar.spec.ts:62:3
e2e/format-bar.spec.ts:75:1 › should format quick bar show when clicking drag handle: blocksuite/tests-legacy/e2e/utils/asserts.ts#L621
3) e2e/format-bar.spec.ts:75:1 › should format quick bar show when clicking drag handle ────────── Error: expected: -55.5, but actual: -145.5 expect(received).toBeLessThan(expected) Expected: < 5 Received: 90 at utils/asserts.ts:621 619 | Math.abs(actual - expected), 620 | `expected: ${expected}, but actual: ${actual}` > 621 | ).toBeLessThan(precision); | ^ 622 | } 623 | 624 | export function assertPointAlmostEqual( at assertAlmostEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/asserts.ts:621:5) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/format-bar.spec.ts:99:3
e2e/format-bar.spec.ts:75:1 › should format quick bar show when clicking drag handle: blocksuite/tests-legacy/e2e/utils/asserts.ts#L621
3) e2e/format-bar.spec.ts:75:1 › should format quick bar show when clicking drag handle ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expected: -55.5, but actual: -145.5 expect(received).toBeLessThan(expected) Expected: < 5 Received: 90 at utils/asserts.ts:621 619 | Math.abs(actual - expected), 620 | `expected: ${expected}, but actual: ${actual}` > 621 | ).toBeLessThan(precision); | ^ 622 | } 623 | 624 | export function assertPointAlmostEqual( at assertAlmostEqual (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/asserts.ts:621:5) at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/format-bar.spec.ts:99:3
e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {index: a1}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 6 {index: a2}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 8 {index: a3}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {index: a1}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 6 {index: a2}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 8 {index: a3}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {index: a1}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 6 {index: a2}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 8 {index: a3}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {index: a1}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/align.spec.ts:101:3 › auto arrange align › arrange edgeless text: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/align.spec.ts:101:3 › auto arrange align › arrange edgeless text ───────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:edgeless-text 4 {xywh: [120,0,220,26]}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/align.spec.ts:101:3 › auto arrange align › arrange edgeless text: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/align.spec.ts:101:3 › auto arrange align › arrange edgeless text ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:edgeless-text 4 {xywh: [120,0,220,26]}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/align.spec.ts:101:3 › auto arrange align › arrange edgeless text: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/align.spec.ts:101:3 › auto arrange align › arrange edgeless text ───────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:edgeless-text 4 {xywh: [120,0,220,26]}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/align.spec.ts:101:3 › auto arrange align › arrange edgeless text: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
1) e2e/edgeless/align.spec.ts:101:3 › auto arrange align › arrange edgeless text ───────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:edgeless-text 4 {xywh: [120,0,220,26]}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/align.spec.ts:123:3 › auto arrange align › arrange note: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
2) e2e/edgeless/align.spec.ts:123:3 › auto arrange align › arrange note ────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {xywh: [120,0,498,92]}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/align.spec.ts:123:3 › auto arrange align › arrange note: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
2) e2e/edgeless/align.spec.ts:123:3 › auto arrange align › arrange note ────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {xywh: [120,0,498,92]}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/align.spec.ts:123:3 › auto arrange align › arrange note: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
2) e2e/edgeless/align.spec.ts:123:3 › auto arrange align › arrange note ────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {xywh: [120,0,498,92]}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/align.spec.ts:123:3 › auto arrange align › arrange note: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
2) e2e/edgeless/align.spec.ts:123:3 › auto arrange align › arrange note ────────────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:note 4 {xywh: [120,0,498,92]}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/align.spec.ts:155:3 › auto arrange align › arrange frame: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
3) e2e/edgeless/align.spec.ts:155:3 › auto arrange align › arrange frame ───────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:frame 4 {xywh: [120,0,400,400]}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/edgeless/align.spec.ts:155:3 › auto arrange align › arrange frame: blocksuite/tests-legacy/e2e/utils/actions/misc.ts#L157
3) e2e/edgeless/align.spec.ts:155:3 › auto arrange align › arrange frame ───────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: affine:frame 4 {xywh: [120,0,400,400]}" at utils/actions/misc.ts:157 155 | expect 156 | .soft('Unexpected console message: ' + message.text()) > 157 | .toBe( | ^ 158 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 159 | ); 160 | } at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/utils/actions/misc.ts:157:10)
e2e/page-properties.spec.ts:199:1 › change page properties visibility: tests/affine-local/e2e/page-properties.spec.ts#L1
1) e2e/page-properties.spec.ts:199:1 › change page properties visibility ───────────────────────── Test timeout of 50000ms exceeded.
e2e/page-properties.spec.ts:199:1 › change page properties visibility: tests/kit/src/utils/properties.ts#L131
1) e2e/page-properties.spec.ts:199:1 › change page properties visibility ───────────────────────── Error: locator.click: Test timeout of 50000ms exceeded. Call log: - waiting for locator('[data-testid="create-property-menu-item"][data-property-type="number"]') at ../../kit/src/utils/properties.ts:131 129 | `[data-testid="${'create-property-menu-item'}"][data-property-type="${type}"]` 130 | ) > 131 | .click(); | ^ 132 | if (await page.getByTestId('edit-property-menu-item').isVisible()) { 133 | // is edit property menu opened, close it 134 | await page.keyboard.press('Escape'); at addCustomProperty (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/properties.ts:131:6) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/page-properties.spec.ts:201:3
e2e/page-properties.spec.ts:224:1 › check if added property is also in workspace settings: tests/affine-local/e2e/page-properties.spec.ts#L1
2) e2e/page-properties.spec.ts:224:1 › check if added property is also in workspace settings ───── Test timeout of 50000ms exceeded.
e2e/edgeless/connector/connector.spec.ts:188:3 › quick connect › should create a connector when clicking on button: blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts#L201
1) e2e/edgeless/connector/connector.spec.ts:188:3 › quick connect › should create a connector when clicking on button Error: expect.toBeVisible: Error: strict mode violation: getByRole('button', { name: 'Draw connector' }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector" data-testid="draw-connector">…</editor-icon-button> aka getByTestId('draw-connector') 2) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector">…</editor-icon-button> aka locator('edgeless-element-toolbar-widget').getByRole('button', { name: 'Draw connector' }) Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('button', { name: 'Draw connector' }) 199 | }); 200 | > 201 | await expect(quickConnectBtn).toBeVisible(); | ^ 202 | await quickConnectBtn.click(); 203 | await expect(quickConnectBtn).toBeHidden(); 204 | at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts:201:35
e2e/edgeless/connector/connector.spec.ts:188:3 › quick connect › should create a connector when clicking on button: blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts#L201
1) e2e/edgeless/connector/connector.spec.ts:188:3 › quick connect › should create a connector when clicking on button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: getByRole('button', { name: 'Draw connector' }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector" data-testid="draw-connector">…</editor-icon-button> aka getByTestId('draw-connector') 2) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector">…</editor-icon-button> aka locator('edgeless-element-toolbar-widget').getByRole('button', { name: 'Draw connector' }) Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('button', { name: 'Draw connector' }) 199 | }); 200 | > 201 | await expect(quickConnectBtn).toBeVisible(); | ^ 202 | await quickConnectBtn.click(); 203 | await expect(quickConnectBtn).toBeHidden(); 204 | at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts:201:35
e2e/edgeless/connector/connector.spec.ts:188:3 › quick connect › should create a connector when clicking on button: blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts#L201
1) e2e/edgeless/connector/connector.spec.ts:188:3 › quick connect › should create a connector when clicking on button Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: getByRole('button', { name: 'Draw connector' }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector" data-testid="draw-connector">…</editor-icon-button> aka getByTestId('draw-connector') 2) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector">…</editor-icon-button> aka locator('edgeless-element-toolbar-widget').getByRole('button', { name: 'Draw connector' }) Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('button', { name: 'Draw connector' }) 199 | }); 200 | > 201 | await expect(quickConnectBtn).toBeVisible(); | ^ 202 | await quickConnectBtn.click(); 203 | await expect(quickConnectBtn).toBeHidden(); 204 | at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts:201:35
e2e/edgeless/connector/connector.spec.ts:188:3 › quick connect › should create a connector when clicking on button: blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts#L201
1) e2e/edgeless/connector/connector.spec.ts:188:3 › quick connect › should create a connector when clicking on button Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: getByRole('button', { name: 'Draw connector' }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector" data-testid="draw-connector">…</editor-icon-button> aka getByTestId('draw-connector') 2) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector">…</editor-icon-button> aka locator('edgeless-element-toolbar-widget').getByRole('button', { name: 'Draw connector' }) Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('button', { name: 'Draw connector' }) 199 | }); 200 | > 201 | await expect(quickConnectBtn).toBeVisible(); | ^ 202 | await quickConnectBtn.click(); 203 | await expect(quickConnectBtn).toBeHidden(); 204 | at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts:201:35
e2e/edgeless/connector/connector.spec.ts:211:3 › quick connect › should be uncreated if the target is not found after clicking: blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts#L224
2) e2e/edgeless/connector/connector.spec.ts:211:3 › quick connect › should be uncreated if the target is not found after clicking Error: locator.boundingBox: Error: strict mode violation: getByRole('button', { name: 'Draw connector' }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector" data-testid="draw-connector">…</editor-icon-button> aka getByTestId('draw-connector') 2) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector">…</editor-icon-button> aka locator('edgeless-element-toolbar-widget').getByRole('button', { name: 'Draw connector' }) Call log: - waiting for getByRole('button', { name: 'Draw connector' }) 222 | }); 223 | > 224 | const bounds = await quickConnectBtn.boundingBox(); | ^ 225 | if (!bounds) { 226 | throw new Error('bounds is not found'); 227 | } at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts:224:42
e2e/edgeless/connector/connector.spec.ts:211:3 › quick connect › should be uncreated if the target is not found after clicking: blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts#L224
2) e2e/edgeless/connector/connector.spec.ts:211:3 › quick connect › should be uncreated if the target is not found after clicking Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.boundingBox: Error: strict mode violation: getByRole('button', { name: 'Draw connector' }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector" data-testid="draw-connector">…</editor-icon-button> aka getByTestId('draw-connector') 2) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector">…</editor-icon-button> aka locator('edgeless-element-toolbar-widget').getByRole('button', { name: 'Draw connector' }) Call log: - waiting for getByRole('button', { name: 'Draw connector' }) 222 | }); 223 | > 224 | const bounds = await quickConnectBtn.boundingBox(); | ^ 225 | if (!bounds) { 226 | throw new Error('bounds is not found'); 227 | } at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts:224:42
e2e/edgeless/connector/connector.spec.ts:211:3 › quick connect › should be uncreated if the target is not found after clicking: blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts#L224
2) e2e/edgeless/connector/connector.spec.ts:211:3 › quick connect › should be uncreated if the target is not found after clicking Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.boundingBox: Error: strict mode violation: getByRole('button', { name: 'Draw connector' }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector" data-testid="draw-connector">…</editor-icon-button> aka getByTestId('draw-connector') 2) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector">…</editor-icon-button> aka locator('edgeless-element-toolbar-widget').getByRole('button', { name: 'Draw connector' }) Call log: - waiting for getByRole('button', { name: 'Draw connector' }) 222 | }); 223 | > 224 | const bounds = await quickConnectBtn.boundingBox(); | ^ 225 | if (!bounds) { 226 | throw new Error('bounds is not found'); 227 | } at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts:224:42
e2e/edgeless/connector/connector.spec.ts:211:3 › quick connect › should be uncreated if the target is not found after clicking: blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts#L224
2) e2e/edgeless/connector/connector.spec.ts:211:3 › quick connect › should be uncreated if the target is not found after clicking Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.boundingBox: Error: strict mode violation: getByRole('button', { name: 'Draw connector' }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector" data-testid="draw-connector">…</editor-icon-button> aka getByTestId('draw-connector') 2) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector">…</editor-icon-button> aka locator('edgeless-element-toolbar-widget').getByRole('button', { name: 'Draw connector' }) Call log: - waiting for getByRole('button', { name: 'Draw connector' }) 222 | }); 223 | > 224 | const bounds = await quickConnectBtn.boundingBox(); | ^ 225 | if (!bounds) { 226 | throw new Error('bounds is not found'); 227 | } at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts:224:42
e2e/edgeless/connector/connector.spec.ts:277:3 › quick connect › should follow the mouse to automatically select the starting point: blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts#L293
3) e2e/edgeless/connector/connector.spec.ts:277:3 › quick connect › should follow the mouse to automatically select the starting point Error: locator.boundingBox: Error: strict mode violation: getByRole('button', { name: 'Draw connector' }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector" data-testid="draw-connector">…</editor-icon-button> aka getByTestId('draw-connector') 2) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector">…</editor-icon-button> aka locator('edgeless-element-toolbar-widget').getByRole('button', { name: 'Draw connector' }) Call log: - waiting for getByRole('button', { name: 'Draw connector' }) 291 | name: 'Draw connector', 292 | }); > 293 | const bounds = await quickConnectBtn.boundingBox(); | ^ 294 | if (!bounds) { 295 | throw new Error('bounds is not found'); 296 | } at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts:293:42
e2e/edgeless/connector/connector.spec.ts:277:3 › quick connect › should follow the mouse to automatically select the starting point: blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts#L293
3) e2e/edgeless/connector/connector.spec.ts:277:3 › quick connect › should follow the mouse to automatically select the starting point Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.boundingBox: Error: strict mode violation: getByRole('button', { name: 'Draw connector' }) resolved to 2 elements: 1) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector" data-testid="draw-connector">…</editor-icon-button> aka getByTestId('draw-connector') 2) <editor-icon-button tabindex="0" role="button" aria-label="Draw connector">…</editor-icon-button> aka locator('edgeless-element-toolbar-widget').getByRole('button', { name: 'Draw connector' }) Call log: - waiting for getByRole('button', { name: 'Draw connector' }) 291 | name: 'Draw connector', 292 | }); > 293 | const bounds = await quickConnectBtn.boundingBox(); | ^ 294 | if (!bounds) { 295 | throw new Error('bounds is not found'); 296 | } at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/e2e/edgeless/connector/connector.spec.ts:293:42
e2e/links.spec.ts:293:1 › allow switching to embed view when linking to the other document with mode: tests/affine-local/e2e/links.spec.ts#L332
1) e2e/links.spec.ts:293:1 › allow switching to embed view when linking to the other document with mode TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('affine-toolbar-widget editor-toolbar').getByLabel('Switch view') - locator resolved to <editor-icon-button tabindex="0" role="button" aria-label="Switch view">…</editor-icon-button> - 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>…</div> from <affine-note data-block-id="6IMLCuaa3L" data-drop-target-for-element="true">…</affine-note> subtree intercepts pointer events - retrying click action - waiting for element to be visible, enabled and stable - element is not stable - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is not visible - retrying click action - waiting 100ms 9 × waiting for element to be visible, enabled and stable - element is not visible - retrying click action - waiting 500ms 330 | // refocus 331 | await cardLink.click(); > 332 | await switchViewBtn.click(); | ^ 333 | 334 | await clickable(inlineViewBtn); 335 | await notClickable(cardViewBtn); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:332:23
e2e/links.spec.ts:293:1 › allow switching to embed view when linking to the other document with mode: tests/affine-local/e2e/links.spec.ts#L332
1) e2e/links.spec.ts:293:1 › allow switching to embed view when linking to the other document with mode Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('affine-toolbar-widget editor-toolbar').getByLabel('Switch view') - locator resolved to <editor-icon-button tabindex="0" role="button" aria-label="Switch view">…</editor-icon-button> - 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 9 × waiting for element to be visible, enabled and stable - element is not visible - retrying click action - waiting 500ms 330 | // refocus 331 | await cardLink.click(); > 332 | await switchViewBtn.click(); | ^ 333 | 334 | await clickable(inlineViewBtn); 335 | await notClickable(cardViewBtn); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:332:23
e2e/links.spec.ts:293:1 › allow switching to embed view when linking to the other document with mode: tests/affine-local/e2e/links.spec.ts#L332
1) e2e/links.spec.ts:293:1 › allow switching to embed view when linking to the other document with mode Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('affine-toolbar-widget editor-toolbar').getByLabel('Switch view') - locator resolved to <editor-icon-button tabindex="0" role="button" aria-label="Switch view">…</editor-icon-button> - 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 9 × waiting for element to be visible, enabled and stable - element is not visible - retrying click action - waiting 500ms 330 | // refocus 331 | await cardLink.click(); > 332 | await switchViewBtn.click(); | ^ 333 | 334 | await clickable(inlineViewBtn); 335 | await notClickable(cardViewBtn); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:332:23
e2e/links.spec.ts:293:1 › allow switching to embed view when linking to the other document with mode: tests/affine-local/e2e/links.spec.ts#L332
1) e2e/links.spec.ts:293:1 › allow switching to embed view when linking to the other document with mode Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('affine-toolbar-widget editor-toolbar').getByLabel('Switch view') - locator resolved to <editor-icon-button tabindex="0" role="button" aria-label="Switch view">…</editor-icon-button> - 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 9 × waiting for element to be visible, enabled and stable - element is not visible - retrying click action - waiting 500ms 330 | // refocus 331 | await cardLink.click(); > 332 | await switchViewBtn.click(); | ^ 333 | 334 | await clickable(inlineViewBtn); 335 | await notClickable(cardViewBtn); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:332:23
e2e/doc-info-modal.spec.ts:51:1 › New a page and open it : tests/affine-local/e2e/doc-info-modal.spec.ts#L31
2) e2e/doc-info-modal.spec.ts:51:1 › New a page and open it ,then open info modal in the title bar more action button Test timeout of 50000ms exceeded while running "beforeEach" hook. 29 | }; 30 | > 31 | test.beforeEach(async ({ page }) => { | ^ 32 | await openHomePage(page); 33 | await clickNewPageButton(page); 34 | await waitForEmptyEditor(page); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:31:6
e2e/doc-info-modal.spec.ts:51:1 › New a page and open it : tests/affine-local/e2e/doc-info-modal.spec.ts#L37
2) e2e/doc-info-modal.spec.ts:51:1 › New a page and open it ,then open info modal in the title bar more action button Error: locator.fill: Target page, context or browser has been closed 35 | await ensurePagePropertiesVisible(page); 36 | await getBlockSuiteEditorTitle(page).click(); > 37 | await getBlockSuiteEditorTitle(page).fill('this is a new page'); | ^ 38 | }); 39 | 40 | test('New a page and open it ,then open info modal in the title bar', async ({ at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:37:40
e2e/doc-info-modal.spec.ts:63:1 › New a page: tests/affine-local/e2e/doc-info-modal.spec.ts#L31
3) e2e/doc-info-modal.spec.ts:63:1 › New a page, then open info modal from all doc ─────────────── Test timeout of 50000ms exceeded while running "beforeEach" hook. 29 | }; 30 | > 31 | test.beforeEach(async ({ page }) => { | ^ 32 | await openHomePage(page); 33 | await clickNewPageButton(page); 34 | await waitForEmptyEditor(page); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/doc-info-modal.spec.ts:31:6
e2e/links.spec.ts:73:1 › not allowed to switch to embed view when linking to the same document: tests/affine-local/e2e/links.spec.ts#L107
4) e2e/links.spec.ts:73:1 › not allowed to switch to embed view when linking to the same document Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('affine-toolbar-widget editor-toolbar') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('affine-toolbar-widget editor-toolbar') 9 × locator resolved to <editor-toolbar>…</editor-toolbar> - unexpected value "hidden" 105 | await cardLink.click(); 106 | > 107 | await expect(toolbar).toBeVisible(); | ^ 108 | await switchViewBtn.click(); 109 | 110 | await clickable(inlineViewBtn); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:107:25
E2E Test (3)
Process completed with exit code 1.
e2e/all-page.spec.ts:27:1 › all page: tests/affine-local/e2e/all-page.spec.ts#L1
1) e2e/all-page.spec.ts:27:1 › all page ────────────────────────────────────────────────────────── Test timeout of 50000ms exceeded.
e2e/all-page.spec.ts:33:1 › all page can create new page: tests/affine-local/e2e/all-page.spec.ts#L1
2) e2e/all-page.spec.ts:33:1 › all page can create new page ────────────────────────────────────── Test timeout of 50000ms exceeded.
e2e/all-page.spec.ts:33:1 › all page can create new page: tests/affine-local/e2e/all-page.spec.ts#L40
2) e2e/all-page.spec.ts:33:1 › all page can create new page ────────────────────────────────────── Error: locator.fill: Test timeout of 50000ms exceeded. Call log: - waiting for locator('doc-title .inline-editor').first() 38 | await clickNewPageButton(); 39 | const title = getBlockSuiteEditorTitle(page); > 40 | await title.fill('this is a new page'); | ^ 41 | await clickSideBarAllPageButton(page); 42 | const cell = page.getByRole('cell', { name: 'this is a new page' }); 43 | expect(cell).not.toBeUndefined(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/all-page.spec.ts:40:15
e2e/blocksuite/callout/callout.spec.ts:70:1 › press backspace after callout block: tests/affine-local/e2e/blocksuite/callout/callout.spec.ts#L14
3) e2e/blocksuite/callout/callout.spec.ts:70:1 › press backspace after callout block ───────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('settings-modal-trigger') - locator resolved to <span data-testid="settings-modal-trigger">Settings</span> - 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 12 | test.beforeEach(async ({ page }) => { 13 | await openHomePage(page); > 14 | await page.getByTestId('settings-modal-trigger').click(); | ^ 15 | await page.getByText('Experimental features').click(); 16 | await page.getByText('I am aware of the risks, and').click(); 17 | await page.getByTestId('experimental-confirm-button').click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/callout/callout.spec.ts:14:52
e2e/blocksuite/callout/callout.spec.ts:70:1 › press backspace after callout block: tests/affine-local/e2e/blocksuite/callout/callout.spec.ts#L14
3) e2e/blocksuite/callout/callout.spec.ts:70:1 › press backspace after callout block ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('settings-modal-trigger') - locator resolved to <span data-testid="settings-modal-trigger">Settings</span> - 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 12 | test.beforeEach(async ({ page }) => { 13 | await openHomePage(page); > 14 | await page.getByTestId('settings-modal-trigger').click(); | ^ 15 | await page.getByText('Experimental features').click(); 16 | await page.getByText('I am aware of the risks, and').click(); 17 | await page.getByTestId('experimental-confirm-button').click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/callout/callout.spec.ts:14:52
e2e/blocksuite/callout/callout.spec.ts:90:1 › press backspace in callout block: tests/affine-local/e2e/blocksuite/callout/callout.spec.ts#L14
4) e2e/blocksuite/callout/callout.spec.ts:90:1 › press backspace in callout block ──────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('settings-modal-trigger') - locator resolved to <span data-testid="settings-modal-trigger">Settings</span> - 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 12 | test.beforeEach(async ({ page }) => { 13 | await openHomePage(page); > 14 | await page.getByTestId('settings-modal-trigger').click(); | ^ 15 | await page.getByText('Experimental features').click(); 16 | await page.getByText('I am aware of the risks, and').click(); 17 | await page.getByTestId('experimental-confirm-button').click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/callout/callout.spec.ts:14:52
e2e/blocksuite/callout/callout.spec.ts:90:1 › press backspace in callout block: tests/affine-local/e2e/blocksuite/callout/callout.spec.ts#L14
4) e2e/blocksuite/callout/callout.spec.ts:90:1 › press backspace in callout block ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('settings-modal-trigger') - locator resolved to <span data-testid="settings-modal-trigger">Settings</span> - 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 12 | test.beforeEach(async ({ page }) => { 13 | await openHomePage(page); > 14 | await page.getByTestId('settings-modal-trigger').click(); | ^ 15 | await page.getByText('Experimental features').click(); 16 | await page.getByText('I am aware of the risks, and').click(); 17 | await page.getByTestId('experimental-confirm-button').click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/callout/callout.spec.ts:14:52
e2e/blocksuite/callout/callout.spec.ts:90:1 › press backspace in callout block: tests/affine-local/e2e/blocksuite/callout/callout.spec.ts#L14
4) e2e/blocksuite/callout/callout.spec.ts:90:1 › press backspace in callout block ──────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByTestId('settings-modal-trigger') - locator resolved to <span data-testid="settings-modal-trigger">Settings</span> - 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 - performing click action 12 | test.beforeEach(async ({ page }) => { 13 | await openHomePage(page); > 14 | await page.getByTestId('settings-modal-trigger').click(); | ^ 15 | await page.getByText('Experimental features').click(); 16 | await page.getByText('I am aware of the risks, and').click(); 17 | await page.getByTestId('experimental-confirm-button').click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/callout/callout.spec.ts:14:52
e2e/links.spec.ts:583:1 › should show edgeless content when switching card view of linked mode doc in edgeless: tests/affine-local/e2e/links.spec.ts#L625
1) e2e/links.spec.ts:583:1 › should show edgeless content when switching card view of linked mode doc in edgeless TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByLabel('Switch view') 623 | .waitFor({ state: 'visible' }); 624 | await page.mouse.click(x - 50, y - 50); > 625 | await page.getByLabel('Switch view').click(); | ^ 626 | await page.getByTestId('link-to-embed').click(); 627 | 628 | const viewport = await page at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:625:40
e2e/links.spec.ts:583:1 › should show edgeless content when switching card view of linked mode doc in edgeless: tests/affine-local/e2e/links.spec.ts#L625
1) e2e/links.spec.ts:583:1 › should show edgeless content when switching card view of linked mode doc in edgeless Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByLabel('Switch view') 623 | .waitFor({ state: 'visible' }); 624 | await page.mouse.click(x - 50, y - 50); > 625 | await page.getByLabel('Switch view').click(); | ^ 626 | await page.getByTestId('link-to-embed').click(); 627 | 628 | const viewport = await page at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:625:40
e2e/links.spec.ts:583:1 › should show edgeless content when switching card view of linked mode doc in edgeless: tests/affine-local/e2e/links.spec.ts#L625
1) e2e/links.spec.ts:583:1 › should show edgeless content when switching card view of linked mode doc in edgeless Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByLabel('Switch view') 623 | .waitFor({ state: 'visible' }); 624 | await page.mouse.click(x - 50, y - 50); > 625 | await page.getByLabel('Switch view').click(); | ^ 626 | await page.getByTestId('link-to-embed').click(); 627 | 628 | const viewport = await page at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:625:40
e2e/links.spec.ts:583:1 › should show edgeless content when switching card view of linked mode doc in edgeless: tests/affine-local/e2e/links.spec.ts#L625
1) e2e/links.spec.ts:583:1 › should show edgeless content when switching card view of linked mode doc in edgeless Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for getByLabel('Switch view') 623 | .waitFor({ state: 'visible' }); 624 | await page.mouse.click(x - 50, y - 50); > 625 | await page.getByLabel('Switch view').click(); | ^ 626 | await page.getByTestId('link-to-embed').click(); 627 | 628 | const viewport = await page at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:625:40
e2e/links.spec.ts:491:1 › linked doc should show markdown preview in the backlink section: tests/affine-local/e2e/links.spec.ts#L23
2) e2e/links.spec.ts:491:1 › linked doc should show markdown preview in the backlink section ───── Test timeout of 50000ms exceeded while running "beforeEach" hook. 21 | import { expect, type Locator, type Page } from '@playwright/test'; 22 | > 23 | test.beforeEach(async ({ page }) => { | ^ 24 | await openHomePage(page); 25 | await clickNewPageButton(page); 26 | await waitForEmptyEditor(page); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:23:6
e2e/links.spec.ts:519:1 › the viewport should be fit when the linked document is with edgeless mode: tests/affine-local/e2e/links.spec.ts#L23
3) e2e/links.spec.ts:519:1 › the viewport should be fit when the linked document is with edgeless mode Test timeout of 50000ms exceeded while running "beforeEach" hook. 21 | import { expect, type Locator, type Page } from '@playwright/test'; 22 | > 23 | test.beforeEach(async ({ page }) => { | ^ 24 | await openHomePage(page); 25 | await clickNewPageButton(page); 26 | await waitForEmptyEditor(page); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:23:6
e2e/open-affine.spec.ts:28:1 › Download client tip: tests/affine-local/e2e/open-affine.spec.ts#L41
4) e2e/open-affine.spec.ts:28:1 › Download client tip ──────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('[data-testid=local-demo-tips]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('[data-testid=local-demo-tips]') 39 | '[data-testid=local-demo-tips]' 40 | ); > 41 | await expect(currentLocalDemoTipsItemItem).toBeVisible(); | ^ 42 | }); 43 | at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/open-affine.spec.ts:41:46
E2E Test (4)
Process completed with exit code 1.
e2e/blocksuite/outline/outline-panel.spec.ts:305:3 › TOC and edgeless selection › should select note blocks when selecting cards in TOC: tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L319
1) e2e/blocksuite/outline/outline-panel.spec.ts:305:3 › TOC and edgeless selection › should select note blocks when selecting cards in TOC TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('affine-outline-panel').locator('affine-outline-note-card').locator('>div').first() - locator resolved to <div data-sortable="true" data-visibility="both" data-status="selected" class="outline-card_outlineCard__1yxjgyv0">…</div> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 100ms 8 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 500ms - waiting for element to be visible, enabled and stable 317 | await cards.nth(0).click(); 318 | expect(await getEdgelessSelectedIds(page)).toHaveLength(1); > 319 | await cards.nth(0).click(); | ^ 320 | expect(await getEdgelessSelectedIds(page)).toHaveLength(0); 321 | 322 | await cards.nth(1).click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:319:24
e2e/blocksuite/outline/outline-panel.spec.ts:305:3 › TOC and edgeless selection › should select note blocks when selecting cards in TOC: tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L319
1) e2e/blocksuite/outline/outline-panel.spec.ts:305:3 › TOC and edgeless selection › should select note blocks when selecting cards in TOC Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('affine-outline-panel').locator('affine-outline-note-card').locator('>div').first() - locator resolved to <div data-sortable="true" data-visibility="both" data-status="selected" class="outline-card_outlineCard__1yxjgyv0">…</div> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 100ms 8 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed 317 | await cards.nth(0).click(); 318 | expect(await getEdgelessSelectedIds(page)).toHaveLength(1); > 319 | await cards.nth(0).click(); | ^ 320 | expect(await getEdgelessSelectedIds(page)).toHaveLength(0); 321 | 322 | await cards.nth(1).click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:319:24
e2e/blocksuite/outline/outline-panel.spec.ts:305:3 › TOC and edgeless selection › should select note blocks when selecting cards in TOC: tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L319
1) e2e/blocksuite/outline/outline-panel.spec.ts:305:3 › TOC and edgeless selection › should select note blocks when selecting cards in TOC Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('affine-outline-panel').locator('affine-outline-note-card').locator('>div').first() - locator resolved to <div data-sortable="true" data-visibility="both" data-status="selected" class="outline-card_outlineCard__1yxjgyv0">…</div> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 100ms 8 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling 317 | await cards.nth(0).click(); 318 | expect(await getEdgelessSelectedIds(page)).toHaveLength(1); > 319 | await cards.nth(0).click(); | ^ 320 | expect(await getEdgelessSelectedIds(page)).toHaveLength(0); 321 | 322 | await cards.nth(1).click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:319:24
e2e/blocksuite/outline/outline-panel.spec.ts:305:3 › TOC and edgeless selection › should select note blocks when selecting cards in TOC: tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L319
1) e2e/blocksuite/outline/outline-panel.spec.ts:305:3 › TOC and edgeless selection › should select note blocks when selecting cards in TOC Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('affine-outline-panel').locator('affine-outline-note-card').locator('>div').first() - locator resolved to <div data-sortable="true" data-visibility="both" data-status="selected" class="outline-card_outlineCard__1yxjgyv0">…</div> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 100ms 8 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling 317 | await cards.nth(0).click(); 318 | expect(await getEdgelessSelectedIds(page)).toHaveLength(1); > 319 | await cards.nth(0).click(); | ^ 320 | expect(await getEdgelessSelectedIds(page)).toHaveLength(0); 321 | 322 | await cards.nth(1).click(); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:319:24
e2e/blocksuite/outline/outline-panel.spec.ts:431:3 › drag and drop note in outline panel › should reorder notes when drag and drop a note in outline panel: tests/kit/src/utils/editor.ts#L30
2) e2e/blocksuite/outline/outline-panel.spec.ts:431:3 › drag and drop note in outline panel › should reorder notes when drag and drop a note in outline panel TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('[data-testid="switch-page-mode-button"]') - locator resolved to <button role="radio" value="page" type="button" tabindex="-1" aria-checked="false" data-state="unchecked" data-radix-collection-item="" data-testid="switch-page-mode-button" class="styles_radioButton__2mzioa4 style_switchItem__1c5d39l0">…</button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 100ms 8 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 500ms - waiting for element to be visible, enabled and stable at ../../kit/src/utils/editor.ts:30 28 | 29 | export async function clickPageModeButton(page: Page) { > 30 | await locateModeSwitchButton(page, 'page').click({ delay: 50 }); | ^ 31 | await ensureInPageMode(page); 32 | } 33 | at clickPageModeButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/editor.ts:30:46) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:439:11
e2e/blocksuite/outline/outline-panel.spec.ts:431:3 › drag and drop note in outline panel › should reorder notes when drag and drop a note in outline panel: tests/kit/src/utils/editor.ts#L30
2) e2e/blocksuite/outline/outline-panel.spec.ts:431:3 › drag and drop note in outline panel › should reorder notes when drag and drop a note in outline panel Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('[data-testid="switch-page-mode-button"]') - locator resolved to <button role="radio" value="page" type="button" tabindex="-1" aria-checked="false" data-state="unchecked" data-radix-collection-item="" data-testid="switch-page-mode-button" class="styles_radioButton__2mzioa4 style_switchItem__1c5d39l0">…</button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 100ms 8 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 500ms at ../../kit/src/utils/editor.ts:30 28 | 29 | export async function clickPageModeButton(page: Page) { > 30 | await locateModeSwitchButton(page, 'page').click({ delay: 50 }); | ^ 31 | await ensureInPageMode(page); 32 | } 33 | at clickPageModeButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/editor.ts:30:46) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:439:11
e2e/blocksuite/outline/outline-panel.spec.ts:431:3 › drag and drop note in outline panel › should reorder notes when drag and drop a note in outline panel: tests/kit/src/utils/editor.ts#L30
2) e2e/blocksuite/outline/outline-panel.spec.ts:431:3 › drag and drop note in outline panel › should reorder notes when drag and drop a note in outline panel Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('[data-testid="switch-page-mode-button"]') - locator resolved to <button role="radio" value="page" type="button" tabindex="-1" aria-checked="false" data-state="unchecked" data-radix-collection-item="" data-testid="switch-page-mode-button" class="styles_radioButton__2mzioa4 style_switchItem__1c5d39l0">…</button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 100ms 8 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 500ms at ../../kit/src/utils/editor.ts:30 28 | 29 | export async function clickPageModeButton(page: Page) { > 30 | await locateModeSwitchButton(page, 'page').click({ delay: 50 }); | ^ 31 | await ensureInPageMode(page); 32 | } 33 | at clickPageModeButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/editor.ts:30:46) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:439:11
e2e/blocksuite/outline/outline-panel.spec.ts:431:3 › drag and drop note in outline panel › should reorder notes when drag and drop a note in outline panel: tests/kit/src/utils/editor.ts#L30
2) e2e/blocksuite/outline/outline-panel.spec.ts:431:3 › drag and drop note in outline panel › should reorder notes when drag and drop a note in outline panel Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('[data-testid="switch-page-mode-button"]') - locator resolved to <button role="radio" value="page" type="button" tabindex="-1" aria-checked="false" data-state="unchecked" data-radix-collection-item="" data-testid="switch-page-mode-button" class="styles_radioButton__2mzioa4 style_switchItem__1c5d39l0">…</button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 100ms 8 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling at ../../kit/src/utils/editor.ts:30 28 | 29 | export async function clickPageModeButton(page: Page) { > 30 | await locateModeSwitchButton(page, 'page').click({ delay: 50 }); | ^ 31 | await ensureInPageMode(page); 32 | } 33 | at clickPageModeButton (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/editor.ts:30:46) at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:439:11
e2e/blocksuite/outline/outline-panel.spec.ts:459:3 › drag and drop note in outline panel › multiple selected note cards can be dragged and dropped at same time: tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L466
3) e2e/blocksuite/outline/outline-panel.spec.ts:459:3 › drag and drop note in outline panel › multiple selected note cards can be dragged and dropped at same time TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('affine-outline-panel').locator('affine-outline-note-card').locator('>div').nth(3) - locator resolved to <div data-sortable="true" data-status="normal" data-visibility="doc" class="outline-card_outlineCard__1yxjgyv0">…</div> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 100ms 8 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 500ms 464 | 465 | await cards.nth(2).click({ modifiers: ['Shift'] }); > 466 | await cards.nth(3).click({ modifiers: ['Shift'] }); | ^ 467 | 468 | await dragCard(cards.nth(2), cards.nth(0)); 469 | await clickPageModeButton(page); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:466:24
e2e/blocksuite/outline/outline-panel.spec.ts:459:3 › drag and drop note in outline panel › multiple selected note cards can be dragged and dropped at same time: tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L466
3) e2e/blocksuite/outline/outline-panel.spec.ts:459:3 › drag and drop note in outline panel › multiple selected note cards can be dragged and dropped at same time Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('affine-outline-panel').locator('affine-outline-note-card').locator('>div').nth(3) - locator resolved to <div data-sortable="true" data-status="normal" data-visibility="doc" class="outline-card_outlineCard__1yxjgyv0">…</div> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 100ms 9 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events - retrying click action - waiting 500ms 464 | 465 | await cards.nth(2).click({ modifiers: ['Shift'] }); > 466 | await cards.nth(3).click({ modifiers: ['Shift'] }); | ^ 467 | 468 | await dragCard(cards.nth(2), cards.nth(0)); 469 | await clickPageModeButton(page); at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:466:24
3, 2, 1 Launch
Process completed with exit code 1.
Analyze (typescript)
1 issue was detected with this workflow: CodeQL language 'javascript' is referenced by more than one entry in the 'language' matrix parameter for job 'analyze'. This may result in duplicate alerts. Please edit the 'language' matrix parameter to keep only one of the following: 'javascript', 'typescript'.
Analyze (typescript)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
Analyze (javascript)
1 issue was detected with this workflow: CodeQL language 'javascript' is referenced by more than one entry in the 'language' matrix parameter for job 'analyze'. This may result in duplicate alerts. Please edit the 'language' matrix parameter to keep only one of the following: 'javascript', 'typescript'.
Analyze (javascript)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
test-build-mobile-app / ios
swiftformat 0.55.5 is already installed and up-to-date. To reinstall 0.55.5, run: brew reinstall swiftformat
🎭 Playwright Run Summary
7 passed (2.0m)
🎭 Playwright Run Summary
96 passed (1.8m)
🎭 Playwright Run Summary
7 passed (2.0m)
🎭 Playwright Run Summary
1 flaky [Mobile Safari] › e2e/detail.spec.ts:20:1 › can open page view more menu ─────────────────────── 7 passed (2.5m)
🎭 Playwright Run Summary
5 skipped 91 passed (1.7m)
🎭 Playwright Run Summary
1 flaky e2e/database/database.spec.ts:520:3 › readonly mode › should rich-text not be edited in readonly mode 4 skipped 92 passed (1.9m)
🎭 Playwright Run Summary
1 flaky [Mobile Safari] › e2e/explorer-tag.spec.ts:55:1 › create a tag from explorer ─────────────────── 6 passed (2.4m)
🎭 Playwright Run Summary
1 flaky e2e/selection/native.spec.ts:265:1 › cursor move to up and down with children block ──────────── 3 skipped 92 passed (1.7m)
🎭 Playwright Run Summary
7 passed (2.0m)
🎭 Playwright Run Summary
2 failed e2e/clipboard/list.spec.ts:454:1 › copy canvas element and text note in edgeless mode ────────── e2e/clipboard/list.spec.ts:492:1 › paste note block with background ──────────────────────────── 2 flaky e2e/clipboard/list.spec.ts:135:1 › paste a nested list to a nested list ──────────────────────── e2e/clipboard/list.spec.ts:216:1 › paste nested lists to a nested list ───────────────────────── 3 skipped 90 passed (2.0m)
🎭 Playwright Run Summary
3 failed e2e/edgeless/lock.spec.ts:320:3 › lock › locked element should not be editable. unlocking will recover e2e/edgeless/note/note.spec.ts:253:1 › duplicate note should work correctly ──────────────────── e2e/edgeless/note/note.spec.ts:298:1 › change note color ─────────────────────────────────────── 12 skipped 82 passed (2.8m)
🎭 Playwright Run Summary
9 failed e2e/edgeless/text.spec.ts:148:3 › edgeless canvas text › normalize text element rect after change its font e2e/format-bar.spec.ts:48:1 › should format quick bar show when select text ──────────────────── e2e/format-bar.spec.ts:75:1 › should format quick bar show when clicking drag handle ─────────── e2e/format-bar.spec.ts:102:1 › should format quick bar show when select text by keyboard ─────── e2e/format-bar.spec.ts:317:1 › should format quick bar be able to link text ──────────────────── e2e/format-bar.spec.ts:420:1 › should format bar follow scroll ───────────────────────────────── e2e/format-bar.spec.ts:454:1 › should format quick bar position correct at the start of second line e2e/format-bar.spec.ts:518:1 › should format quick bar work in single block selection ────────── e2e/format-bar.spec.ts:573:1 › should format quick bar work in multiple block selection ──────── 1 skipped 87 passed (2.8m)
🎭 Playwright Run Summary
1 passed (1.6m)
🎭 Playwright Run Summary
5 failed e2e/edgeless/note/undo-redo.spec.ts:96:1 › continuous undo and redo (note block add operation) should work e2e/edgeless/paste-block.spec.ts:40:3 › pasting blocks › pasting a note block ────────────────── e2e/edgeless/paste-block.spec.ts:69:3 › pasting blocks › pasting a edgeless block ────────────── e2e/edgeless/presentation.spec.ts:85:3 › presentation › should be able to adjust order of presentation in toolbar e2e/edgeless/presentation.spec.ts:219:3 › presentation › duplicate frames should keep the presentation orders 4 skipped 88 passed (3.4m)
🎭 Playwright Run Summary
4 passed (2.5m)
🎭 Playwright Run Summary
16 failed e2e/edgeless/align.spec.ts:101:3 › auto arrange align › arrange edgeless text ────────────────── e2e/edgeless/align.spec.ts:123:3 › auto arrange align › arrange note ─────────────────────────── e2e/edgeless/align.spec.ts:155:3 › auto arrange align › arrange frame ────────────────────────── e2e/edgeless/align.spec.ts:197:3 › auto arrange align › arrange shape, note, connector, brush and edgeless text e2e/edgeless/align.spec.ts:306:3 › auto resize align › resize and arrange edgeless text ──────── e2e/edgeless/align.spec.ts:328:3 › auto resize align › resize and arrange note ───────────────── e2e/edgeless/align.spec.ts:360:3 › auto resize align › resize and arrange frame ──────────────── e2e/edgeless/align.spec.ts:402:3 › auto resize align › resize and arrange shape, note, connector, brush and text e2e/edgeless/auto-complete.spec.ts:133:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note e2e/edgeless/brush.spec.ts:153:1 › change brush element size by component-toolbar ────────────── e2e/edgeless/clipboard.spec.ts:82:3 › frame clipboard › copy and paste frame with shape elements inside e2e/edgeless/clipboard.spec.ts:103:3 › frame clipboard › copy and paste frame with group elements inside e2e/edgeless/clipboard.spec.ts:127:3 › frame clipboard › copy and paste frame with frame inside e2e/edgeless/clipboard.spec.ts:153:3 › frame clipboard › cut frame with shape elements inside ── e2e/edgeless/color-picker.spec.ts:260:3 › basic functions › should adjust alpha when clicking on the alpha control e2e/edgeless/connector/clipboard.spec.ts:114:3 › connector clipboard › original relative index should keep same when copy and paste group with note and shape 6 skipped 75 passed (5.6m)
🎭 Playwright Run Summary
2 flaky e2e/page-properties.spec.ts:199:1 › change page properties visibility ────────────────────────── e2e/page-properties.spec.ts:224:1 › check if added property is also in workspace settings ────── 1 skipped 49 passed (6.5m)
🎭 Playwright Run Summary
2 skipped 6 passed (3.3m)
🎭 Playwright Run Summary
20 failed e2e/edgeless/connector/connector.spec.ts:188:3 › quick connect › should create a connector when clicking on button e2e/edgeless/connector/connector.spec.ts:211:3 › quick connect › should be uncreated if the target is not found after clicking e2e/edgeless/connector/connector.spec.ts:277:3 › quick connect › should follow the mouse to automatically select the starting point e2e/edgeless/connector/group.spec.ts:36:3 › groups connections › should connect to other groups e2e/edgeless/connector/group.spec.ts:52:3 › groups connections › should connect to elements within other groups e2e/edgeless/connector/group.spec.ts:77:3 › groups connections › elements within groups should connect to other groups e2e/edgeless/connector/label.spec.ts:44:3 › connector label with straight shape › should insert in the middle of the path when clicking on the button e2e/edgeless/connector/label.spec.ts:79:3 › connector label with straight shape › should insert at the place when double clicking on the path e2e/edgeless/connector/label.spec.ts:129:3 › connector label with straight shape › should move alone the path e2e/edgeless/connector/label.spec.ts:186:3 › connector label with straight shape › should only move within constraints e2e/edgeless/connector/label.spec.ts:233:3 › connector label with straight shape › should automatically adjust position via offset distance e2e/edgeless/connector/label.spec.ts:307:3 › connector label with straight shape › should exit the label editing state when pressing `Mod-Enter` or `Escape` e2e/edgeless/edgeless-text.spec.ts:449:3 › edgeless text block › cut edgeless text ───────────── e2e/edgeless/element-toolbar.spec.ts:28:1 › tooltip should be hidden after clicking on button ── e2e/edgeless/frame/clipboard.spec.ts:43:3 › frame copy and paste › copy of frame should keep relationship of child elements e2e/edgeless/frame/clipboard.spec.ts:63:3 › frame copy and paste › copy of frame by alt/option dragging should keep relationship of child elements e2e/edgeless/frame/clipboard.spec.ts:102:3 › frame copy and paste › duplicate element in frame ─ e2e/edgeless/group/clipboard.spec.ts:80:3 › group clipboard › copy and paste group with shape and note inside e2e/edgeless/group/clipboard.spec.ts:102:3 › group clipboard › copy and paste group with group inside e2e/edgeless/group/clipboard.spec.ts:127:3 › group clipboard › copy and paste group with frame inside 1 skipped 76 passed (6.8m)
🎭 Playwright Run Summary
1 failed e2e/links.spec.ts:293:1 › allow switching to embed view when linking to the other document with mode 3 flaky e2e/doc-info-modal.spec.ts:51:1 › New a page and open it ,then open info modal in the title bar more action button e2e/doc-info-modal.spec.ts:63:1 › New a page, then open info modal from all doc ──────────────── e2e/links.spec.ts:73:1 › not allowed to switch to embed view when linking to the same document ─ 49 passed (7.7m)
🎭 Playwright Run Summary
4 flaky e2e/all-page.spec.ts:27:1 › all page ─────────────────────────────────────────────────────────── e2e/all-page.spec.ts:33:1 › all page can create new page ─────────────────────────────────────── e2e/blocksuite/callout/callout.spec.ts:70:1 › press backspace after callout block ────────────── e2e/blocksuite/callout/callout.spec.ts:90:1 › press backspace in callout block ───────────────── 1 skipped 48 passed (7.8m)
🎭 Playwright Run Summary
1 failed e2e/links.spec.ts:583:1 › should show edgeless content when switching card view of linked mode doc in edgeless 3 flaky e2e/links.spec.ts:491:1 › linked doc should show markdown preview in the backlink section ────── e2e/links.spec.ts:519:1 › the viewport should be fit when the linked document is with edgeless mode e2e/open-affine.spec.ts:28:1 › Download client tip ───────────────────────────────────────────── 3 skipped 46 passed (8.0m)
🎭 Playwright Run Summary
12 passed (5.8m)
🎭 Playwright Run Summary
3 failed e2e/blocksuite/outline/outline-panel.spec.ts:305:3 › TOC and edgeless selection › should select note blocks when selecting cards in TOC e2e/blocksuite/outline/outline-panel.spec.ts:431:3 › drag and drop note in outline panel › should reorder notes when drag and drop a note in outline panel e2e/blocksuite/outline/outline-panel.spec.ts:459:3 › drag and drop note in outline panel › multiple selected note cards can be dragged and dropped at same time 2 flaky e2e/blocksuite/editor.spec.ts:37:1 › link page is useable ────────────────────────────────────── e2e/blocksuite/editor.spec.ts:69:1 › append paragraph when click editor gap ──────────────────── 48 passed (10.1m)

Artifacts

Produced during runtime
Name Size
affine.darwin-arm64.node
2.75 MB
affine.darwin-x64.node
3 MB
affine.linux-x64-gnu.node
3.08 MB
affine.win32-x64-msvc.node
3.43 MB
android
63.1 MB
ios
63.1 MB
server-native.node
9.16 MB
test-results-e2e-1
38.1 MB
test-results-e2e-2
132 MB
test-results-e2e-3
43.4 MB
test-results-e2e-4
56.6 MB
test-results-e2e-5
12.6 MB
test-results-e2e-legacy-bs-1
15.6 MB
test-results-e2e-legacy-bs-10
3.22 MB
test-results-e2e-legacy-bs-2
3.33 MB
test-results-e2e-legacy-bs-3
131 MB
test-results-e2e-legacy-bs-4
152 MB
test-results-e2e-legacy-bs-5
16.6 MB
test-results-e2e-legacy-bs-6
32.1 MB
test-results-e2e-legacy-bs-7
29.2 MB
test-results-e2e-macos-latest-arm64
6.49 MB
test-results-e2e-mobile-1
4.34 MB
test-results-e2e-mobile-2
4.47 MB
test-results-e2e-server-desktop
1.19 MB
test-results-e2e-ubuntu-latest-x64
9.54 MB
test-results-e2e-windows-latest-x64
10.6 MB
web
64.3 MB