Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2022-02-07 15:25:37 +0300
committerJulien Veyssier <eneiluj@posteo.net>2022-02-07 15:25:37 +0300
commitd1d27f88df36606998f3e5682e8cc70c0a53d821 (patch)
treef5f8e1cd5622a08490c91f3ef5a9ed847c98b6e4 /cypress
parent51e0592c6c5c3b22bec0670b1bf9833ebd3e20db (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.js5
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')
})