Relax German voice E2E name matching for voice labels
Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
parent
6b6e34c1a6
commit
057e039e83
@ -49,10 +49,12 @@ test("German voice step lists German voices after choosing Deutsch", async ({ pa
|
|||||||
await expect(page.getByText(/Loading voices|Stimmen werden geladen/i)).toHaveCount(0, {
|
await expect(page.getByText(/Loading voices|Stimmen werden geladen/i)).toHaveCount(0, {
|
||||||
timeout: 30_000,
|
timeout: 30_000,
|
||||||
});
|
});
|
||||||
const germanVoice = page.getByRole("button", { name: /^(Eva|Bernd)$/i });
|
const germanVoice = page.getByRole("button", { name: /Eva|Bernd/i });
|
||||||
await expect(germanVoice.first()).toBeVisible({ timeout: 30_000 });
|
await expect(germanVoice.first()).toBeVisible({ timeout: 30_000 });
|
||||||
await expect(page.getByRole("button", { name: "Alloy", exact: true })).toHaveCount(0);
|
await expect(page.getByRole("button", { name: "Alloy", exact: true })).toHaveCount(0);
|
||||||
await expect(page.getByRole("button", { name: /^(Eva|Bernd)$/i, pressed: true })).toBeVisible();
|
await expect(
|
||||||
|
page.getByRole("button", { name: /Eva|Bernd/i, pressed: true }).first(),
|
||||||
|
).toBeVisible();
|
||||||
});
|
});
|
||||||
|
|
||||||
test("main conversation does not show a group subtitle for one Oo", async ({ page }) => {
|
test("main conversation does not show a group subtitle for one Oo", async ({ page }) => {
|
||||||
|
|||||||
@ -94,7 +94,7 @@ const onboardingLanguageSkipButton = /^(Skip|Überspringen) ·/i;
|
|||||||
/** After the look picker, skip the optional Oo naming step (keeps the default name). */
|
/** After the look picker, skip the optional Oo naming step (keeps the default name). */
|
||||||
export async function skipOnboardingNameStep(page: Page) {
|
export async function skipOnboardingNameStep(page: Page) {
|
||||||
await expect(page.getByTestId("onboarding-name-step")).toBeVisible();
|
await expect(page.getByTestId("onboarding-name-step")).toBeVisible();
|
||||||
await page.getByRole("button", { name: "Skip", exact: true }).click();
|
await page.getByRole("button", { name: onboardingSkipButton }).click();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user