mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 07:51:45 +03:00
test: fix bug of test case
This commit is contained in:
parent
10087761c8
commit
8b827c2f37
@ -54,6 +54,7 @@ test.describe('Add new page in quick search', () => {
|
||||
await openQuickSearchByShortcut(page);
|
||||
const addNewPage = page.locator('[data-testid=quickSearch-addNewPage]');
|
||||
await addNewPage.click();
|
||||
await page.waitForTimeout(200);
|
||||
await assertTitleTexts(page, ['']);
|
||||
});
|
||||
|
||||
@ -63,6 +64,7 @@ test.describe('Add new page in quick search', () => {
|
||||
await page.keyboard.insertText('test123456');
|
||||
const addNewPage = page.locator('[data-testid=quickSearch-addNewPage]');
|
||||
await addNewPage.click();
|
||||
await page.waitForTimeout(200);
|
||||
await assertTitleTexts(page, ['test123456']);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user