Upgrade WebdriverIO e2e stack from v8 to v9#1929
Closed
rugpanov wants to merge 1 commit into
Closed
Conversation
*Why* Dependabot raised four separate, interdependent bumps for the WebdriverIO v8→v9 migration (@wdio/cli #1787, @wdio/mocha-framework #1788, @wdio/types #1789, wdio-video-reporter #1785). None can merge individually because the @wdio/* packages must move in lockstep and the v9 line additionally requires wdio-vscode-service v8 (its v8 peer-depends on webdriverio@^9). This single PR performs the coordinated upgrade so the e2e tooling can advance. *What* - Bump @wdio/cli, @wdio/local-runner, @wdio/mocha-framework, @wdio/spec-reporter and @wdio/types to ^9.29.0; wdio-video-reporter to ^6.2.0; and wdio-vscode-service to ^8.0.0 (required for webdriverio@^9). - wdio.conf.ts: type the config as WebdriverIO.Config (v9 moved `capabilities` out of Options.Testrunner) and remove the removed `autoCompileOpts`/ts-node block. v9 transpiles TS via the bundled `tsx`; the tsconfig is now passed with `--tsConfigPath` in the `test:integ:extension` script. - e2e tsconfig: add the DOM lib and skipLibCheck, which v9's webdriverio types now require. - commonUtils.ts: `expect(string).not.toHaveText()` is element-only in v9's expect-webdriverio; switch the string assertion to `.not.toBe("-")`. *Verification* - `tsc --noEmit -p src/test/e2e/tsconfig.json` passes (0 errors). - `eslint` + `prettier -c` clean on changed files. - `yarn install` resolves cleanly to webdriverio 9.29.0 with no peer conflicts. - `yarn run build` succeeds. - Note: the e2e suite itself runs only in CI (needs a VS Code download, VSIX build and a live Databricks workspace), so the runtime e2e run is left to CI. Backward compatibility: dev/test-tooling only — no runtime, API, persisted state or config-format changes; the shipped extension is unaffected. Co-authored-by: Isaac
This was referenced Jun 30, 2026
Contributor
|
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
Contributor
Author
|
Integration tests: https://github.com/databricks-eng/eng-dev-ecosystem/actions/runs/28456022891 |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Dependabot raised four separate, interdependent bumps for the WebdriverIO v8→v9 migration that cannot merge individually:
@wdio/cli8→9@wdio/mocha-framework8→9@wdio/types8→9wdio-video-reporter5→6The
@wdio/*packages must move in lockstep, and the v9 line additionally requireswdio-vscode-servicev8 (its v8 peer-depends onwebdriverio@^9) — which Dependabot never proposed. This PR performs the coordinated upgrade so the e2e tooling can advance, and supersedes the four PRs above.What
@wdio/cli,@wdio/local-runner,@wdio/mocha-framework,@wdio/spec-reporter,@wdio/types→^9.29.0;wdio-video-reporter→^6.2.0;wdio-vscode-service→^8.0.0.wdio.conf.ts: type the config asWebdriverIO.Config(v9 movedcapabilitiesout ofOptions.Testrunner) and drop the removedautoCompileOpts/ts-node block. v9 transpiles TS via the bundledtsx; the tsconfig is now passed with--tsConfigPathin thetest:integ:extensionscript.tsconfig.json: add theDOMlib andskipLibCheck, now required by v9'swebdriveriotypes.commonUtils.ts:expect(string).not.toHaveText()is element-only in v9'sexpect-webdriverio; switched the string assertion to.not.toBe("-").Verification
tsc --noEmit -p src/test/e2e/tsconfig.jsonpasses (0 errors)eslint+prettier -cclean on changed filesyarn installresolves cleanly towebdriverio9.29.0 with no peer conflictsyarn run buildsucceedsBackward compatibility: dev/test-tooling only — no runtime, API, persisted-state or config-format changes; the shipped extension is unaffected.
This pull request and its description were written by Isaac.