mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 00:56:26 +08:00
test(core): fix flaky (#4597)
This commit is contained in:
@@ -9,7 +9,9 @@ test('goto not found page', async ({ page }) => {
|
||||
const currentUrl = page.url();
|
||||
const invalidUrl = currentUrl.replace('hello-world', 'invalid');
|
||||
await page.goto(invalidUrl);
|
||||
await expect(page.getByTestId('not-found')).toBeVisible();
|
||||
await expect(page.getByTestId('not-found')).toBeVisible({
|
||||
timeout: 10000,
|
||||
});
|
||||
});
|
||||
|
||||
test('goto not found workspace', async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user