fix: correct router logic (#2342)

This commit is contained in:
Himself65 authored and GitHub committed 2023-05-12 00:55:45 -05:00
1 parent 10b4558947
commit 21fdced2bd
24 files changed
+206 -332

No files matched your search

+1 -3
View File
@@ -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();