diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41022495..6e9b85d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,7 @@ jobs: repository: geonetwork/geonetwork-ui path: 'backend/geonetwork-ui' - name: Build the gn-ui backend - run: sudo docker-compose -f backend/geonetwork-ui/support-services/docker-compose.yml up -d init + run: cd backend/geonetwork-ui/support-services && sudo docker-compose down -v && sudo docker-compose up -d init - name: Install dependencies run: npm i diff --git a/apps/datahub-e2e/src/e2e/search.cy.ts b/apps/datahub-e2e/src/e2e/search.cy.ts index aa52ac98..38a32e17 100644 --- a/apps/datahub-e2e/src/e2e/search.cy.ts +++ b/apps/datahub-e2e/src/e2e/search.cy.ts @@ -5,7 +5,7 @@ describe('datahub-e2e', () => { cy.get('.mel-page-title').should('be.visible') }) it('should display the number of result hits', () => { - cy.get('gn-ui-results-hits-number').should('contain', 12) + cy.get('gn-ui-results-hits-number').should('contain', 14) }) // If not logged in or no favorites exists @@ -15,7 +15,7 @@ describe('datahub-e2e', () => { .find('h1') .should( 'have.text', - ' Cartographie des sols agricoles de la plaine du Rhône ' + ' Metadata for E2E testing purpose. (this title is too long and should be cut, this title is too long and should be cut, this title is too long and should be cut, this title is too long and should be cut, this title is too long and should be cut) ' ) cy.get('mel-datahub-results-card-last-created')