Skip to content

Commit

Permalink
Bump @nextcloud/vue to beta 4
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Aug 23, 2022
1 parent 86860c0 commit 9320acb
Show file tree
Hide file tree
Showing 13 changed files with 203 additions and 225 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/download-share-disabled.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe(`Download ${fileName} in viewer`, function() {

it('See the title on the viewer header but not the Download button', function() {
cy.get('body > .viewer .modal-title').should('contain', 'image1.jpg')
cy.get('body > .viewer .modal-header a.action-item > .download-icon').should('not.exist')
cy.get('body > .viewer .modal-header button.action-item > .download-icon').should('not.exist')
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
})

Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/download-share.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ describe(`Download ${fileName} from viewer in link share`, function() {

it('See the download icon and title on the viewer header', function() {
cy.get('body > .viewer .modal-title').should('contain', 'image1.jpg')
cy.get('body > .viewer .modal-header a.action-item > .download-icon').should('be.visible')
cy.get('body > .viewer .modal-header button.action-item > .download-icon').should('be.visible')
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
})

it('Download the image', function() {
// download the file
cy.get('body > .viewer .modal-header a.action-item > .download-icon').click()
cy.get('body > .viewer .modal-header button.action-item > .download-icon').click()
})

it('Compare downloaded file with asset by size', function() {
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/non-dav-files.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('Open non-dav files in viewer', function() {
})

it('Does not see navigation arrows', function() {
cy.get('body > .viewer a.prev').should('not.be.visible')
cy.get('body > .viewer a.next').should('not.be.visible')
cy.get('body > .viewer button.prev').should('not.be.visible')
cy.get('body > .viewer button.next').should('not.be.visible')
})
})
4 changes: 2 additions & 2 deletions cypress/e2e/sidebar.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe('Open the sidebar from the viewer and open viewer with sidebar already
cy.get('aside.app-sidebar .app-sidebar-header .app-sidebar-header__maintitle').should('contain', 'image1.jpg')

// open the next file (image2.png) using the arrow
cy.get('body > .viewer .icon-next').click()
cy.get('body > .viewer .button-vue.next').click()
cy.get('aside.app-sidebar .app-sidebar-header .app-sidebar-header__maintitle').should('contain', 'image2.jpg')
})

Expand All @@ -116,7 +116,7 @@ describe('Open the sidebar from the viewer and open viewer with sidebar already
cy.get('aside.app-sidebar .app-sidebar-header .app-sidebar-header__maintitle').should('contain', 'image2.jpg')

// open the previous file (image1.png) using the arrow
cy.get('body > .viewer .icon-previous').click()
cy.get('body > .viewer .button-vue.prev').click()
cy.get('aside.app-sidebar .app-sidebar-header .app-sidebar-header__maintitle').should('contain', 'image1.jpg')
})

Expand Down
Binary file modified cypress/snapshots/base/visual-regression.cy.js/image-base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified cypress/snapshots/base/visual-regression.cy.js/image2-base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified cypress/snapshots/base/visual-regression.cy.js/non-dav-base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified cypress/snapshots/base/visual-regression.cy.js/video-base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/viewer-main.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ object-assign
*/

/*!
* focus-trap 6.9.4
* focus-trap 7.0.0
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/

/*!
* tabbable 5.3.3
* tabbable 6.0.0
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/

Expand Down
2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 9320acb

Please sign in to comment.