Skip to content

Commit 5a93aa6

Browse files
committed
Updated e2e tests because of text changes
1 parent 6b47148 commit 5a93aa6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/e2e/e2e.spec.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ test("Create an account", async ({ page }) => {
1515
await page.getByLabel("Project name").type("Test Project");
1616
await page.getByRole("button", { name: "Create" }).click();
1717

18-
await expect(page.locator("h1").filter({ hasText: /^Jobs$/ })).toBeVisible();
18+
await expect(
19+
page.locator("h1").filter({ hasText: /^Choose a framework to get started/ })
20+
).toBeVisible();
1921
});
2022

2123
test("Verify jobs from the test nextjs project", async ({ page }) => {
@@ -26,7 +28,9 @@ test("Verify jobs from the test nextjs project", async ({ page }) => {
2628
await page.getByRole("button", { name: "Send a magic link" }).click();
2729

2830
await page.getByRole("link", { name: /Test Project/ }).click();
29-
await expect(page.locator("h1").filter({ hasText: /^Jobs$/ })).toBeVisible();
31+
await expect(
32+
page.locator("h1").filter({ hasText: /^Choose a framework to get started/ })
33+
).toBeVisible();
3034

3135
await page.getByRole("link", { name: "Environments & API Keys" }).click();
3236
await expect(page.locator("h1").filter({ hasText: "Environments & API Keys" })).toBeVisible();

0 commit comments

Comments
 (0)