diff --git a/app/forms/idp/create.tsx b/app/forms/idp/create.tsx index 4fa8e10fa7..079d9a0ed5 100644 --- a/app/forms/idp/create.tsx +++ b/app/forms/idp/create.tsx @@ -133,7 +133,7 @@ export function CreateIdpSideModalForm() { {/* TODO: Email field, probably */} diff --git a/app/forms/idp/edit.tsx b/app/forms/idp/edit.tsx index a5cbc1e07a..b51d1d9043 100644 --- a/app/forms/idp/edit.tsx +++ b/app/forms/idp/edit.tsx @@ -104,14 +104,14 @@ export function EditIdpSideModalForm() { control={form.control} disabled /> - {/* TODO: add group attribute name when it is added to the API - */} + {/* TODO: Email field, probably */} = { slo_url: '', sp_client_id: '', technical_contact_email: '', + group_attribute_name: 'groups', } // This works differently from Nexus, but the result is the same. In Nexus, diff --git a/test/e2e/silos.e2e.ts b/test/e2e/silos.e2e.ts index b37b2e862a..3be8297cf1 100644 --- a/test/e2e/silos.e2e.ts +++ b/test/e2e/silos.e2e.ts @@ -186,6 +186,10 @@ test('Identity providers', async ({ page }) => { 'text="Single Logout (SLO) URL"', ]) + await expect(page.getByRole('textbox', { name: 'Group attribute name' })).toHaveValue( + 'groups' + ) + await page.getByRole('button', { name: 'Cancel' }).click() await expectNotVisible(page, ['role=dialog[name="Identity provider"]']) })