Skip to content

Commit 5fed68f

Browse files
authored
refactor!: remove webdriverio package (#10675)
1 parent d20aa66 commit 5fed68f

54 files changed

Lines changed: 510 additions & 3690 deletions

Some content is hidden

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

.github/actions/setup-webdriverio/action.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,6 @@ jobs:
109109
with:
110110
node-version: ${{ matrix.node_version }}
111111

112-
- uses: ./.github/actions/setup-webdriverio
113-
id: setup-webdriverio
114-
with:
115-
firefox-version: false
116-
117112
- name: Install
118113
run: pnpm i
119114

@@ -179,11 +174,6 @@ jobs:
179174
with:
180175
node-version: ${{ matrix.node_version }}
181176

182-
- uses: ./.github/actions/setup-webdriverio
183-
id: setup-webdriverio
184-
with:
185-
firefox-version: false
186-
187177
- name: Install
188178
run: pnpm i
189179

@@ -220,9 +210,6 @@ jobs:
220210
with:
221211
node-version: ${{ matrix.node_version }}
222212

223-
- uses: ./.github/actions/setup-webdriverio
224-
id: setup-webdriverio
225-
226213
- name: Install
227214
run: pnpm i
228215

@@ -234,9 +221,6 @@ jobs:
234221
- name: Test Browser (playwright)
235222
run: pnpm run test:browser:playwright
236223

237-
- name: Test Browser (webdriverio)
238-
run: pnpm run test:browser:webdriverio
239-
240224
test-vite7:
241225
needs: changed
242226
# macos-latest is the fastest one
@@ -255,11 +239,6 @@ jobs:
255239
with:
256240
node-version: 24
257241

258-
- uses: ./.github/actions/setup-webdriverio
259-
id: setup-webdriverio
260-
with:
261-
firefox-version: false
262-
263242
- name: Install
264243
run: |
265244
pnpm override-vite7

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Vitest is a next-generation testing framework powered by Vite. This is a monorep
3333
- **Examples**: `CI=true pnpm test:examples`
3434
- **Specific test suite**: `CI=true cd test/<test-folder> && pnpm test <test-file>`
3535
- **Unit directory test**: `CI=true pnpm test <test-file>` (for `test/unit`)
36-
- **Browser tests**: `CI=true pnpm test:browser:playwright` or `CI=true pnpm test:browser:webdriverio`
36+
- **Browser tests**: `CI=true pnpm test:browser:playwright`
3737

3838
**IMPORTANT: Do NOT use `--` when passing test filters to pnpm.**
3939
Using `--` causes pnpm to drop the filter, resulting in a full test run instead of a filtered one.

docs/config/browser/webdriverio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Configuring WebdriverIO
22

3-
::: info Playwright vs WebdriverIO
4-
If you do not already use WebdriverIO in your project, we recommend starting with [Playwright](/config/browser/playwright) as it is easier to configure and has more flexible API.
3+
::: info Community maintained
4+
The WebdriverIO provider ([`@vitest/browser-webdriverio`](https://github.com/vitest-community/vitest-webdriverio)) is maintained by the Vitest community in the [`vitest-community`](https://github.com/vitest-community) organization, separately from the core Vitest packages. Please report provider-specific issues to its repository.
55
:::
66

77
To run tests using WebdriverIO, you need to install the [`@vitest/browser-webdriverio`](https://npmx.dev/package/@vitest/browser-webdriverio) npm package and specify its `webdriverio` export in the `test.browser.provider` property of your config:

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"ui:dev": "npm -C packages/ui run dev:client",
3737
"ui:test": "npm -C packages/ui run test:run",
3838
"override-vite7": "yq -i '.overrides.vite = \"npm:vite@7\"' pnpm-workspace.yaml",
39-
"test:browser:webdriverio": "pnpm -C test/browser run test:webdriverio",
4039
"test:browser:playwright": "pnpm -C test/browser run test:playwright"
4140
},
4241
"devDependencies": {

packages/browser-webdriverio/README.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

packages/browser-webdriverio/context.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/browser-webdriverio/package.json

Lines changed: 0 additions & 65 deletions
This file was deleted.

packages/browser-webdriverio/rollup.config.js

Lines changed: 0 additions & 60 deletions
This file was deleted.

packages/browser-webdriverio/src/commands/clear.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)