Use language-step Skip · locale button in completeOnboarding

Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-10-06 13:47:16 +00:00
parent b0ec12ec6c
commit 2d5bb7ea35
No known key found for this signature in database
2 changed files with 6 additions and 3 deletions

View File

@ -8,8 +8,11 @@ test("onboarding names the first Oo and shows it in chat", async ({ page }) => {
await page.getByRole("button", { name: /^(Continue|Weiter)$/i }).click();
await expect(page.getByTestId("onboarding-name-step")).toBeVisible();
await page.getByTestId("onboarding-oo-name-input").fill("Luna");
await page.getByTestId("onboarding-name-step").getByRole("button", { name: "Continue" }).click();
await page.getByRole("button", { name: /Skip/i }).click();
await page
.getByTestId("onboarding-name-step")
.getByRole("button", { name: /^(Continue|Weiter)$/i })
.click();
await page.getByRole("button", { name: /^(Skip|Überspringen ·)/i }).click();
await page.getByRole("button", { name: /^(Skip|Überspringen)$/i }).click();
await expect(page).toHaveURL(/\/app\/g\/[^/]+/, { timeout: 30_000 });
await expect(

View File

@ -144,7 +144,7 @@ export async function completeOnboarding(
await page.getByRole("button", { name: onboardingSkipButton }).click();
}
await expect(language).toBeVisible();
await page.getByRole("button", { name: onboardingSkipButton }).click();
await page.getByRole("button", { name: onboardingLanguageSkipButton }).click();
await expect(voice).toBeVisible();
await page.getByRole("button", { name: onboardingSkipButton }).click();
}