diff --git a/cypress/e2e/sharing/download-share-disabled.cy.ts b/cypress/e2e/sharing/download-share-disabled.cy.ts index fde541e94..b2621d666 100644 --- a/cypress/e2e/sharing/download-share-disabled.cy.ts +++ b/cypress/e2e/sharing/download-share-disabled.cy.ts @@ -60,10 +60,10 @@ describe(`Download ${fileName} in viewer`, function() { cy.visit('/apps/files') cy.getFile('Photos').clickAction('details') cy.get('aside.app-sidebar').should('be.visible') - cy.get('[data-id="sharing"] label').click() + cy.get('[role="tablist"]').contains('[role="tab"]', 'Sharing').click() // Open the share menu - cy.get(`.sharing-link-list > .sharing-entry > .action-item[href*='/s/${token}'] + .sharing-entry__actions .action-item__menutoggle`).click() + cy.get('.sharing-link-list > .sharing-entry [aria-label*=\'Actions for "Share link"\']').click() cy.get('.action-button:contains(\'Customize link\')').click() cy.get('label:contains(\'Hide download\')').as('hideDownloadBtn').click() cy.get('@hideDownloadBtn').prev('input[type=checkbox]').should('be.checked') diff --git a/cypress/snapshots/base/visual-regression.cy.js/image.png b/cypress/snapshots/base/visual-regression.cy.ts/image.png similarity index 100% rename from cypress/snapshots/base/visual-regression.cy.js/image.png rename to cypress/snapshots/base/visual-regression.cy.ts/image.png diff --git a/cypress/snapshots/base/visual-regression.cy.js/image2.png b/cypress/snapshots/base/visual-regression.cy.ts/image2.png similarity index 100% rename from cypress/snapshots/base/visual-regression.cy.js/image2.png rename to cypress/snapshots/base/visual-regression.cy.ts/image2.png diff --git a/cypress/snapshots/base/visual-regression.cy.js/non-dav.png b/cypress/snapshots/base/visual-regression.cy.ts/non-dav.png similarity index 100% rename from cypress/snapshots/base/visual-regression.cy.js/non-dav.png rename to cypress/snapshots/base/visual-regression.cy.ts/non-dav.png diff --git a/cypress/snapshots/base/visual-regression.cy.js/video.png b/cypress/snapshots/base/visual-regression.cy.ts/video.png similarity index 100% rename from cypress/snapshots/base/visual-regression.cy.js/video.png rename to cypress/snapshots/base/visual-regression.cy.ts/video.png diff --git a/package-lock.json b/package-lock.json index d0c2417dd..a394bdc18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@nextcloud/paths": "^2.1.0", "@nextcloud/router": "^2.2.0", "@nextcloud/typings": "^1.7.0", - "@nextcloud/vue": "^8.0.0-beta.8", + "@nextcloud/vue": "^8.2.0", "@skjnldsv/vue-plyr": "^7.4.0", "camelcase": "^8.0.0", "debounce": "^1.2.1", @@ -3109,25 +3109,15 @@ } }, "node_modules/@nextcloud/browser-storage": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@nextcloud/browser-storage/-/browser-storage-0.2.0.tgz", - "integrity": "sha512-qRetNoCMHzfJyuQ7uvlwUXNwXlm5eSy4h8hI0Oa9HKbej57WGBYxRqsHElFzipSPh7mBUdFnz5clGpzIQx8+HQ==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@nextcloud/browser-storage/-/browser-storage-0.3.0.tgz", + "integrity": "sha512-vqc26T4WQ3y9EbFpHh4dl/FN7ahEfEoc0unQmsdJ2YSZNTxTvAXAasWI6HFNcHi10b5rEYxxEYjAwKF34th3Aw==", "dependencies": { - "core-js": "3.25.5" + "core-js": "3.33.0" }, "engines": { - "node": "^16.0.0", - "npm": "^7.0.0 || ^8.0.0" - } - }, - "node_modules/@nextcloud/browser-storage/node_modules/core-js": { - "version": "3.25.5", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.25.5.tgz", - "integrity": "sha512-nbm6eZSjm+ZuBQxCUPQKQCoUEfFOXjUZ8dTTyikyKaWrTYmAVbykQfwsKE5dBK88u3QCkCrzsx/PPlKfhsvgpw==", - "hasInstallScript": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" + "node": "^20.0.0", + "npm": "^9.0.0" } }, "node_modules/@nextcloud/browserslist-config": { @@ -3528,14 +3518,14 @@ } }, "node_modules/@nextcloud/vue": { - "version": "8.0.0-beta.8", - "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-8.0.0-beta.8.tgz", - "integrity": "sha512-Sbq1l5cH5SU2eE/b/w+99t3mcGHLOTjgJYf2ltxbDEuYcgfn+Ihz0RGxcp5s1KNI8S9eifKSI9/bts7nQMHj8g==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-8.2.0.tgz", + "integrity": "sha512-rfnB8yOhNce1RxBoHZWu9Kgf2IHwtdM7/dzoAyl/cseht4Mvk8+4aJAPuvKFHJaNjIbdNU4JfpK1GR653zOeQQ==", "dependencies": { "@floating-ui/dom": "^1.1.0", "@nextcloud/auth": "^2.0.0", "@nextcloud/axios": "^2.0.0", - "@nextcloud/browser-storage": "^0.2.0", + "@nextcloud/browser-storage": "^0.3.0", "@nextcloud/calendar-js": "^6.0.0", "@nextcloud/capabilities": "^1.0.4", "@nextcloud/event-bus": "^3.0.0", @@ -3543,11 +3533,11 @@ "@nextcloud/l10n": "^2.0.1", "@nextcloud/logger": "^2.2.1", "@nextcloud/router": "^2.0.0", - "@nextcloud/vue-select": "^3.23.0", + "@nextcloud/vue-select": "^3.24.0", "@vueuse/components": "^10.0.2", "@vueuse/core": "^10.1.2", "clone": "^2.1.2", - "debounce": "1.2.1", + "debounce": "2.0.0", "dompurify": "^3.0.5", "emoji-mart-vue-fast": "^15.0.0", "escape-html": "^1.0.3", @@ -3571,7 +3561,6 @@ "vue": "^2.7.14", "vue-color": "^2.8.1", "vue-frag": "^1.4.3", - "vue-material-design-icons": "^5.1.2", "vue2-datepicker": "^3.11.0" }, "engines": { @@ -3580,9 +3569,9 @@ } }, "node_modules/@nextcloud/vue-select": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/@nextcloud/vue-select/-/vue-select-3.23.0.tgz", - "integrity": "sha512-TerpWxDtbdwda32xtrLcqN8CjcQwVwCrEdHIHIAPQ2y3Ktl/dcjQxGn0onRZqk9+4ZxPGMYdX7LIWRKCHUlrmQ==", + "version": "3.24.0", + "resolved": "https://registry.npmjs.org/@nextcloud/vue-select/-/vue-select-3.24.0.tgz", + "integrity": "sha512-+TQYaqB57OcwG3XSKpUtVcbUZIkX8KHzjTCWRFAiRqwryXTuBvY/JHzB5i31BFHJ6CK+l8WyBu8LgmtQW8ktrw==", "peerDependencies": { "vue": "2.x" } @@ -3608,6 +3597,17 @@ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.0.tgz", "integrity": "sha512-MFETx3tbTjE7Uk6vvnWINA/1iJ7LuMdO4fcq8UfF0pRbj01aGLduVvQcRyswuACJdpnHgg8E3rQLhaRdNEJS0w==" }, + "node_modules/@nextcloud/vue/node_modules/debounce": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/debounce/-/debounce-2.0.0.tgz", + "integrity": "sha512-xRetU6gL1VJbs85Mc4FoEGSjQxzpdxRyFhe3lmWFyy2EzydIcD4xzUvRJMD+NPDfMwKNhxa3PvsIOU32luIWeA==", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@nextcloud/vue/node_modules/escape-string-regexp": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", @@ -7791,9 +7791,9 @@ "peer": true }, "node_modules/core-js": { - "version": "3.31.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.31.0.tgz", - "integrity": "sha512-NIp2TQSGfR6ba5aalZD+ZQ1fSxGhDo/s1w0nx3RYzf2pnJxt7YynxFlFScP6eV7+GZsKO95NSjGxyJsU3DZgeQ==", + "version": "3.33.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.33.0.tgz", + "integrity": "sha512-HoZr92+ZjFEKar5HS6MC776gYslNOKHt75mEBKWKnPeFDpZ6nH5OeF3S6HFT1mUAUZKrzkez05VboaX8myjSuw==", "hasInstallScript": true, "funding": { "type": "opencollective", diff --git a/package.json b/package.json index bc64f1e57..f97a2cd57 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "@nextcloud/paths": "^2.1.0", "@nextcloud/router": "^2.2.0", "@nextcloud/typings": "^1.7.0", - "@nextcloud/vue": "^8.0.0-beta.8", + "@nextcloud/vue": "^8.2.0", "@skjnldsv/vue-plyr": "^7.4.0", "camelcase": "^8.0.0", "debounce": "^1.2.1",