diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2022-02-07 15:25:37 +0300 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2022-02-07 15:25:37 +0300 |
commit | d1d27f88df36606998f3e5682e8cc70c0a53d821 (patch) | |
tree | f5f8e1cd5622a08490c91f3ef5a9ed847c98b6e4 /cypress | |
parent | 51e0592c6c5c3b22bec0670b1bf9833ebd3e20db (diff) |
don't open the viewer before deleting the user in images cypress tests
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'cypress')
-rw-r--r-- | cypress/integration/images.spec.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cypress/integration/images.spec.js b/cypress/integration/images.spec.js index 95e144520..866274b0b 100644 --- a/cypress/integration/images.spec.js +++ b/cypress/integration/images.spec.js @@ -161,10 +161,7 @@ describe('Test all image insertion methods', () => { }) }) - it('Close the editor and delete the user', () => { - cy.openFile('test.md') - cy.get('#viewer .modal-header button.header-close').click() - cy.get('#viewer').should('not.exist') + it('Delete the user', () => { cy.nextcloudDeleteUser(randUser, 'password') }) |