From 1894664a6d640c5882dab1c6496cdd74c46a1582 Mon Sep 17 00:00:00 2001 From: mfrances Date: Wed, 16 Jun 2021 09:47:39 -0400 Subject: [PATCH 1/2] use typeahead for mapper list --- src/user-federation/ldap/mappers/LdapMapperDetails.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/user-federation/ldap/mappers/LdapMapperDetails.tsx b/src/user-federation/ldap/mappers/LdapMapperDetails.tsx index fcc0721a15..6f4d14986f 100644 --- a/src/user-federation/ldap/mappers/LdapMapperDetails.tsx +++ b/src/user-federation/ldap/mappers/LdapMapperDetails.tsx @@ -223,7 +223,7 @@ export const LdapMapperDetails = () => { > ( @@ -239,7 +239,7 @@ export const LdapMapperDetails = () => { setIsMapperDropdownOpen(false); }} selections={value} - variant={SelectVariant.single} + variant={SelectVariant.typeahead} > Date: Wed, 16 Jun 2021 10:16:46 -0400 Subject: [PATCH 2/2] fix test --- .../pages/admin_console/manage/providers/ProviderPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/pages/admin_console/manage/providers/ProviderPage.ts b/cypress/support/pages/admin_console/manage/providers/ProviderPage.ts index 0e1ecac7b6..f225c27a8c 100644 --- a/cypress/support/pages/admin_console/manage/providers/ProviderPage.ts +++ b/cypress/support/pages/admin_console/manage/providers/ProviderPage.ts @@ -221,7 +221,7 @@ export default class ProviderPage { cy.wait(1000); cy.get("#kc-providerId").click(); - cy.get("#kc-providerId + ul").contains(mapperType).click(); + cy.get("button").contains(mapperType).click(); cy.get(`[data-testid="ldap-mapper-name"]`).type(`${mapperType}-test`);