feat(edgeless): store real color values in edgeless #9125
Annotations
5 errors, 1 warning, and 1 notice
Run playwright test:
tests/utils/asserts.ts#L1086
1) edgeless/note/note.spec.ts:299:1 › change note color ──────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "#cdcdcd"
Received: "#c9f8c1"
at utils/asserts.ts:1086
1084 | });
1085 |
> 1086 | expect(toHex(backgroundColor)).toEqual(color);
| ^
1087 | }
1088 |
1089 | function toHex(color: string) {
at assertEdgelessNoteBackground (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1086:34)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:314:3
|
Run playwright test:
tests/utils/asserts.ts#L1086
1) edgeless/note/note.spec.ts:299:1 › change note color ──────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "#cdcdcd"
Received: "#c9f8c1"
at utils/asserts.ts:1086
1084 | });
1085 |
> 1086 | expect(toHex(backgroundColor)).toEqual(color);
| ^
1087 | }
1088 |
1089 | function toHex(color: string) {
at assertEdgelessNoteBackground (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1086:34)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:314:3
|
Run playwright test:
tests/utils/asserts.ts#L1086
1) edgeless/note/note.spec.ts:299:1 › change note color ──────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "#cdcdcd"
Received: "#c9f8c1"
at utils/asserts.ts:1086
1084 | });
1085 |
> 1086 | expect(toHex(backgroundColor)).toEqual(color);
| ^
1087 | }
1088 |
1089 | function toHex(color: string) {
at assertEdgelessNoteBackground (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1086:34)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:314:3
|
Run playwright test:
tests/utils/asserts.ts#L1086
1) edgeless/note/note.spec.ts:299:1 › change note color ──────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "#cdcdcd"
Received: "#c9f8c1"
at utils/asserts.ts:1086
1084 | });
1085 |
> 1086 | expect(toHex(backgroundColor)).toEqual(color);
| ^
1087 | }
1088 |
1089 | function toHex(color: string) {
at assertEdgelessNoteBackground (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:1086:34)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/note.spec.ts:314:3
|
Run playwright test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run playwright test
1 failed
edgeless/note/note.spec.ts:299:1 › change note color ───────────────────────────────────────────
2 skipped
46 passed (1.1m)
|
Loading