-
Notifications
You must be signed in to change notification settings - Fork 795
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(e2e): honor devtools and browserDevtools settings (#4403)
this commit fixes a bug where configuration options passed to puppeteer would not be forwarded properly. specifically, setting the `--devtools` flag on the command line and setting `browserDevtools` in a project's configuration would be ignored. the setting of these fields has been moved to the testing configuration validation step of the test task - this allows us to make the correct decision regarding setting the `browserDevtools` flag based on: - whether `CI` is enabled (prefer headless mode in this scenario) - `--devtools` or `browserHeadless` is set (used when `CI` is not enabled, disable headless mode)
- Loading branch information
1 parent
1d36c86
commit fe433b6
Showing
3 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters