[wp-trac] [WordPress Trac] #60402: Testing: Add an e2e tests that checks Gutenberg + WordPress trunk

WordPress Trac noreply at wordpress.org
Wed Jan 31 13:22:15 UTC 2024


#60402: Testing: Add an e2e tests that checks Gutenberg + WordPress trunk
------------------------------+-----------------------------
 Reporter:  youknowriad       |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 On several occasions when merging Gutenberg changes into Core, we noticed
 PHP fatal errors due, in most cases, to duplicate class names.

 To prevent this from happening again, we added lint rules to Gutenberg to
 force developers to check existence of classes before defining them.

 That said, this is not sufficient and won't catch all incompatibilities
 and to help us catch these sooner and prevent failures for people using
 both Gutenberg and WordPress, we should consider adding a basic e2e test
 to Core that installs Gutenberg trunk (or latest Gutenberg version) and
 check that the frontend and backend are not broken (load without fatals).

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


More information about the wp-trac mailing list