[wp-trac] [WordPress Trac] #59659: Run Gutenberg e2e tests in core

WordPress Trac noreply at wordpress.org
Tue Oct 17 17:13:36 UTC 2023


#59659: Run Gutenberg e2e tests in core
------------------------------+------------------------------
 Reporter:  swissspidy        |       Owner:  (none)
     Type:  feature request   |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by swissspidy):

 I haven't fully thought about the details upon creating the ticket, but
 there could be multiple ways to approach this. For instance:

 1. Every time we update packages in core, we copy over all the e2e test
 files from Gutenberg as well so they run. This way we know all the
 functionality covered by the tests is in core and that the tests should
 pass. Downside is that it's confusing for contributors as the source of
 truth for the tests is in another repo.
 2. We check out the Gutenberg repo on CI and run their tests, but not
 against their wp-env environment but the core environment. This requires
 activating Gutenberg and adding the same test plugins and themes. So it's
 testing core+Gutenberg and not core itself.
 3. Something else?

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


More information about the wp-trac mailing list