Skip to content

Commit

Permalink
fixed: Another attempt to fix the ci
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Feb 23, 2024
1 parent 3d34166 commit badaeeb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ jobs:
- run: |
npm run lint
npm test
- name: Setup chrome
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '20.x' }}
uses: browser-actions/setup-chrome@v1
with:
chrome-version: 120
- name: Runtime test
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '20.x' }}
run: |
Expand Down
13 changes: 11 additions & 2 deletions wdio.conf.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import path from 'node:path'
import url from 'node:url'
const __dirname = path.dirname(url.fileURLToPath(import.meta.url))

export const config = {
//
// ====================
Expand Down Expand Up @@ -49,8 +53,13 @@ export const config = {
//
capabilities: [
{
// capabilities for local browser web tests
browserName: 'chrome', // or "firefox", "microsoftedge", "safari"
browserName: 'chrome',
'goog:chromeOptions': {
args: ['headless', 'disable-gpu'],
prefs: {
'download.default_directory': __dirname,
},
},
},
],

Expand Down

0 comments on commit badaeeb

Please sign in to comment.