diff --git a/appveyor.yml b/appveyor.yml index 2f80ec2..f35dc66 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,7 +11,6 @@ cache: - '%USERPROFILE%\AppData\Local\Cypress\Cache' build_script: - npm run build - - docker compose up --build --abort-on-container-exit --exit-code-from cypress test_script: - npm run test-record - npm run codecov diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index fd170fb..dffed25 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -14,4 +14,4 @@ module.exports = (on, config) => { // `on` is used to hook into various events Cypress emits // `config` is the resolved Cypress config -} +}; diff --git a/docker-compose.yml b/docker-compose.yml index 1fe733f..0fb9b18 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,4 +14,4 @@ services: - web environment: - CYPRESS_baseUrl=http://web:3000 - command: cypress run --config video=false --browser chrome --headed + command: cypress run --config video=false diff --git a/usage_scenario.yml b/usage_scenario.yml index abe386e..fee0b09 100644 --- a/usage_scenario.yml +++ b/usage_scenario.yml @@ -25,6 +25,10 @@ flow: container: cypress commands: - type: console - command: cypress run --config video=false --browser chrome --headed + command: cypress run --config video=false --browser chrome --headless detach: true note: Running cypress tests against website + # The cypress docker image has an open issue and writes some stuff to stdErr, + # which causes a failure even with a 0 exit code + # https://github.com/cypress-io/cypress-docker-images/issues/747 + ignore-errors: true