Skip to content

Commit

Permalink
Ignore errors in the usage scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
ceddlyburge committed May 2, 2023
1 parent 31d366d commit 97b7f4f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion cypress/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
}
};
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 5 additions & 1 deletion usage_scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 97b7f4f

Please sign in to comment.