refactor(database): context-menu ui and ux #6630
Annotations
10 errors and 1 notice
tests/database/statistics.spec.ts#L54
1) database/statistics.spec.ts:44:3 › title › empty count ────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-database-cell-container').first()
- locator resolved to <affine-database-cell-container data-row-id="4" data-row-index="0" data-column-id="3" class="database-cell" data-column-index="0">…</affine-database-cell-container>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling
|
tests/database/statistics.spec.ts#L54
1) database/statistics.spec.ts:44:3 › title › empty count ────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-database-cell-container').first()
- locator resolved to <affine-database-cell-container data-row-id="4" data-row-index="0" data-column-id="3" class="database-cell" data-column-index="0">…</affine-database-cell-container>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #12
- waiting 500ms
- waiting for element
|
tests/database/statistics.spec.ts#L54
1) database/statistics.spec.ts:44:3 › title › empty count ────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-database-cell-container').first()
- locator resolved to <affine-database-cell-container data-row-id="4" data-row-index="0" data-column-id="3" class="database-cell" data-column-index="0">…</affine-database-cell-container>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #12
- waiting 500ms
- waiting for element
|
tests/database/statistics.spec.ts#L54
1) database/statistics.spec.ts:44:3 › title › empty count ────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-database-cell-container').first()
- locator resolved to <affine-database-cell-container data-row-id="4" data-row-index="0" data-column-id="3" class="database-cell" data-column-index="0">…</affine-database-cell-container>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div>…</div> intercepts pointer events
- retrying click action, attempt #12
- waiting 500ms
- waiting for element
|
tests/database/actions.ts#L559
2) database/statistics.spec.ts:63:3 › rich-text › empty count ────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-database-header-column').nth(1)
at database/actions.ts:559
557 | ) => {
558 | await waitNextFrame(page);
> 559 | await page.locator('affine-database-header-column').nth(column).click();
| ^
560 | await pressKey(page, 'ArrowDown', 2);
561 | await pressKey(page, 'Enter');
562 | await type(page, name);
at changeColumnType (/home/runner/work/blocksuite/blocksuite/tests/database/actions.ts:559:67)
at /home/runner/work/blocksuite/blocksuite/tests/database/statistics.spec.ts:68:5
|
tests/database/actions.ts#L559
2) database/statistics.spec.ts:63:3 › rich-text › empty count ────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-database-header-column').nth(1)
at database/actions.ts:559
557 | ) => {
558 | await waitNextFrame(page);
> 559 | await page.locator('affine-database-header-column').nth(column).click();
| ^
560 | await pressKey(page, 'ArrowDown', 2);
561 | await pressKey(page, 'Enter');
562 | await type(page, name);
at changeColumnType (/home/runner/work/blocksuite/blocksuite/tests/database/actions.ts:559:67)
at /home/runner/work/blocksuite/blocksuite/tests/database/statistics.spec.ts:68:5
|
tests/database/actions.ts#L559
2) database/statistics.spec.ts:63:3 › rich-text › empty count ────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-database-header-column').nth(1)
at database/actions.ts:559
557 | ) => {
558 | await waitNextFrame(page);
> 559 | await page.locator('affine-database-header-column').nth(column).click();
| ^
560 | await pressKey(page, 'ArrowDown', 2);
561 | await pressKey(page, 'Enter');
562 | await type(page, name);
at changeColumnType (/home/runner/work/blocksuite/blocksuite/tests/database/actions.ts:559:67)
at /home/runner/work/blocksuite/blocksuite/tests/database/statistics.spec.ts:68:5
|
tests/database/actions.ts#L559
2) database/statistics.spec.ts:63:3 › rich-text › empty count ────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-database-header-column').nth(1)
at database/actions.ts:559
557 | ) => {
558 | await waitNextFrame(page);
> 559 | await page.locator('affine-database-header-column').nth(column).click();
| ^
560 | await pressKey(page, 'ArrowDown', 2);
561 | await pressKey(page, 'Enter');
562 | await type(page, name);
at changeColumnType (/home/runner/work/blocksuite/blocksuite/tests/database/actions.ts:559:67)
at /home/runner/work/blocksuite/blocksuite/tests/database/statistics.spec.ts:68:5
|
tests/database/actions.ts#L559
3) database/statistics.spec.ts:84:3 › select › empty count ───────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-database-header-column').nth(1)
at database/actions.ts:559
557 | ) => {
558 | await waitNextFrame(page);
> 559 | await page.locator('affine-database-header-column').nth(column).click();
| ^
560 | await pressKey(page, 'ArrowDown', 2);
561 | await pressKey(page, 'Enter');
562 | await type(page, name);
at changeColumnType (/home/runner/work/blocksuite/blocksuite/tests/database/actions.ts:559:67)
at /home/runner/work/blocksuite/blocksuite/tests/database/statistics.spec.ts:89:5
|
tests/database/actions.ts#L559
3) database/statistics.spec.ts:84:3 › select › empty count ───────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-database-header-column').nth(1)
at database/actions.ts:559
557 | ) => {
558 | await waitNextFrame(page);
> 559 | await page.locator('affine-database-header-column').nth(column).click();
| ^
560 | await pressKey(page, 'ArrowDown', 2);
561 | await pressKey(page, 'Enter');
562 | await type(page, name);
at changeColumnType (/home/runner/work/blocksuite/blocksuite/tests/database/actions.ts:559:67)
at /home/runner/work/blocksuite/blocksuite/tests/database/statistics.spec.ts:89:5
|
3 failed
database/statistics.spec.ts:44:3 › title › empty count ─────────────────────────────────────────
database/statistics.spec.ts:63:3 › rich-text › empty count ─────────────────────────────────────
database/statistics.spec.ts:84:3 › select › empty count ────────────────────────────────────────
43 passed (1.6m)
|
This job failed
Loading