diff --git a/cypress.config.js b/cypress.config.js index 51e6eabcb..e322acdb9 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -2,7 +2,6 @@ const { defineConfig } = require('cypress') const cypressSplit = require('cypress-split') module.exports = defineConfig({ - allowCypressEnv: false, projectId: '1s7wkc', viewportWidth: 1280, viewportHeight: 720, @@ -16,6 +15,5 @@ module.exports = defineConfig({ }, baseUrl: 'http://nextcloud.local/index.php', specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}', - experimentalMemoryManagement: true, }, }) diff --git a/cypress/e2e/boardFeatures.js b/cypress/e2e/boardFeatures.js index 926ecaa54..dad8be398 100644 --- a/cypress/e2e/boardFeatures.js +++ b/cypress/e2e/boardFeatures.js @@ -46,17 +46,11 @@ describe('Board', function() { }) it('Shows and hides the navigation', () => { - cy.get('#app-navigation-vue .app-navigation__list .app-navigation-entry') - .contains('Upcoming cards') - .should('be.visible') + cy.get('#app-navigation-vue').should('have.attr', 'aria-hidden', 'false') cy.openLeftSidebar() - cy.get('#app-navigation-vue .app-navigation__list .app-navigation-entry') - .contains('Upcoming cards') - .should('not.be.visible') + cy.get('#app-navigation-vue').should('have.attr', 'aria-hidden', 'true') cy.openLeftSidebar() - cy.get('#app-navigation-vue .app-navigation__list .app-navigation-entry') - .contains('Upcoming cards') - .should('be.visible') + cy.get('#app-navigation-vue').should('have.attr', 'aria-hidden', 'false') }) }) diff --git a/package-lock.json b/package-lock.json index bbc5daf9b..ddcfacc1b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -59,7 +59,7 @@ "@vue/test-utils": "^2.5.0", "@vue/tsconfig": "^0.9.1", "@vue/vue3-jest": "^29.2.6", - "cypress": "^15.21.1", + "cypress": "^16.1.1", "cypress-split": "^1.25.0", "eslint": "^10.12.0", "eslint-plugin-cypress": "^3.6.0", @@ -10181,9 +10181,9 @@ "license": "MIT" }, "node_modules/cypress": { - "version": "15.21.1", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-15.21.1.tgz", - "integrity": "sha512-ogHpHMj0XNlZA5MGzjg8SWHf0eMw9lTwVQRKjpcT1GzNTxNUjwnHA8YCG6nOJ8ThU+XZaUxJgpMYZnJ//8aDaw==", + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-16.1.1.tgz", + "integrity": "sha512-T09qNpMKssD6eEMqqfywQ8OUub/VrNCvIUFAyQCfWsJ6o4CZ5Yeapce+WoZY9FXly6+3+pk7sjEB5voxduWQlQ==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -10204,7 +10204,7 @@ "cli-table3": "0.6.1", "commander": "^6.2.1", "common-tags": "^1.8.0", - "dayjs": "^1.10.4", + "dayjs": "^1.11.23", "debug": "^4.3.4", "eventemitter2": "6.4.7", "execa": "4.1.0", @@ -10232,7 +10232,7 @@ "cypress": "bin/cypress" }, "engines": { - "node": "^20.1.0 || ^22.0.0 || >=24.0.0" + "node": "^22.0.0 || ^24.0.0 || >=26.0.0" } }, "node_modules/cypress-split": { @@ -10475,10 +10475,11 @@ } }, "node_modules/dayjs": { - "version": "1.11.10", - "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.10.tgz", - "integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==", - "dev": true + "version": "1.11.23", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.23.tgz", + "integrity": "sha512-QDTCU0M0MxR3hQfnlDJfwekQiaanm1ubOD231u73WBckQ/fsamwRLiE2GBz6D3a/xF1NgfiDLJjXBa1hYOYTtQ==", + "dev": true, + "license": "MIT" }, "node_modules/debounce": { "version": "3.0.0", diff --git a/package.json b/package.json index f03a9c0dc..f2804fb5d 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "@vue/test-utils": "^2.5.0", "@vue/tsconfig": "^0.9.1", "@vue/vue3-jest": "^29.2.6", - "cypress": "^15.21.1", + "cypress": "^16.1.1", "cypress-split": "^1.25.0", "eslint": "^10.12.0", "eslint-plugin-cypress": "^3.6.0",