Merge pull request #710 from mfrances17/mapper-typeahead
Use typeahead for mapper list
This commit is contained in:
commit
bb1b48e4c8
2 changed files with 3 additions and 3 deletions
|
@ -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`);
|
||||
|
||||
|
|
|
@ -223,7 +223,7 @@ export const LdapMapperDetails = () => {
|
|||
>
|
||||
<Controller
|
||||
name="providerId"
|
||||
defaultValue=" "
|
||||
defaultValue=""
|
||||
control={form.control}
|
||||
data-testid="ldap-mapper-type-select"
|
||||
render={({ onChange, value }) => (
|
||||
|
@ -239,7 +239,7 @@ export const LdapMapperDetails = () => {
|
|||
setIsMapperDropdownOpen(false);
|
||||
}}
|
||||
selections={value}
|
||||
variant={SelectVariant.single}
|
||||
variant={SelectVariant.typeahead}
|
||||
>
|
||||
<SelectOption
|
||||
key={0}
|
||||
|
|
Loading…
Reference in a new issue