WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.32k stars 4.12k forks source link

Testing: Use SCRIPT_DEBUG in end-to-end test environment #14845

Open aduth opened 5 years ago

aduth commented 5 years ago

Previously: https://github.com/WordPress/gutenberg/pull/14371#issuecomment-471970997 Blocked by: #11360

The end-to-end test suite includes automatic test failures for console error logging. By using development-mode scripts, we can receive more messages (and more helpful messaging) from some vendor dependencies such as React which provide warning messages in development environments.

This is currently blocked by #11360, since there are currently known warnings which occur in development environments related to the use of unsafe lifecycle methods. These must first be resolved before SCRIPT_DEBUG can be activated by default.

aduth commented 5 years ago

As #11360 is now closed, it's technically not blocked any longer. I suspect there may still be some rogue errors which occur in some components (see also #14851, #15790).

gziolo commented 4 years ago

It's blocked by #17355 which should be worked on first.