diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-08-02 21:15:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 21:15:37 +0300 |
commit | 16dff06b55584a38612a568e3b28a8d0ced37e7b (patch) | |
tree | b5b0e980d900d96497a1b1c4a09b3ad84e1b2b6a | |
parent | 7ae489f13f28c4e0ce5904f8e394d1df7758e964 (diff) | |
parent | 1ce22e73ba57d6181afdb432bf6b7136d7d11820 (diff) |
Merge pull request #1809 from nextcloud/backport/1804/stable21
[stable21] fix: cypress icon close selector
-rw-r--r-- | cypress/integration/viewer.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cypress/integration/viewer.spec.js b/cypress/integration/viewer.spec.js index d28360927..dfa447105 100644 --- a/cypress/integration/viewer.spec.js +++ b/cypress/integration/viewer.spec.js @@ -52,7 +52,7 @@ describe('Open test.md in viewer', function() { cy.get('#viewer').should('be.visible') cy.get('#viewer .modal-title').should('contain', 'test.md') cy.get('#viewer .modal-header button.action-item__menutoggle').should('be.visible') - cy.get('#viewer .modal-header button.icon-close').should('be.visible') + cy.get('#viewer .modal-header button.header-close').should('be.visible') cy.wait(2000) cy.get('#viewer', { timeout: 4000 }) @@ -75,7 +75,7 @@ describe('Open test.md in viewer', function() { }) it('Closes the editor', function() { - cy.get('.modal-header button.icon-close').click() + cy.get('.modal-header button.header-close').click() cy.get('#viewer').should('not.exist') }) |