mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
test: fix flaky (#1953)
This commit is contained in:
@@ -20,7 +20,7 @@ test.describe('Open AFFiNE', () => {
|
||||
const workspaceCards = await page.$$('data-testid=workspace-card');
|
||||
expect(workspaceCards.length).toBe(2);
|
||||
await workspaceCards[1].click();
|
||||
await page.goto('http://localhost:8080');
|
||||
await openHomePage(page);
|
||||
|
||||
const workspaceNameDom = await page.getByTestId('workspace-name');
|
||||
const currentWorkspaceName = await workspaceNameDom.evaluate(
|
||||
|
||||
Reference in New Issue
Block a user