mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 18:02:47 +08:00
refactor: lazy load workspaces (#3091)
This commit is contained in:
@@ -8,9 +8,9 @@ test('goto not found page', async ({ page }) => {
|
||||
await openHomePage(page);
|
||||
await waitEditorLoad(page);
|
||||
const currentUrl = page.url();
|
||||
const invalidUrl = currentUrl.replace(/\/$/, '') + '/invalid';
|
||||
const invalidUrl = currentUrl.replace('hello-world', 'invalid');
|
||||
await page.goto(invalidUrl);
|
||||
await expect(page.getByTestId('notFound').isVisible()).toBeTruthy();
|
||||
await expect(page.getByTestId('notFound')).toBeVisible();
|
||||
});
|
||||
|
||||
test('goto not found workspace', async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user