Skip to content

Commit

Permalink
Run tests in parallel.
Browse files Browse the repository at this point in the history
- Remove noise message.
- Move Cypress-specific .gitignore rules to where they apply.
  • Loading branch information
blairlearn committed Jan 22, 2024
1 parent 952897e commit 76becad
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,3 @@ docker/web/runtime/licenses/*
# Remove all patched original files.
*.orig

# Cypress-parallel result files and weight json
tests/cypress/runner-results

# Cypress screenshots
tests/cypress/cypress/screenshots/*
7 changes: 7 additions & 0 deletions tests/cypress/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

# Cypress-parallel result files and weight json
runner-results

# Cypress screenshots
cypress/screenshots

1 change: 0 additions & 1 deletion tests/cypress/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ module.exports = defineConfig({
// implement node event listeners here
},
defaultCommandTimeout: 10000,
experimentalSessionAndOrigin: true,
cacheAcrossSpecs: true,
specPattern: 'cypress/e2e/**/*.feature',
baseUrl: 'http://127.0.0.1:8888',
Expand Down
3 changes: 2 additions & 1 deletion tests/cypress/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ until $(curl --output /dev/null --silent --head --fail "http://127.0.0.1:8888");
sleep 0.1
done

npx cypress run --browser chromium
#npx cypress run --browser chromium
npm run cy:parallel #--browser chromium

blt tests:server:kill --no-interaction
kill $XVCB_PID

0 comments on commit 76becad

Please sign in to comment.