-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
WebdriverIO Version
8.29.0
Node.js Version
18.18.2
Mode
WDIO Testrunner
Which capabilities are you using?
No response
What happened?
At our project we primarily start our tests from command line with wdio run config -- --user=... --key=...
Since version 8.29.0 we get the message: Type check for option "updateSnapshots" failed: the "updateSnapshots" options needs to be one of "all", "new", "none".
During debugging we see that when --user is passed to the cli as an argument, that the config option updateSnapshots is set with this value. When --user is left out from cli, updateSnapshots keeps it value.
What is your expected behavior?
updateSnapshots does not get updated by --user
How to reproduce the bug.
Add option --user to the wdio run command.
Relevant log output
Error: Type check for option "updateSnapshots" failed: the "updateSnapshots" options needs to be one of "all", "new", "none"Code of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
Reactions are currently unavailable