fix(core): fix menu shaking (#8187) #1
Annotations
4 errors and 1 notice
tests/affine-local/e2e/local-first-avatar.spec.ts#L1
1) local-first-avatar.spec.ts:11:5 › should create a page with a local first avatar and remove it
Test timeout of 50000ms exceeded.
|
tests/affine-local/e2e/local-first-avatar.spec.ts#L25
1) local-first-avatar.spec.ts:11:5 › should create a page with a local first avatar and remove it
Error: locator.click: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByTestId('settings-modal-trigger')
- locator resolved to <span data-testid="settings-modal-trigger">Settings</span>
- 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
- <html lang="en-US" data-theme="light">…</html> 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
- <html lang="en-US" data-theme="light">…</html> 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
23 | await page.getByTestId('workspace-name').click();
24 | await page.getByTestId('workspace-card').nth(1).click();
> 25 | await page.getByTestId('settings-modal-trigger').click();
| ^
26 | await page.getByTestId('current-workspace-label').click();
27 | await page
28 | .getByTestId('upload-avatar')
at /home/runner/work/AFFiNE-Contribution/AFFiNE-Contribution/tests/affine-local/e2e/local-first-avatar.spec.ts:25:52
|
tests/affine-local/e2e/local-first-collections-items.spec.ts#L1
2) local-first-collections-items.spec.ts:67:5 › Show collections items in sidebar ────────────────
Test timeout of 50000ms exceeded.
|
tests/affine-local/e2e/local-first-collections-items.spec.ts#L84
2) local-first-collections-items.spec.ts:67:5 › Show collections items in sidebar ────────────────
Error: locator.click: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByText('Move to trash')
- locator resolved to <span class="styles_menuSpan__njwon25">Move to trash</span>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #3
- waiting 100ms
82 | .click();
83 | const deletePage = page.getByText('Move to trash');
> 84 | await deletePage.click();
| ^
85 | await page.getByTestId('confirm-modal-confirm').click();
86 | expect(await first.locator('[data-testid^="explorer-doc-"]').count()).toBe(0);
87 | // position is a workaround for the hover issue when empty collection status's height > 26px (will cause scroll)
at /home/runner/work/AFFiNE-Contribution/AFFiNE-Contribution/tests/affine-local/e2e/local-first-collections-items.spec.ts:84:20
|
|
This job succeeded
Loading