Skip to content

Commit 323d920

Browse files
committed
Fix icon close selector
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
1 parent 589f824 commit 323d920

22 files changed

+24
-24
lines changed

cypress/integration/audio.mpeg.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe('Open audio.mp3 in viewer', function() {
6060
it('See the menu icon and title on the viewer header', function() {
6161
cy.get('body > .viewer .modal-title').should('contain', 'audio.mp3')
6262
cy.get('body > .viewer .modal-header button.action-item__menutoggle').should('be.visible')
63-
cy.get('body > .viewer .modal-header button.icon-close').should('be.visible')
63+
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
6464
})
6565

6666
it('Does not see navigation arrows', function() {

cypress/integration/audio.ogg.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe('Open audio.ogg in viewer', function() {
6060
it('See the menu icon and title on the viewer header', function() {
6161
cy.get('body > .viewer .modal-title').should('contain', 'audio.ogg')
6262
cy.get('body > .viewer .modal-header button.action-item__menutoggle').should('be.visible')
63-
cy.get('body > .viewer .modal-header button.icon-close').should('be.visible')
63+
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
6464
})
6565

6666
it('Does not see navigation arrows', function() {

cypress/integration/audios.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ describe('Open mp3 and ogg audio in viewer', function() {
5656
it('See the menu icon and title on the viewer header', function() {
5757
cy.get('body > .viewer .modal-title').should('contain', 'audio.mp3')
5858
cy.get('body > .viewer .modal-header button.action-item__menutoggle').should('be.visible')
59-
cy.get('body > .viewer .modal-header button.icon-close').should('be.visible')
59+
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
6060
})
6161

6262
it('Does see next navigation arrows', function() {

cypress/integration/download-share-disabled.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ describe(`Download ${fileName} in viewer`, function() {
105105
it('See the title on the viewer header but not the Download button', function() {
106106
cy.get('body > .viewer .modal-title').should('contain', 'image1.jpg')
107107
cy.get('body > .viewer .modal-header a.action-item.icon-download').should('not.exist')
108-
cy.get('body > .viewer .modal-header button.icon-close').should('be.visible')
108+
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
109109
})
110110

111111
})

cypress/integration/download-share.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ describe(`Download ${fileName} from viewer in link share`, function() {
9393
it('See the download icon and title on the viewer header', function() {
9494
cy.get('body > .viewer .modal-title').should('contain', 'image1.jpg')
9595
cy.get('body > .viewer .modal-header a.action-item.icon-download').should('be.visible')
96-
cy.get('body > .viewer .modal-header button.icon-close').should('be.visible')
96+
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
9797
})
9898

9999
it('Download the image', function() {

cypress/integration/files-shares.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ describe('See shared folder with link share', function() {
9898

9999
it('See the menu icon and title on the viewer header', function() {
100100
cy.get('body > .viewer .modal-title').should('contain', 'image1.jpg')
101-
cy.get('body > .viewer .modal-header button.icon-close').should('be.visible')
101+
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
102102
})
103103

104104
it('Does see next navigation arrows', function() {

cypress/integration/image-small.png.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe('Open image-small.png in viewer', function() {
6060
it('See the menu icon and title on the viewer header', function() {
6161
cy.get('body > .viewer .modal-title').should('contain', 'image-small.png')
6262
cy.get('body > .viewer .modal-header button.action-item__menutoggle').should('be.visible')
63-
cy.get('body > .viewer .modal-header button.icon-close').should('be.visible')
63+
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
6464
})
6565

6666
it('Does not see navigation arrows', function() {

cypress/integration/image.gif.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ describe('Open image.gif in viewer', function() {
6161
it('See the menu icon and title on the viewer header', function() {
6262
cy.get('body > .viewer .modal-title').should('contain', 'image.gif')
6363
cy.get('body > .viewer .modal-header button.action-item__menutoggle').should('be.visible')
64-
cy.get('body > .viewer .modal-header button.icon-close').should('be.visible')
64+
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
6565
})
6666

6767
it('Does not see navigation arrows', function() {

cypress/integration/image.heic.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('Open image.heic in viewer', function() {
6565
it('See the menu icon and title on the viewer header', function() {
6666
cy.get('body > .viewer .modal-title').should('contain', 'image.heic')
6767
cy.get('body > .viewer .modal-header button.action-item__menutoggle').should('be.visible')
68-
cy.get('body > .viewer .modal-header button.icon-close').should('be.visible')
68+
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
6969
})
7070

7171
it('Does not see navigation arrows', function() {

cypress/integration/image.png.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('Open image.png in viewer', function() {
6464
it('See the menu icon and title on the viewer header', function() {
6565
cy.get('body > .viewer .modal-title').should('contain', 'image.png')
6666
cy.get('body > .viewer .modal-header button.action-item__menutoggle').should('be.visible')
67-
cy.get('body > .viewer .modal-header button.icon-close').should('be.visible')
67+
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
6868
})
6969

7070
it('Does not see navigation arrows', function() {

0 commit comments

Comments
 (0)