refactor: support multiple-editors #15037
Annotations
7 errors, 1 warning, and 1 notice
Run playwright test:
tests/utils/asserts.ts#L621
1) code.spec.ts:253:1 › change code language can work ────────────────────────────────────────────
Error: <affine:code
prop:language="rust"
/>
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
<affine:code
- prop:language="Plain Text"
+ prop:language="rust"
/>
at utils/asserts.ts:621
619 | printFunctionName: false,
620 | });
> 621 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
622 | }
623 |
624 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:621:38)
at /home/runner/work/blocksuite/blocksuite/tests/code.spec.ts:278:3
|
Run playwright test:
tests/utils/asserts.ts#L621
1) code.spec.ts:253:1 › change code language can work ────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: <affine:code
prop:language="rust"
/>
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
<affine:code
- prop:language="Plain Text"
+ prop:language="rust"
/>
at utils/asserts.ts:621
619 | printFunctionName: false,
620 | });
> 621 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
622 | }
623 |
624 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:621:38)
at /home/runner/work/blocksuite/blocksuite/tests/code.spec.ts:278:3
|
Run playwright test:
tests/utils/asserts.ts#L621
1) code.spec.ts:253:1 › change code language can work ────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: <affine:code
prop:language="rust"
/>
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
<affine:code
- prop:language="Plain Text"
+ prop:language="rust"
/>
at utils/asserts.ts:621
619 | printFunctionName: false,
620 | });
> 621 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
622 | }
623 |
624 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:621:38)
at /home/runner/work/blocksuite/blocksuite/tests/code.spec.ts:278:3
|
Run playwright test:
tests/utils/asserts.ts#L621
1) code.spec.ts:253:1 › change code language can work ────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: <affine:code
prop:language="rust"
/>
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
<affine:code
- prop:language="Plain Text"
+ prop:language="rust"
/>
at utils/asserts.ts:621
619 | printFunctionName: false,
620 | });
> 621 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
622 | }
623 |
624 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:621:38)
at /home/runner/work/blocksuite/blocksuite/tests/code.spec.ts:278:3
|
Run playwright test:
tests/clipboard.spec.ts#L1
2) clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ─────────────────
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/keyboard.ts#L159
2) clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ─────────────────
Error: keyboard.press: Test timeout of 30000ms exceeded.
at utils/actions/keyboard.ts:159
157 | }
158 |
> 159 | await page.keyboard.press(`${SHORT_KEY}+v`, { delay: 50 });
| ^
160 | }
161 |
162 | export async function createCodeBlock(page: Page) {
at pasteByKeyboard (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:159:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1031:9
|
Run playwright test
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run playwright test
1 failed
code.spec.ts:253:1 › change code language can work ─────────────────────────────────────────────
1 flaky
clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ──────────────────
7 skipped
55 passed (3.0m)
|
The logs for this run have expired and are no longer available.
Loading