fixed test by clearing field first
This commit is contained in:
parent
dbd544be37
commit
c036253ac5
2 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ export default class ProviderPage {
|
|||
|
||||
fillLdapRequiredGeneralData(name: string, vendor: string) {
|
||||
if (name) {
|
||||
cy.get(`[${this.ldapNameInput}]`).type(name);
|
||||
cy.get(`[${this.ldapNameInput}]`).clear().type(name);
|
||||
}
|
||||
if (vendor) {
|
||||
cy.get(this.ldapVendorInput).click();
|
||||
|
|
|
@ -83,7 +83,7 @@ export const LdapSettingsGeneral = ({
|
|||
type="text"
|
||||
id="kc-console-display-name"
|
||||
name="name"
|
||||
defaultValue=""
|
||||
defaultValue="ldap"
|
||||
ref={form.register({
|
||||
required: {
|
||||
value: true,
|
||||
|
|
Loading…
Reference in a new issue