gutenberg
gutenberg copied to clipboard
Playwright Utils: Silence some of the warnings coming from Firefox
What?
PR updates the observeConsoleLogging
method to silence some common warnings and avoid displaying them in the terminal.
Note: Warnings are still displayed when running tests in UI mode.
Why?
The change reduces the noise in CI and local reports.
Testing Instructions
Running the following command shouldn't display warnings in the terminal.
npm run test:e2e -- -g "can undo asterisk transform" --project=firefox
Screenshot
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot
label.
If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: swissspidy <[email protected]>
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.
@swissspidy, should we merge this as it is?