Skip to content

Commit 47a392e

Browse files
authored
fix: πŸ› Patch to support wdio-v8 (#641)
* fix: πŸ› Patch to support wdio-v8 * chore: πŸ€– remove old integration tests for webdriver 5 and 6 * security-patch: πŸ› [node-fetch](GHSA-r683-j2x4-v87g)
1 parent 9c559b9 commit 47a392e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+9506
-13579
lines changed

β€Ž.github/workflows/ci.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ jobs:
1212
fail-fast: true
1313
matrix:
1414
node_version:
15-
- 14
16-
- 16
15+
- 18
1716
os:
1817
- ubuntu-latest
1918
- macOS-latest
@@ -22,15 +21,15 @@ jobs:
2221
- x64
2322

2423
steps:
25-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2625
- name: Setup node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
27-
uses: actions/setup-node@v2
26+
uses: actions/setup-node@v3
2827
with:
2928
node-version: ${{ matrix.node_version }}
3029
architecture: ${{ matrix.architecture }}
3130
registry-url: https://registry.npmjs.org
3231
- name: Cache
33-
uses: actions/cache@v2
32+
uses: actions/cache@v3
3433
with:
3534
path: '**/node_modules'
3635
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

β€Ž.github/workflows/integration.yml

+8-14
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,26 @@ jobs:
1111
test:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
with:
1616
fetch-depth: 0
17-
- uses: actions/setup-node@v2
17+
- uses: actions/setup-node@v3
1818
with:
19-
node-version: 14
19+
node-version: 18
2020
registry-url: https://registry.npmjs.org
2121
- name: install
2222
run: yarn install --frozen-lockfile
2323
- name: build
2424
run: yarn compile
25-
- name: integration test wdio-v5
26-
run: yarn itest5
27-
env:
28-
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
29-
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
30-
FORCE_EXIT: true
31-
- name: integration test wdio-v6
32-
run: yarn itest6
25+
- name: integration test wdio-v7
26+
run: yarn itest7
3327
env:
3428
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
3529
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
3630
FORCE_EXIT: true
37-
- name: integration test wdio-v7
38-
run: yarn itest7
31+
- name: integration test wdio-v8
32+
run: yarn itest8
3933
env:
4034
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
4135
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
42-
FORCE_EXIT: true
36+
FORCE_EXIT: true

β€Ž.github/workflows/qa.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
sonarcloud:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
with:
1616
fetch-depth: 0
17-
- uses: actions/setup-node@v2
17+
- uses: actions/setup-node@v3
1818
with:
19-
node-version: 14
19+
node-version: 18
2020
registry-url: https://registry.npmjs.org
2121
- name: install
2222
run: yarn install --frozen-lockfile

β€Ž.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
with:
1414
fetch-depth: 0
15-
- uses: actions/setup-node@v2
15+
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 14
17+
node-version: 18
1818
registry-url: https://registry.npmjs.org
1919
- name: install
2020
run: yarn install --frozen-lockfile

β€Žitest/wdio-v5/package.json

-34
This file was deleted.

β€Žitest/wdio-v5/test/cucumber.helper.ts

-3
This file was deleted.

β€Žitest/wdio-v5/test/pos/page.po.ts

-69
This file was deleted.

β€Žitest/wdio-v5/test/step_definitions/client.steps.ts

-90
This file was deleted.

0 commit comments

Comments
Β (0)