fix: correct router logic (#2342)
This commit is contained in:
1 parent
10b4558947
commit
21fdced2bd
24 files changed
+206
-332
No files matched your search
@@ -9,9 +9,7 @@ test('Open last workspace when back to affine', async ({ page }) => {
|
||||
await openHomePage(page);
|
||||
await waitMarkdownImported(page);
|
||||
await createWorkspace({ name: 'New Workspace 2' }, page);
|
||||
// FIXME: can not get when the new workspace is surely created, hack a timeout to wait
|
||||
// waiting for page loading end
|
||||
await page.waitForTimeout(3000);
|
||||
await waitMarkdownImported(page);
|
||||
// show workspace list
|
||||
await page.getByTestId('workspace-name').click();
|
||||
|
||||
|
||||
Reference in new issue
Block a user