diff --git a/.github/workflows/cypress-e2e.yml b/.github/workflows/cypress-e2e.yml index 9745d91c770..e9cbadd03f7 100644 --- a/.github/workflows/cypress-e2e.yml +++ b/.github/workflows/cypress-e2e.yml @@ -13,6 +13,7 @@ env: # Adjust APP_NAME if your repository name is different APP_NAME: ${{ github.event.repository.name }} CYPRESS_baseUrl: http://localhost:8081/index.php + CYPRESS_CACHE_FOLDER: ${{ github.workspace }}/Cypress jobs: init: @@ -92,7 +93,6 @@ jobs: key: cypress-context-${{ github.run_id }} path: | ./ - /home/runner/.cache/Cypress cypress: runs-on: ubuntu-latest @@ -126,7 +126,6 @@ jobs: key: cypress-context-${{ github.run_id }} path: | ./ - /home/runner/.cache/Cypress - name: Set up node ${{ needs.init.outputs.nodeVersion }} uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 diff --git a/REUSE.toml b/REUSE.toml index 99f20ce5b4e..b49b9590c76 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -30,9 +30,9 @@ SPDX-FileCopyrightText = "Nils Adermann, Jordi Boggiano" SPDX-License-Identifier = "MIT" [[annotations]] -path = ["cypress/fixtures/**", "cypress/snapshots/**", "src/tests/fixtures/**"] +path = ["cypress/fixtures/**", "cypress/snapshots/**", "src/tests/fixtures/**", "src/tests/**/__snapshots__/**"] precedence = "aggregate" -SPDX-FileCopyrightText = "2019-2024 Nextcloud GmbH and Nextcloud contributors" +SPDX-FileCopyrightText = "2019-2025 Nextcloud GmbH and Nextcloud contributors" SPDX-License-Identifier = "AGPL-3.0-or-later" [[annotations]] diff --git a/cypress/e2e/nodes/CodeBlock.spec.js b/cypress/e2e/nodes/CodeBlock.spec.js index bc1cfe7c6c9..c3dc87c4818 100644 --- a/cypress/e2e/nodes/CodeBlock.spec.js +++ b/cypress/e2e/nodes/CodeBlock.spec.js @@ -77,7 +77,7 @@ describe('Front matter support', function() { cy.getContent().find('code').eq(1).find('.hljs-keyword').eq(1).contains('function') // Mermaid diagram - cy.getEditor().scrollTo('bottom') + cy.getEditor().find('.text-editor__wrapper').scrollTo('bottom') cy.getContent().find('.split-view__preview').eq(2).should('be.visible') cy.get('.code-block').eq(2).find('code').should('not.be.visible') cy.get('.split-view__preview').find('svg .entityTitleText') diff --git a/cypress/snapshots/base/cypress/e2e/print.spec.js/print view in single-file share.png b/cypress/snapshots/base/cypress/e2e/print.spec.js/print view in single-file share.png index 67808315c8d..5dfe7a98817 100644 Binary files a/cypress/snapshots/base/cypress/e2e/print.spec.js/print view in single-file share.png and b/cypress/snapshots/base/cypress/e2e/print.spec.js/print view in single-file share.png differ diff --git a/cypress/snapshots/base/cypress/e2e/print.spec.js/print view in viewer.png b/cypress/snapshots/base/cypress/e2e/print.spec.js/print view in viewer.png index c5da195a656..1890a446104 100644 Binary files a/cypress/snapshots/base/cypress/e2e/print.spec.js/print view in viewer.png and b/cypress/snapshots/base/cypress/e2e/print.spec.js/print view in viewer.png differ diff --git a/src/components/CollisionResolveDialog.vue b/src/components/CollisionResolveDialog.vue index dc98afed6a7..898ebb3735d 100644 --- a/src/components/CollisionResolveDialog.vue +++ b/src/components/CollisionResolveDialog.vue @@ -5,10 +5,16 @@