Browse Source

fix failing test and remove parallelization from CI

Olivier Massot 4 years ago
parent
commit
1a6b35bd3b
2 changed files with 5 additions and 9 deletions
  1. 4 8
      .gitlab-ci.yml
  2. 1 1
      test/cypress/integration/structures/index.spec.js

+ 4 - 8
.gitlab-ci.yml

@@ -29,31 +29,27 @@ install:
 chrome:
   image: cypress/browsers:node14.17.0-chrome88-ff89
   stage: test
-  parallel: 5
   script:
     - yarn ci & npx wait-on http://localhost:3004
-    - yarn cypress:silent --record --parallel --browser chrome --group "Chrome"
+    - yarn cypress:silent --record --browser chrome --group "Chrome"
 
 chrome-mobile:
   image: cypress/browsers:node14.17.0-chrome88-ff89
   stage: test
-  parallel: 5
   script:
     - yarn ci & npx wait-on http://localhost:3004
-    - yarn cypress:silent --record --parallel --browser chrome --group "Chrome - Mobile" --config "viewportWidth=375,viewportHeight=667"
+    - yarn cypress:silent --record --browser chrome --group "Chrome - Mobile" --config "viewportWidth=375,viewportHeight=667"
 
 firefox:
   image: cypress/browsers:node14.17.0-chrome88-ff89
   stage: test
-  parallel: 5
   script:
     - yarn ci & npx wait-on http://localhost:3004
-    - yarn cypress:silent --record --parallel --browser firefox --group "Firefox"
+    - yarn cypress:silent --record --browser firefox --group "Firefox"
 
 firefox-mobile:
   image: cypress/browsers:node14.17.0-chrome88-ff89
   stage: test
-  parallel: 5
   script:
     - yarn ci & npx wait-on http://localhost:3004
-    - yarn cypress:silent --record --parallel --browser firefox --group "Firefox - Mobile" --config "viewportWidth=375,viewportHeight=667"
+    - yarn cypress:silent --record --browser firefox --group "Firefox - Mobile" --config "viewportWidth=375,viewportHeight=667"

+ 1 - 1
test/cypress/integration/structures/index.spec.js

@@ -68,7 +68,7 @@ describe('Test the /structures page', () => {
       .should('have.length', 8)
 
     // 8 pages are displayed in the pagination bar (max authorized)
-    cy.get('.pagination')
+    cy.get('.v-pagination')
       .find('button')
       .filter((_, elt) => { return /\d+/.match(elt.innerText) })
       .should('have.length.gte', 2)