PAP-10430: update onboarding task button selectors

This commit is contained in:
Dotta committed 2026-06-06 13:27:27 +00:00
1 parent 5f0a3cac3f
commit 53e180d7de
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -109,7 +109,7 @@ test.describe("Onboarding wizard", () => {
await expect(page.locator("text=" + AGENT_NAME)).toBeVisible();
await expect(page.locator("text=" + TASK_TITLE)).toBeVisible();
await page.getByRole("button", { name: "Create & Open Issue" }).click();
await page.getByRole("button", { name: "Create & Open Task" }).click();
await expect(page).toHaveURL(/\/issues\//, { timeout: 30_000 });
@@ -61,7 +61,7 @@ test("captures planning mode UI for desktop and mobile", async ({ page }) => {
await page.getByRole("button", { name: "Next" }).click();
await expect(page.locator("h3", { hasText: "Ready to launch" })).toBeVisible({ timeout: 30_000 });
await page.getByRole("button", { name: "Create & Open Issue" }).click();
await page.getByRole("button", { name: "Create & Open Task" }).click();
await expect(page).toHaveURL(/\/issues\//, { timeout: 30_000 });
const openedIssueUrl = page.url();
@@ -69,7 +69,7 @@ test.describe("Docker authenticated onboarding smoke", () => {
await expect(page.getByText(AGENT_NAME)).toBeVisible();
await expect(page.getByText(TASK_TITLE)).toBeVisible();
await page.getByRole("button", { name: "Create & Open Issue" }).click();
await page.getByRole("button", { name: "Create & Open Task" }).click();
await expect(page).toHaveURL(/\/issues\//, { timeout: 10_000 });
const baseUrl = new URL(page.url()).origin;