Skip to content

Commit

Permalink
Try Cypress with Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Kmaschta committed Apr 7, 2020
1 parent 6d78188 commit 591a6c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ node_js:
addons:
chrome: stable
env:
- E2E_BROWSER=chrome
- E2E_BROWSER=firefox
global:
- DISPLAY=:99.0
- NODE_ENV=test
Expand Down
2 changes: 1 addition & 1 deletion cypress/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ return server.start().then(listeningServer => {
// kick off a cypress run
return cypress
.run({
browser: 'chrome',
browser: process.env.E2E_BROWSER || 'chrome',
config: {
baseUrl: 'http://localhost:8080',
video: false,
Expand Down

0 comments on commit 591a6c8

Please sign in to comment.