[wp-trac] [WordPress Trac] #49606: Add visual regression testing to core

WordPress Trac noreply at wordpress.org
Wed Mar 24 23:45:49 UTC 2021


#49606: Add visual regression testing to core
------------------------------+----------------------
 Reporter:  isabel_brison     |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  5.8
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  ui, css
------------------------------+----------------------

Comment (by isabel_brison):

 Ok, I think this is ready to go. I've added a readme with basic
 instructions on how to run the tests locally.

 Next steps:

 - Decide if/when we should run these tests on CI (they're pretty slow so
 we shouldn't run them for any changes that don't affect visual rendering
 of the admin pages)
 - Write tests for the remaining pages on desktop breakpoint
 - Run tests on mobile breakpoint as well (may need some tweaks, especially
 to elements being hidden before the snapshot is taken)

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


More information about the wp-trac mailing list