test: fix e2e (#4390)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-09-17 03:50:26 +00:00
1 parent bebe69d483
commit 40e094dcdd
5 files changed
+13 -7

No files matched your search

+1 -1
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 }) => {