Prepare update to v9
christian-bromann opened this issue · 3 comments
christian-bromann commented
In order to assure a smooth v9 release, let's create a v9
branch and update all WebdriverIO dependencies to v9, particular the following dev release: 9.0.0-alpha.351
. See the Jasmine boilerplate as example: webdriverio/jasmine-boilerplate#1099
wswebcreation commented
Thanks @christian-bromann
I'm now working on it an I have a few issues, mainly in the types. Do you have some docs about what changed so I can fix it?
6:16:27 PM - Starting compilation in watch mode...
packages/ocr-service watch: src/service.ts(52,79): error TS2694: Namespace '"/Users/wimselles/Git/wdio/visual-testing/node_modules/.pnpm/@wdio+types@9.0.0-alpha.351/node_modules/@wdio/types/build/Capabilities"' has no exported member 'MultiRemoteCapabilities'.
packages/ocr-service watch: src/service.ts(56,65): error TS2694: Namespace '"/Users/wimselles/Git/wdio/visual-testing/node_modules/.pnpm/@wdio+types@9.0.0-alpha.351/node_modules/@wdio/types/build/Capabilities"' has no exported member 'MultiRemoteCapabilities'.
packages/ocr-service watch: 6:16:27 PM - Found 2 errors. Watching for file changes.
packages/visual-service watch: src/service.ts(73,79): error TS2694: Namespace '"/Users/wimselles/Git/wdio/visual-testing/node_modules/.pnpm/@wdio+types@9.0.0-alpha.351/node_modules/@wdio/types/build/Capabilities"' has no exported member 'MultiRemoteCapabilities'.
packages/visual-service watch: src/service.ts(125,65): error TS2694: Namespace '"/Users/wimselles/Git/wdio/visual-testing/node_modules/.pnpm/@wdio+types@9.0.0-alpha.351/node_modules/@wdio/types/build/Capabilities"' has no exported member 'MultiRemoteCapabilities'.
packages/visual-service watch: src/storybook/launcher.ts(28,77): error TS2724: '"/Users/wimselles/Git/wdio/visual-testing/node_modules/.pnpm/@wdio+types@9.0.0-alpha.351/node_modules/@wdio/types/build/Capabilities"' has no exported member named 'RemoteCapabilities'. Did you mean 'EdgeCapabilities'?
packages/visual-service watch: src/storybook/Types.ts(1,15): error TS2305: Module '"node_modules/@wdio/types/build/Capabilities.js"' has no exported member 'RemoteCapability'.
packages/visual-service watch: 6:16:27 PM - Found 4 errors. Watching for file changes.
packages/webdriver-image-comparison watch: src/commands/check.interfaces.ts(14,56): error TS2315: Type 'ChainablePromiseElement' is not generic.
packages/webdriver-image-comparison watch: src/commands/element.interfaces.ts(40,48): error TS2315: Type 'ChainablePromiseElement' is not generic.
packages/webdriver-image-comparison watch: src/methods/rectangles.ts(242,56): error TS2315: Type 'ChainablePromiseElement' is not generic.
packages/webdriver-image-comparison watch: 6:16:28 PM - Found 3 errors. Watching for file changes.
wswebcreation commented
See also #417
wswebcreation commented
I think I fixed all type errors, will close this one