Skip to content

Bump webdriverio from 7.27.0 to 8.0.0

scriptuser requested to merge dependabot-npm_and_yarn-webdriverio-8.0.0 into main

Bumps webdriverio from 7.27.0 to 8.0.0.

Release notes

Sourced from webdriverio's releases.

v8

💥 Breaking Change

  • Drop Node.js v12, v13 and v14 Support
  • Transition code base from CommonJS to ESM
    • This should not affect WebdriverIO users as you can use the testrunner, as well as webdriver, devtools and webdriverio NPM packages in a CJS environment
    • We still mark this as breaking as we can't gurantee that all (untested) functionality will behave the same due to all rewrites done to the code base
  • Removal of @wdio/sync which we deprecated in v7
  • WebdriverIO types are now accessible through @wdio/globals/types instead of webdriverio/async
  • Removal of browser.config
    • Please use browser.options instead
    • This will stop support assigning custom properties to the wdio.conf.js which we disadvise you to do, instead either assign it as part of a custom capability, e.g. custom:options (note the : in it, read more on custom capabilities in the WebDriver spec) or via `@wdio/shared-store-service
  • discontinued support for tsconfig-paths

🚀 New Feature

  • New runner plugin called @wdio/browser-runner allows you to run unit and component tests in the browser
  • Access WebdriverIO primitives through the new @wdio/globals package
  • New Action API

🏠 Internal

  • Update required Node.js version for development to v18.12.1
  • Migrate unit tests from Jest to Vitest

💅 Polish

  • Improvements on configuration wizard and create-wdio
    • It now detects whether your projects uses ESM or CJS and creates example files accordingly
    • It now finds the project root and sets up the project relative to it
    • Adds support for browser runner selection

📝 Documentation

  • Little design tweaks to the hero section on the main page
  • Added new section for component testing
  • Added new API section for browser, element, mock objects, modules and environment variables
Changelog

Sourced from webdriverio's changelog.

v8.0.0 (2022-12-01)

💥 Breaking Change

  • Drop Node.js v12, v13 and v14 Support
  • Transition code base from CommonJS to ESM
    • This should not affect WebdriverIO users as you can use the testrunner, as well as webdriver, devtools and webdriverio NPM packages in a CJS environment
    • We still mark this as breaking as we can't gurantee that all (untested) functionality will behave the same due to all rewrites done to the code base
  • Removal of @wdio/sync which we deprecated in v7
  • WebdriverIO types are now accessible through @wdio/globals/types instead of webdriverio/async
  • Removal of browser.config
    • Please use browser.options instead
    • This will stop support assigning custom properties to the wdio.conf.js which we disadvise you to do, instead either assign it as part of a custom capability, e.g. custom:options (note the : in it, read more on custom capabilities in the WebDriver spec) or via `@wdio/shared-store-service
  • discontinued support for tsconfig-paths

🚀 New Feature

  • New runner plugin called @wdio/browser-runner allows you to run unit and component tests in the browser
  • Access WebdriverIO primitives through the new @wdio/globals package
  • New Action API

🏠 Internal

  • Update required Node.js version for development to v18.12.1
  • Migrate unit tests from Jest to Vitest

💅 Polish

  • Improvements on configuration wizard and create-wdio
    • It now detects whether your projects uses ESM or CJS and creates example files accordingly
    • It now finds the project root and sets up the project relative to it
    • Adds support for browser runner selection

📝 Documentation

  • Little design tweaks to the hero section on the main page
  • Added new section for component testing
  • Added new API section for browser, element, mock objects, modules and environment variables
Commits
  • a9b5954 v8.0.0
  • 785d0cf allow to use custom commands and overwrite command before session start
  • e021898 get watch mode to work for browser runner
  • 8a43b0b Bump devtools-protocol from 0.0.1073708 to 0.0.1075693 (#9243)
  • 201db7a Bump puppeteer-core from 19.2.2 to 19.3.0
  • f1fa415 Bump devtools-protocol from 0.0.1073708 to 0.0.1075032 (#9236)
  • 0f46a2b fix unit tests after last developments
  • a7391c3 Bump devtools-protocol from 0.0.1070637 to 0.0.1074451 (#9224)
  • 8b2539d Bump devtools-protocol from 0.0.1070637 to 0.0.1073708 (#9209)
  • d7f8582 get rid of require.resolve whereever possible
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports