Skip to content

Commit

Permalink
avoid using xvfb
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Oct 23, 2023
1 parent 2072b4d commit 3d035f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run compile
- name: Run headless test
uses: smithki/[email protected]
with:
run: npm run test:e2e
options: --disable-features=NetworkService --disable-gpu
# - name: Run headless test
# uses: smithki/[email protected]
# with:
# run: npm run test:e2e
# options: --disable-features=NetworkService --disable-gpu
- run: npm run test
- name: Unit Tests
run: npm run test:unit
# - name: Contribute List
Expand Down
3 changes: 1 addition & 2 deletions scripts/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
export CODE_TESTS_PATH="$(pwd)/client/out/test"
export CODE_TESTS_WORKSPACE="$(pwd)/client/testFixture"


node "$(pwd)/client/out/test/runTest" --ms-enable-electron-run-as-node
node "$(pwd)/client/out/test/runTest"

0 comments on commit 3d035f0

Please sign in to comment.