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) {
|
fillLdapRequiredGeneralData(name: string, vendor: string) {
|
||||||
if (name) {
|
if (name) {
|
||||||
cy.get(`[${this.ldapNameInput}]`).type(name);
|
cy.get(`[${this.ldapNameInput}]`).clear().type(name);
|
||||||
}
|
}
|
||||||
if (vendor) {
|
if (vendor) {
|
||||||
cy.get(this.ldapVendorInput).click();
|
cy.get(this.ldapVendorInput).click();
|
||||||
|
|
|
@ -83,7 +83,7 @@ export const LdapSettingsGeneral = ({
|
||||||
type="text"
|
type="text"
|
||||||
id="kc-console-display-name"
|
id="kc-console-display-name"
|
||||||
name="name"
|
name="name"
|
||||||
defaultValue=""
|
defaultValue="ldap"
|
||||||
ref={form.register({
|
ref={form.register({
|
||||||
required: {
|
required: {
|
||||||
value: true,
|
value: true,
|
||||||
|
|
Loading…
Reference in a new issue