refactor: workspace manager (#5060)
This commit is contained in:
@@ -20,6 +20,7 @@ test('goto not found workspace', async ({ page }) => {
|
||||
// if doesn't wait for timeout, data won't be saved into indexedDB
|
||||
await page.waitForTimeout(1000);
|
||||
await page.goto(new URL('/workspace/invalid/all', coreUrl).toString());
|
||||
await page.waitForTimeout(3000);
|
||||
expect(page.url()).toBe(new URL('/404', coreUrl).toString());
|
||||
await expect(page.getByTestId('not-found')).toBeVisible({
|
||||
timeout: 10000,
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user