Skip to content

Commit

Permalink
fix: 🐛 Patch to support wdio-v8 (#641)
Browse files Browse the repository at this point in the history
* fix: 🐛 Patch to support wdio-v8
* chore: 🤖 remove old integration tests for webdriver 5 and 6
* security-patch: 🐛 [node-fetch](GHSA-r683-j2x4-v87g)
  • Loading branch information
mdasberg authored Jan 15, 2023
1 parent 9c559b9 commit 47a392e
Show file tree
Hide file tree
Showing 50 changed files with 9,506 additions and 13,579 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ jobs:
fail-fast: true
matrix:
node_version:
- 14
- 16
- 18
os:
- ubuntu-latest
- macOS-latest
Expand All @@ -22,15 +21,15 @@ jobs:
- x64

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.architecture }}
registry-url: https://registry.npmjs.org
- name: Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
Expand Down
22 changes: 8 additions & 14 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,26 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 18
registry-url: https://registry.npmjs.org
- name: install
run: yarn install --frozen-lockfile
- name: build
run: yarn compile
- name: integration test wdio-v5
run: yarn itest5
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
FORCE_EXIT: true
- name: integration test wdio-v6
run: yarn itest6
- name: integration test wdio-v7
run: yarn itest7
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
FORCE_EXIT: true
- name: integration test wdio-v7
run: yarn itest7
- name: integration test wdio-v8
run: yarn itest8
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
FORCE_EXIT: true
FORCE_EXIT: true
6 changes: 3 additions & 3 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
sonarcloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 18
registry-url: https://registry.npmjs.org
- name: install
run: yarn install --frozen-lockfile
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 18
registry-url: https://registry.npmjs.org
- name: install
run: yarn install --frozen-lockfile
Expand Down
34 changes: 0 additions & 34 deletions itest/wdio-v5/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions itest/wdio-v5/test/cucumber.helper.ts

This file was deleted.

69 changes: 0 additions & 69 deletions itest/wdio-v5/test/pos/page.po.ts

This file was deleted.

90 changes: 0 additions & 90 deletions itest/wdio-v5/test/step_definitions/client.steps.ts

This file was deleted.

Loading

0 comments on commit 47a392e

Please sign in to comment.