diff --git a/packages/frontend/editor-ui/src/views/SettingsSso.test.ts b/packages/frontend/editor-ui/src/views/SettingsSso.test.ts index 81d15d1a77..6c6d85cdd3 100644 --- a/packages/frontend/editor-ui/src/views/SettingsSso.test.ts +++ b/packages/frontend/editor-ui/src/views/SettingsSso.test.ts @@ -80,7 +80,9 @@ describe('SettingsSso View', () => { const pageRedirectionHelper = usePageRedirectionHelper(); - const { getByTestId } = renderView(); + const { getByTestId, queryByTestId } = renderView(); + + expect(queryByTestId('sso-auth-protocol-select')).not.toBeInTheDocument(); const actionBox = getByTestId('sso-content-unlicensed'); expect(actionBox).toBeInTheDocument(); @@ -95,7 +97,10 @@ describe('SettingsSso View', () => { ssoStore.getSamlConfig.mockResolvedValue(samlConfig); - const { getAllByTestId } = renderView(); + const { getAllByTestId, getByTestId } = renderView(); + + const authProtocolSelect = getByTestId('sso-auth-protocol-select'); + expect(authProtocolSelect).toBeInTheDocument(); expect(ssoStore.getSamlConfig).toHaveBeenCalledTimes(1); diff --git a/packages/frontend/editor-ui/src/views/SettingsSso.vue b/packages/frontend/editor-ui/src/views/SettingsSso.vue index c515616dfc..3dbc494564 100644 --- a/packages/frontend/editor-ui/src/views/SettingsSso.vue +++ b/packages/frontend/editor-ui/src/views/SettingsSso.vue @@ -310,7 +310,11 @@ async function onOidcSettingsSave() { {{ i18n.baseText('settings.sso.info.link') }} -