fix: on hover logic and css selector on icon (#6050) #128
Annotations
10 errors and 1 notice
tests/attachment.spec.ts#L1
1) attachment.spec.ts:265:1 › should rename attachment works ─────────────────────────────────────
Test finished within timeout of 30000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
tests/utils/asserts.ts#L144
2) basic.spec.ts:349:1 › should undo/redo cursor works on title ──────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "title2"
Received: "2title"
at utils/asserts.ts:144
142 | const inlineEditor = editor.locator('.doc-title-container').first();
143 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText());
> 144 | expect(vText).toBe(text);
| ^
145 | }
146 |
147 | export async function assertInlineEditorDeltas(
at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:144:17)
at /home/runner/work/blocksuite/blocksuite/tests/basic.spec.ts:369:3
|
tests/utils/actions/misc.ts#L247
3) bookmark.spec.ts:147:1 › covert bookmark block to link 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: Failed to parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
tests/utils/actions/misc.ts#L247
3) bookmark.spec.ts:147:1 › covert bookmark block to link 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: Failed to parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
tests/utils/actions/misc.ts#L247
3) bookmark.spec.ts:147:1 › covert bookmark block to link 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: Failed to parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
tests/utils/actions/misc.ts#L247
4) bookmark.spec.ts:238:1 › copy url to create bookmark 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: Failed to parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
tests/utils/actions/misc.ts#L247
4) bookmark.spec.ts:238:1 › copy url to create bookmark 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: Failed to parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
tests/utils/actions/misc.ts#L247
4) bookmark.spec.ts:238:1 › copy url to create bookmark 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: Failed to parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
tests/utils/asserts.ts#L627
4) bookmark.spec.ts:238:1 › copy url to create bookmark in edgeless mode ─────────────────────────
Error: <affine:page>
<affine:surface />
<affine:note
prop:background="--affine-background-secondary-color"
prop:displayMode="both"
prop:edgeless={
Object {
"style": Object {
"borderRadius": 8,
"borderSize": 4,
"borderStyle": "solid",
"shadowType": "--affine-note-shadow-box",
},
}
}
prop:hidden={false}
prop:index="a0"
>
<affine:paragraph
prop:text="http://localhost"
prop:type="text"
/>
</affine:note>
</affine:page>
expect(received).toEqual(expected) // deep equality
- Expected - 11
+ Received + 0
@@ -18,18 +18,7 @@
>
<affine:paragraph
prop:text="http://localhost"
prop:type="text"
/>
- <affine:bookmark
- prop:caption={null}
- prop:description={null}
- prop:icon={null}
- prop:image={null}
- prop:index="a0"
- prop:rotate={0}
- prop:style="horizontal"
- prop:title={null}
- prop:url="http://localhost"
- />
</affine:note>
</affine:page>
at utils/asserts.ts:627
625 | printFunctionName: false,
626 | });
> 627 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
628 | }
629 |
630 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:627:38)
at /home/runner/work/blocksuite/blocksuite/tests/bookmark.spec.ts:256:3
|
tests/utils/actions/misc.ts#L247
5) bookmark.spec.ts:296:1 › support dragging bookmark block directly ─────────────────────────────
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 parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:247
245 | expect
246 | .soft('Unexpected console message: ' + message.text())
> 247 | .toBe(
| ^
248 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
249 | );
250 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:247:10)
|
5 flaky
attachment.spec.ts:265:1 › should rename attachment works ──────────────────────────────────────
basic.spec.ts:349:1 › should undo/redo cursor works on title ───────────────────────────────────
bookmark.spec.ts:147:1 › covert bookmark block to link text ────────────────────────────────────
bookmark.spec.ts:238:1 › copy url to create bookmark in edgeless mode ──────────────────────────
bookmark.spec.ts:296:1 › support dragging bookmark block directly ──────────────────────────────
16 skipped
44 passed (3.1m)
|
The logs for this run have expired and are no longer available.
Loading