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: enable affine workspace test (#1625)
Himself65b3206b168204
diff --git a/tests/parallels/affine-workspace.spec.ts b/tests/parallels/affine-workspace.spec.tsindex aa66bb8672..873ce25e9d 100644--- a/tests/parallels/affine-workspace.spec.ts+++ b/tests/parallels/affine-workspace.spec.ts@@ -1,3 +1,4 @@+import { uuidv4 } from '@blocksuite/store';import { expect } from '@playwright/test';import userA from '../fixtures/userA.json';@@ -23,12 +24,12 @@ test.describe('affine workspace', () => {expect(await footer.getByText(userA.email).isVisible()).toBe(true);});- // fixme: skip this because of duplicated creation of workspace may cause error- test.skip('should enable affine workspace successfully', async ({ page }) => {+ test('should enable affine workspace successfully', async ({ page }) => {await openHomePage(page);const [a] = await createFakeUser();await loginUser(page, a);- await createWorkspace({ name: 'test1' }, page);+ const name = `test-${uuidv4()}`;+ await createWorkspace({ name }, page);await page.waitForTimeout(50);await clickSideBarSettingButton(page);await page.waitForTimeout(50);