mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 00:56:26 +08:00
test: fix flaky create template doc e2e (#11863)
This commit is contained in:
@@ -237,9 +237,9 @@ test('open template doc from sidebar template entrance', async ({ page }) => {
|
||||
|
||||
test('create template doc from sidebar template entrance', async ({ page }) => {
|
||||
await openHomePage(page);
|
||||
await waitForEditorLoad(page);
|
||||
await page.getByTestId('sidebar-template-doc-entrance').click();
|
||||
await page.getByTestId('template-doc-item-create').click();
|
||||
await waitForEditorLoad(page);
|
||||
|
||||
await page.locator('affine-note').first().click();
|
||||
await page.keyboard.press('Backspace');
|
||||
|
||||
Reference in New Issue
Block a user