From aa309854350ea50d99dd08dd0fc3fb4060b6d5c0 Mon Sep 17 00:00:00 2001 From: Cleopatra Enjeck M Date: Fri, 4 Oct 2024 11:14:48 +0200 Subject: [PATCH 1/2] fix(Workflow): use unique artifact name Signed-off-by: Cleopatra Enjeck M --- .github/workflows/cypress-custom.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cypress-custom.yml b/.github/workflows/cypress-custom.yml index 34bd33958..4d548f78a 100644 --- a/.github/workflows/cypress-custom.yml +++ b/.github/workflows/cypress-custom.yml @@ -149,24 +149,24 @@ jobs: CYPRESS_ncVersion: ${{ matrix.server-versions }} npm_package_name: ${{ env.APP_NAME }} - - name: Print logs + - name: Print logs ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }} if: always() run: | cat /tmp/requestlog cat data/nextcloud.log - - name: Upload test failure screenshots + - name: Upload test failure screenshots ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }} uses: actions/upload-artifact@v4 if: failure() with: - name: Upload screenshots + name: Upload screenshots ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }} path: apps/${{ env.APP_NAME }}/cypress/screenshots/ retention-days: 5 - - name: Upload nextcloud logs + - name: Upload nextcloud logs ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }} uses: actions/upload-artifact@v4 if: failure() with: - name: Upload nextcloud log + name: Upload nextcloud log ${{ matrix.node-version }}-${{ matrix.php-versions }}-${{ matrix.server-versions }}-${{ matrix.databases }} path: data/nextcloud.log retention-days: 5 From 3d44745f7010b477f16a320b3915dec2a93c0d4a Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 8 Oct 2024 13:12:21 +0200 Subject: [PATCH 2/2] test(cypress): update selector for tables description Signed-off-by: Arthur Schiwon --- cypress/e2e/tables-table.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/tables-table.cy.js b/cypress/e2e/tables-table.cy.js index bc89a6035..5531932e7 100644 --- a/cypress/e2e/tables-table.cy.js +++ b/cypress/e2e/tables-table.cy.js @@ -32,7 +32,7 @@ describe('Manage a table', () => { cy.contains('button', 'Create row').should('be.visible') cy.contains('h1', 'to do list').should('be.visible') cy.contains('table th', 'Task').should('exist') - cy.contains('.paragraph-content', 'to Do List description').should('be.visible') + cy.contains('.text-editor__content p', 'to Do List description').should('be.visible') }) it('Create with import', () => { @@ -71,7 +71,7 @@ describe('Manage a table', () => { cy.wait(10).get('.toastify.toast-success').should('be.visible') cy.get('.app-navigation__list').contains('ToDo list').should('exist') - cy.contains('.paragraph-content', 'Updated ToDo List description').should('be.visible') + cy.contains('.text-editor__content p', 'Updated ToDo List description').should('be.visible') }) it('Delete', () => {