[wp-trac] [WordPress Trac] #47767: Simplify and backport the local environment

WordPress Trac noreply at wordpress.org
Fri Aug 9 09:28:16 UTC 2019


#47767: Simplify and backport the local environment
-------------------------------------+-----------------------
 Reporter:  pento                    |       Owner:  pento
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.3
Component:  Build/Test Tools         |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+-----------------------

Comment (by pento):

 Replying to [comment:33 youknowriad]:
 >  - Should this `tools/local-env/scripts/e2e.js` live in the local-env
 folder? or maybe in the e2e tests folder? or a tools folder dedicated to
 tests?

 That's true, it's not specific to `local-env`. I've moved it to `tests/e2e
 /run-tests.js`, instead.

 >  - Is it still possible to pass extra arguments to the `npm run
 test:e2e` command to run a specific test or trigger the interactive mode
 with this new script?

 Good catch, [attachment:"47767.15.diff"] passes all extra arguments
 through to `wp-scripts`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47767#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list