Skip to content

Commit

Permalink
fix(webdriverio): work with @wdio/globals (#882)
Browse files Browse the repository at this point in the history
* fix(webdriverio): work with @wdio/globals

* test

* headless

* fix node20 error

* changes
  • Loading branch information
straker authored Oct 24, 2023
1 parent ddba444 commit 2e016b4
Show file tree
Hide file tree
Showing 10 changed files with 11,406 additions and 2,989 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ module.exports = {
{
files: ['*.test.ts', '*.test.tsx', '*.spec.ts', '*.spec.tsx'],
rules: {
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off'
}
Expand Down
18 changes: 17 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,22 @@ jobs:
- run: npm run coverage --workspace=packages/playwright
- run: npm run test:esm --workspace=packages/playwright

wdio_globals_test:
strategy:
matrix:
node: [16, 18, 20]
runs-on: ubuntu-latest
timeout-minutes: 15
needs: lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- run: npm ci
- run: npm run test --workspace=test/wdio

axe_core_test:
if: github.ref_name == 'master' || startsWith(github.ref_name, 'release')
runs-on: ubuntu-latest
Expand All @@ -174,4 +190,4 @@ jobs:
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm test --workspace=test/axe-core
- run: npm test --workspace=test/axe-core
Loading

0 comments on commit 2e016b4

Please sign in to comment.