fix(tests): Adjust tests for changed css classes

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/44755/head
Ferdinand Thiessen 1 month ago
parent 5088cbc489
commit 4166733965
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400

@ -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)

Loading…
Cancel
Save