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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
test: add timeout for page list
himself65bdb1264f0965
diff --git a/tests/parallels/affine/affine-public-workspace.spec.ts b/tests/parallels/affine/affine-public-workspace.spec.tsindex 8a7fee1018..14e43d5025 100644--- a/tests/parallels/affine/affine-public-workspace.spec.ts+++ b/tests/parallels/affine/affine-public-workspace.spec.ts@@ -10,9 +10,9 @@ import { createWorkspace } from '../../libs/workspace';test.describe('affine public workspace', () => {test('enable public workspace', async ({ page, context }) => {await openHomePage(page);- await waitMarkdownImported(page);const [a] = await createFakeUser();await loginUser(page, a);+ await waitMarkdownImported(page);const name = `test-${Date.now()}`;await createWorkspace({ name }, page);await waitMarkdownImported(page);@@ -34,7 +34,9 @@ test.describe('affine public workspace', () => {);const page2 = await context.newPage();await page2.goto(url);- await page2.waitForSelector('thead');+ await page2.waitForSelector('thead', {+ timeout: 10000,+ });await page2.getByText('Welcome to AFFiNE').click();});});