From 4166733965bb163dac922a3c4cab891d6530f3a4 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 10 Apr 2024 16:38:38 +0200 Subject: [PATCH] fix(tests): Adjust tests for changed css classes Signed-off-by: Ferdinand Thiessen --- cypress/e2e/settings/users.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/settings/users.cy.ts b/cypress/e2e/settings/users.cy.ts index da2b934af92..c90afc8866e 100644 --- a/cypress/e2e/settings/users.cy.ts +++ b/cypress/e2e/settings/users.cy.ts @@ -127,7 +127,7 @@ describe('Settings: Create and delete accounts', function() { // The "Delete account" action in the actions menu is shown and clicked cy.get('.action-item__popper .action').contains('Delete account').should('exist').click({ force: true }) // And confirmation dialog accepted - cy.get('.oc-dialog button').contains(`Delete ${testUser.userId}`).click({ force: true }) + cy.get('.nc-generic-dialog button').contains(`Delete ${testUser.userId}`).click({ force: true }) // Make sure no confirmation modal is shown handlePasswordConfirmation(admin.password)