fix: test error (#1628)

This commit is contained in:
Himself65 authored and GitHub committed 2023-03-21 10:58:23 +08:00
1 parent b3206b1682
commit 1ba750d89c
4 files changed
+6 -2

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import { uuidv4 } from '@blocksuite/store';
import { expect } from '@playwright/test';
import { nanoid } from 'nanoid';
import userA from '../fixtures/userA.json';
import { test } from '../libs/playwright';
@@ -28,7 +28,7 @@ test.describe('affine workspace', () => {
await openHomePage(page);
const [a] = await createFakeUser();
await loginUser(page, a);
const name = `test-${uuidv4()}`;
const name = `test-${nanoid()}`;
await createWorkspace({ name }, page);
await page.waitForTimeout(50);
await clickSideBarSettingButton(page);