Update webdriverio monorepo (major) #3434
Merged
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.
This PR contains the following updates:
6.12.1
->7.0.1
6.12.1
->7.0.1
6.12.1
->7.0.1
6.11.0
->7.0.0
6.11.0
->7.0.1
6.11.0
->7.0.1
6.12.1
->7.0.1
Release Notes
webdriverio/webdriverio
v7.0.1
Compare Source
💅 Polish
webdriverio
🏠 Internal
wdio-allure-reporter
,wdio-appium-service
,wdio-applitools-service
,wdio-browserstack-service
,wdio-concise-reporter
,wdio-crossbrowsertesting-service
,wdio-cucumber-framework
,wdio-devtools-service
,wdio-dot-reporter
,wdio-firefox-profile-service
,wdio-jasmine-framework
,wdio-junit-reporter
,wdio-local-runner
,wdio-sauce-service
,wdio-selenium-standalone-service
,wdio-spec-reporter
,wdio-sumologic-reporter
,wdio-testingbot-service
Committers: 2
v7.0.0
Compare Source
💥 Breaking Change
#6302 TypeScript Rewrite
As we have moved the complete code base to TypeScript we have rewritten the way how WebdriverIO provides type definitions to you. This has been more or less and internal change that should only affect users using TypeScript and having custom command definitions. In order to have proper type support now you need to add
webdriverio/sync
to your list of types, e.g.:Custom commands can now be added like this:
We do not recommend to specify
webdriverio
or@wdio/sync
in there anymore. For more information visit our updated docs on TypeScript Integration.If you use WebdriverIO in multiremote mode to get proper typing you should use the
multiremote
global variableAlongside with this change we also equipped the testrunner to auto-compile your configuration if TypeScript is detected, this allows to leverage type safety in your WDIO configuration without any additional setup (big thanks for this contribution goes to @r4j4h)
It is required to have TypeScript v4 or higher
#6309 Cucumber Framework update to v7
#6276 Google Lighthouse Updates
We have updated Google Lighthouse to support the latest performance metrics introduced by Google Lighthouse v7
There are no default environment changes when running performance tests anymore. If you want to emulate a mobile user (which is a recommended practice) you have to pass these information when running
enablePerformanceAudits
, e.g.:We added
formFactor
to theEnablePerformanceAuditsOptions
as it has been added to Lighthouse v7 as well, it tweaks the performance results based on which environment you run your tests in to give certain performance factors more weightWe added a new command test PWA apps based on Google Lighthouse audits, e.g.:
Checks the following PWA criterias:
We have purposely not added the complete set of audits as they require data that can only be captured through additional automation commands. These could interfer with further test processes and skew results and create flakiness which would make integrating these commands difficult.
#3407 Automatically run worker with Babel if setup
import
statements in your config file without any additional setup#6054 Validate W3C Capabilities
platform
) has been used too#6236 Update fibers to v5 and drop Node.js support for v10
🚀 New Feature
@wdio/devtools-service
now offers to capture the code coverage of your JavaScript application files. This can help you to identify whether you should write more e2e tests or not. To enable the feature you have to enable it by setting thecoverageReporter
option for the service:getCoverageReport
command, e.g.:🏠 Internal
master
tomain
💅 Polish
@wdio/spec-reporter
📝 Documentation
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.