test: update quick-search test case

This commit is contained in:
JimmFly 2023-02-06 17:24:30 +08:00
parent 66d2033cda
commit dd127bc68d

View File

@ -81,6 +81,7 @@ test.describe('Search and select', () => {
const addNewPage = page.locator('[data-testid=quickSearch-addNewPage]'); const addNewPage = page.locator('[data-testid=quickSearch-addNewPage]');
await addNewPage.click(); await addNewPage.click();
await page.waitForTimeout(200); await page.waitForTimeout(200);
await assertTitleTexts(page, 'test123456');
await openQuickSearchByShortcut(page); await openQuickSearchByShortcut(page);
await page.keyboard.insertText('test123456'); await page.keyboard.insertText('test123456');
await assertResultList(page, ['test123456']); await assertResultList(page, ['test123456']);