refactor(database): avoid modifying all views when editing a single view #7673
Annotations
5 errors and 1 notice
Run playwright test:
tests/database/column.spec.ts#L57
1) database/column.spec.ts:39:3 › column operations › should support rename column ───────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "abc123"
Received: "abc"
55 | expect(await textElement.innerText()).toBe('abc');
56 | await redoByClick(page);
> 57 | expect(await textElement.innerText()).toBe('abc123');
| ^
58 | });
59 |
60 | test('should support add new column', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:57:43
|
Run playwright test:
tests/database/column.spec.ts#L57
1) database/column.spec.ts:39:3 › column operations › should support rename column ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "abc123"
Received: "abc"
55 | expect(await textElement.innerText()).toBe('abc');
56 | await redoByClick(page);
> 57 | expect(await textElement.innerText()).toBe('abc123');
| ^
58 | });
59 |
60 | test('should support add new column', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:57:43
|
Run playwright test:
tests/database/column.spec.ts#L57
1) database/column.spec.ts:39:3 › column operations › should support rename column ───────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "abc123"
Received: "abc"
55 | expect(await textElement.innerText()).toBe('abc');
56 | await redoByClick(page);
> 57 | expect(await textElement.innerText()).toBe('abc123');
| ^
58 | });
59 |
60 | test('should support add new column', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:57:43
|
Run playwright test:
tests/database/column.spec.ts#L57
1) database/column.spec.ts:39:3 › column operations › should support rename column ───────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "abc123"
Received: "abc"
55 | expect(await textElement.innerText()).toBe('abc');
56 | await redoByClick(page);
> 57 | expect(await textElement.innerText()).toBe('abc123');
| ^
58 | });
59 |
60 | test('should support add new column', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:57:43
|
Run playwright test
Process completed with exit code 1.
|
Run playwright test
1 failed
database/column.spec.ts:39:3 › column operations › should support rename column ────────────────
4 skipped
43 passed (57.6s)
|
Loading