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 page.getByRole("button", { name: /^(Continue|Weiter)$/i }).click();
|
||||||
await expect(page.getByTestId("onboarding-name-step")).toBeVisible();
|
await expect(page.getByTestId("onboarding-name-step")).toBeVisible();
|
||||||
await page.getByTestId("onboarding-oo-name-input").fill("Luna");
|
await page.getByTestId("onboarding-oo-name-input").fill("Luna");
|
||||||
await page.getByTestId("onboarding-name-step").getByRole("button", { name: "Continue" }).click();
|
await page
|
||||||
await page.getByRole("button", { name: /Skip/i }).click();
|
.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 page.getByRole("button", { name: /^(Skip|Überspringen)$/i }).click();
|
||||||
await expect(page).toHaveURL(/\/app\/g\/[^/]+/, { timeout: 30_000 });
|
await expect(page).toHaveURL(/\/app\/g\/[^/]+/, { timeout: 30_000 });
|
||||||
await expect(
|
await expect(
|
||||||
|
|||||||
@ -144,7 +144,7 @@ export async function completeOnboarding(
|
|||||||
await page.getByRole("button", { name: onboardingSkipButton }).click();
|
await page.getByRole("button", { name: onboardingSkipButton }).click();
|
||||||
}
|
}
|
||||||
await expect(language).toBeVisible();
|
await expect(language).toBeVisible();
|
||||||
await page.getByRole("button", { name: onboardingSkipButton }).click();
|
await page.getByRole("button", { name: onboardingLanguageSkipButton }).click();
|
||||||
await expect(voice).toBeVisible();
|
await expect(voice).toBeVisible();
|
||||||
await page.getByRole("button", { name: onboardingSkipButton }).click();
|
await page.getByRole("button", { name: onboardingSkipButton }).click();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user