✅ Make mycompanyinfrance e2e tests run only EN specs
parent
624ccd8c20
commit
19953c661d
|
@ -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
|
||||
|
|
|
@ -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.
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue