Browse Source

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
commit
4166733965
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      cypress/e2e/settings/users.cy.ts

+ 1
- 1
cypress/e2e/settings/users.cy.ts View File

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