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`);