cypressRun.sh 242 B

1234567891011
  1. #!/bin/bash
  2. set -o xtrace
  3. echo "Running config $1"
  4. cp -f ./configs/config.$1.yaml ./configs/config.yaml
  5. docker start olivetin
  6. NO_COLOR=1 ./node_modules/.bin/cypress run --headless -s cypress/integration/$1/* || true
  7. docker kill olivetin