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.wait(1000);
|
||||||
|
|
||||||
cy.get("#kc-providerId").click();
|
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`);
|
cy.get(`[data-testid="ldap-mapper-name"]`).type(`${mapperType}-test`);
|
||||||
|
|
||||||
|
|
|
@ -223,7 +223,7 @@ export const LdapMapperDetails = () => {
|
||||||
>
|
>
|
||||||
<Controller
|
<Controller
|
||||||
name="providerId"
|
name="providerId"
|
||||||
defaultValue=" "
|
defaultValue=""
|
||||||
control={form.control}
|
control={form.control}
|
||||||
data-testid="ldap-mapper-type-select"
|
data-testid="ldap-mapper-type-select"
|
||||||
render={({ onChange, value }) => (
|
render={({ onChange, value }) => (
|
||||||
|
@ -239,7 +239,7 @@ export const LdapMapperDetails = () => {
|
||||||
setIsMapperDropdownOpen(false);
|
setIsMapperDropdownOpen(false);
|
||||||
}}
|
}}
|
||||||
selections={value}
|
selections={value}
|
||||||
variant={SelectVariant.single}
|
variant={SelectVariant.typeahead}
|
||||||
>
|
>
|
||||||
<SelectOption
|
<SelectOption
|
||||||
key={0}
|
key={0}
|
||||||
|
|
Loading…
Reference in a new issue