refactor(editor): modular custom specs #26400
Annotations
2 errors and 1 notice
Run playwright tests:
tests/affine-local/e2e/links.spec.ts#L320
1) e2e/links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-embed-card-toolbar').getByLabel('Switch view')
318 | // refocus
319 | await cardLink.click();
> 320 | await cardToolbar.getByLabel('Switch view').click();
| ^
321 |
322 | await clickable(cardToolbar.getByLabel('Inline view'));
323 | await notClickable(cardToolbar.getByLabel('Card view'));
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:320:47
|
Run playwright tests:
tests/affine-local/e2e/links.spec.ts#L625
2) e2e/links.spec.ts:583:1 › should show edgeless content when switching card view of linked mode doc in edgeless
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByLabel('Switch view')
623 | .waitFor({ state: 'visible' });
624 | await page.mouse.click(x - 50, y - 50);
> 625 | await page.getByLabel('Switch view').click();
| ^
626 | await page.getByTestId('link-to-embed').click();
627 |
628 | const viewport = await page
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:625:40
|
Run playwright tests
2 flaky
e2e/links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode
e2e/links.spec.ts:583:1 › should show edgeless content when switching card view of linked mode doc in edgeless
48 passed (6.5m)
|
Loading