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 currentUrl = page.url();
|
||||||
const invalidUrl = currentUrl.replace('hello-world', 'invalid');
|
const invalidUrl = currentUrl.replace('hello-world', 'invalid');
|
||||||
await page.goto(invalidUrl);
|
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 }) => {
|
test('goto not found workspace', async ({ page }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user