[wp-trac] [WordPress Trac] #58661: Run E2E tests with and without `SCRIPT_DEBUG` enabled

WordPress Trac noreply at wordpress.org
Wed Jun 28 19:01:54 UTC 2023


#58661: Run E2E tests with and without `SCRIPT_DEBUG` enabled
------------------------------+-----------------------------
 Reporter:  Clorith           |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 The current setup for the E2E tests is to use the default `.env`
 generation, which sets `SCRIPT_DEBUG` to `true`. This is to capture any
 console warnings that are generated during the test runs, and make sure
 they are also surfaced.

 Adding a matrix which allows us to run it with `SCRIPTS_DEBUG` set to both
 `true` and `false` would allow us to catch scenarios where the minified
 and non-minified files may differ, for example, the minification process
 has resulted in erroneous files.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58661>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list