Skip to content

Commit

Permalink
cicleci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed May 20, 2023
1 parent 2c58fa6 commit 12f7750
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
working_directory: ~/repo

steps:
- run: sudo apt-get install libgconf-2-4
- run: sudo apt-get install libgconf-2-4 xvfb
- run: sudo /usr/bin/Xvfb :0 -screen 0 1280x1024x24 &

- checkout

Expand All @@ -36,4 +37,4 @@ jobs:
key: v2-dependencies-{{ checksum "package.json" }}

# run tests!
- run: npm test
- run: DISPLAY=:0 npm test
2 changes: 1 addition & 1 deletion tests/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const startApplication = function() {
this.app = new Application({
path: electron,
args: ["."],
chromeDriverArgs: ['remote-debugging-port=' + Math.floor(Math.random() * (9999 - 9000) + 9000)],
chromeDriverArgs: ['remote-debugging-port=' + Math.floor(Math.random() * (9999 - 9000) + 9000), 'no-sandbox', 'disable-dev-shm-usage'],
startTimeout: 30000,
waitTimeout: 60000,
quitTimeout: 15000
Expand Down

0 comments on commit 12f7750

Please sign in to comment.