Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit afae8559 authored by flothoni's avatar flothoni
Browse files

cypress behavior modifications:

* use local cypres.json file (allow to mod paramter without recreate docker image
* don't create cypress video
* add comment
parent c4a815b1
Pipeline #262828 failed
......@@ -631,6 +631,7 @@ stop_deploy_review_server:
-v $PWD/browser/test/data:/app/cypress/fixtures/data
-v $PWD/doc:/app/cypress/fixtures/doc
-v $PWD:/app/vidjil
-v "$PWD/docker/ci/cypress.json":"/app/cypress.json"
-v "$PWD/docker/ci/cypress_script.bash":"/app/script.bash"
--env BROWSER=$BROWSER
--env HOST=$HOST
......
......@@ -62,8 +62,8 @@ build_cypress_image:
docker build ./docker/ci -t "vidjilci/cypress_with_browsers:latest"
functional_browser_cypress_open:
# Need to create a symbolic link; but allow to directly see
# Usefull for debugging
# Need to create a symbolic link; but allow to directly see result
# Usefull for fast debugging; allow to launch script one by one
cypress open --env workdir=$(PWD),host=local
functional_browser_cypress:
docker run \
......@@ -72,7 +72,8 @@ functional_browser_cypress:
-v $(PWD)/doc/:/app/cypress/fixtures/doc/ \
-v $(PWD):/app/vidjil \
-v "$(PWD)/docker/ci/cypress_script.bash":"/app/script.bash" \
--env BROWSER=electron --env HOST=local --env PROJECT="./browser/test/" -it "vidjilci/cypress_with_browsers:latest" bash
-v "$(PWD)/docker/ci/cypress.json":"/app/cypress.json" \
--env BROWSER=electron --env HOST=local "vidjilci/cypress_with_browsers:latest" bash script.bash
###############################
......
......@@ -3,5 +3,6 @@
"reporterOptions": {
"mochaFile": "cypress/reports/test-cypress-[hash].xml"
},
"pluginsFile": false
"pluginsFile": false,
"video": false
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment