Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

test: update quick-search test case

JimmFlyc0e0629659c8
diff --git a/tests/quick-search.spec.ts b/tests/quick-search.spec.ts
index 07c249f7f4..4526a7e447 100644
--- a/tests/quick-search.spec.ts
+++ b/tests/quick-search.spec.ts
@@ -15,8 +15,8 @@ async function assertTitleTexts(page: Page, texts: string, isSearch?: boolean) {
document.querySelector('.affine-default-page-block-title')
);
return titleElement.value;
- expect(actual).toEqual(texts);
});
+ expect(actual).toEqual(texts);
} else {
const actual = await page.title();
expect(actual).toEqual(texts);
@@ -78,7 +78,7 @@ test.describe('Add new page in quick search', () => {
});
test.describe('Search and select', () => {
- test.skip('Create a new page and search this page', async ({ page }) => {
+ test('Create a new page and search this page', async ({ page }) => {
await newPage(page);
await openQuickSearchByShortcut(page);
await page.keyboard.insertText('test123456');