Make mycompanyinfrance e2e tests run only EN specs

pull/1623/head
Alexandre Hajjar 2021-06-08 21:32:07 +02:00
parent 624ccd8c20
commit 19953c661d
7 changed files with 8 additions and 2 deletions

View File

@ -170,7 +170,7 @@ jobs:
baseUrl: ${{ needs.deploy-context.outputs.fr_url }}
language: fr
- site: en
integrationFolder: mon-entreprise
integrationFolder: mon-entreprise/english
baseUrl: ${{ needs.deploy-context.outputs.en_url }}
language: en
- site: publicodes

View File

@ -0,0 +1,6 @@
## mon-entreprise e2e test specs
Les jeux de tests qu'on souhaite faire tourner avec le langage FR et EN doivent aller dans le
sous-dossier `mon-entreprise/english`.
Les autres jeux ne seront testés qu'avent le langage FR.

View File

@ -116,7 +116,7 @@
"test:bundlesize": "bundlesize",
"test:dev-e2e:publicodes": "cypress open --browser chromium --config baseUrl=http://localhost:8080/publicodes,integrationFolder=cypress/integration/publi.codes",
"test:dev-e2e:mon-entreprise": "cypress open --browser chromium",
"test:dev-e2e:mycompanyinfrance": "cypress open --browser chromium --config baseUrl=http://localhost:8080/infrance",
"test:dev-e2e:mycompanyinfrance": "cypress open --browser chromium --config baseUrl=http://localhost:8080/infrance,integrationFolder=cypress/integration/mon-entreprise/english --env language=en",
"test:record-http-calls:mon-entreprise": "cypress run --env record_http=",
"i18n:rules:check": "node scripts/i18n/check-missing-rule-translation.js",
"i18n:rules:translate": "node scripts/i18n/translate-rules.js",