Use language-step Skip · locale button in completeOnboarding
Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
parent
b0ec12ec6c
commit
2d5bb7ea35
@ -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(
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user