diff --git a/js/apps/account-ui/test/personal-info/personal-info.spec.ts b/js/apps/account-ui/test/personal-info/personal-info.spec.ts index 79bb022b9713..76ebe5d9288e 100644 --- a/js/apps/account-ui/test/personal-info/personal-info.spec.ts +++ b/js/apps/account-ui/test/personal-info/personal-info.spec.ts @@ -55,6 +55,8 @@ test.describe("Personal info with userprofile enabled", async () => { await expect(page.locator("#select")).toBeVisible(); await expect(page.getByTestId("help-label-select")).toBeVisible(); expect(page.getByText("Alternative email")).toBeDefined(); + page.locator("#select").click(); + expect(await page.waitForSelector("text=Three")).toBeDefined(); }); test("save user profile", async ({ page }) => { diff --git a/js/apps/account-ui/test/personal-info/user-profile.json b/js/apps/account-ui/test/personal-info/user-profile.json index 31e46e2ac486..084523543c12 100644 --- a/js/apps/account-ui/test/personal-info/user-profile.json +++ b/js/apps/account-ui/test/personal-info/user-profile.json @@ -124,7 +124,12 @@ }, "annotations": { "inputType": "select", - "inputHelperTextBefore": "This is helping a lot" + "inputHelperTextBefore": "This is helping a lot", + "inputOptionLabels": { + "one": "One", + "two": "Two", + "three": "Three" + } }, "validations": { "options": {