Commit a2d9269
authored
Upgrade WebdriverIO e2e stack from v8 to v9 (#1930)
## Why
Dependabot raised four separate, interdependent bumps for the
WebdriverIO v8→v9 migration that **cannot merge individually**:
- #1787 `@wdio/cli` 8→9
- #1788 `@wdio/mocha-framework` 8→9
- #1789 `@wdio/types` 8→9
- #1785 `wdio-video-reporter` 5→6
The `@wdio/*` packages must move in lockstep, and the v9 line
additionally requires `wdio-vscode-service` v8 (its v8 peer-depends on
`webdriverio@^9`) — which Dependabot never proposed. This PR performs
the coordinated upgrade so the e2e tooling can advance, and supersedes
the four PRs above.
## What
- Bump `@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 as `WebdriverIO.Config` (v9 moved
`capabilities` out of `Options.Testrunner`) and drop 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.json`: add the `DOM` lib and `skipLibCheck`, now
required by v9's `webdriverio` types.
- `commonUtils.ts`: `expect(string).not.toHaveText()` is element-only in
v9's `expect-webdriverio`; switched 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
- The e2e suite itself runs in CI (needs a VS Code download, VSIX build
and a live Databricks workspace).
**Backward 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.1 parent 8b847cc commit a2d9269
5 files changed
Lines changed: 2539 additions & 2462 deletions
File tree
- packages/databricks-vscode
- src/test/e2e
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1531 | 1531 | | |
1532 | 1532 | | |
1533 | 1533 | | |
1534 | | - | |
| 1534 | + | |
1535 | 1535 | | |
1536 | 1536 | | |
1537 | 1537 | | |
| |||
1580 | 1580 | | |
1581 | 1581 | | |
1582 | 1582 | | |
1583 | | - | |
1584 | | - | |
1585 | | - | |
1586 | | - | |
1587 | | - | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
1588 | 1588 | | |
1589 | 1589 | | |
1590 | 1590 | | |
| |||
1603 | 1603 | | |
1604 | 1604 | | |
1605 | 1605 | | |
1606 | | - | |
1607 | | - | |
| 1606 | + | |
| 1607 | + | |
1608 | 1608 | | |
1609 | 1609 | | |
1610 | 1610 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
259 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
260 | 274 | | |
261 | 275 | | |
262 | 276 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
| |||
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
22 | 41 | | |
23 | 42 | | |
24 | 43 | | |
| |||
92 | 111 | | |
93 | 112 | | |
94 | 113 | | |
95 | | - | |
| 114 | + | |
96 | 115 | | |
97 | 116 | | |
98 | 117 | | |
99 | 118 | | |
100 | 119 | | |
101 | 120 | | |
102 | 121 | | |
103 | | - | |
| 122 | + | |
104 | 123 | | |
105 | 124 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
112 | 129 | | |
113 | 130 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | 131 | | |
125 | 132 | | |
126 | 133 | | |
| |||
0 commit comments