gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Playwright Utils: Silence some of the warnings coming from Firefox

Open Mamaduka opened this issue 9 months ago • 2 comments

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

CleanShot 2024-05-07 at 21 11 15

Mamaduka avatar May 07 '24 17:05 Mamaduka

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.

github-actions[bot] avatar May 07 '24 17:05 github-actions[bot]

@swissspidy, should we merge this as it is?

Mamaduka avatar May 10 '24 15:05 Mamaduka