Skip to content

chore(e2e): fix wdio config for Chrome #2195

chore(e2e): fix wdio config for Chrome

chore(e2e): fix wdio config for Chrome #2195

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: browser-actions/setup-chrome@v1
id: setup-chrome
with:
chrome-version: 130
install-dependencies: true
- name: Set Chrome Binary
run: echo "CHROME_BIN=${{ steps.setup-chrome.outputs.chrome-path }}" >> $GITHUB_ENV
- name: Check Chrome Version
run: $CHROME_BIN --version
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.tool-versions'
cache: 'npm'
cache-dependency-path: ./package-lock.json
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Test - installated extension
run: npm run wdio
- name: Test - updated extension
run: npm run wdio:update