test: fix e2e (#4390)

This commit is contained in:
Alex Yang
2023-09-16 20:50:26 -07:00
committed by GitHub
parent bebe69d483
commit 40e094dcdd
5 changed files with 13 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ 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('notFound')).toBeVisible();
await expect(page.getByTestId('not-found')).toBeVisible();
});
test('goto not found workspace', async ({ page }) => {