refactor(editor): refactor page note empty checker (#9570) #22096
Annotations
5 errors, 1 warning, and 1 notice
blocksuite/tests-legacy/utils/actions/misc.ts#L332
1) edgeless/clipboard.spec.ts:176:3 › pasting URLs › pasting github pr url ───────────────────────
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: Failed to load resource: the server responded with a status of 403 ()"
at utils/actions/misc.ts:332
330 | expect
331 | .soft('Unexpected console message: ' + message.text())
> 332 | .toBe(
| ^
333 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
334 | );
335 | }
at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/actions/misc.ts:332:10)
|
blocksuite/tests-legacy/utils/actions/misc.ts#L332
1) edgeless/clipboard.spec.ts:176:3 › pasting URLs › pasting github pr url ───────────────────────
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: Failed to load resource: the server responded with a status of 403 ()"
at utils/actions/misc.ts:332
330 | expect
331 | .soft('Unexpected console message: ' + message.text())
> 332 | .toBe(
| ^
333 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
334 | );
335 | }
at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/actions/misc.ts:332:10)
|
blocksuite/tests-legacy/utils/actions/misc.ts#L332
1) edgeless/clipboard.spec.ts:176:3 › pasting URLs › pasting github pr url ───────────────────────
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: Failed to load resource: the server responded with a status of 403 ()"
at utils/actions/misc.ts:332
330 | expect
331 | .soft('Unexpected console message: ' + message.text())
> 332 | .toBe(
| ^
333 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
334 | );
335 | }
at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/actions/misc.ts:332:10)
|
blocksuite/tests-legacy/utils/actions/misc.ts#L332
1) edgeless/clipboard.spec.ts:176:3 › pasting URLs › pasting github pr url ───────────────────────
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: Failed to load resource: the server responded with a status of 403 ()"
at utils/actions/misc.ts:332
330 | expect
331 | .soft('Unexpected console message: ' + message.text())
> 332 | .toBe(
| ^
333 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
334 | );
335 | }
at Page.<anonymous> (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/actions/misc.ts:332:10)
|
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
This job failed
Loading