[wp-trac] [WordPress Trac] #49606: Add visual regression testing to core
WordPress Trac
noreply at wordpress.org
Tue Jul 21 07:38:35 UTC 2020
#49606: Add visual regression testing to core
------------------------------+------------------------------
Reporter: isabel_brison | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: | Focuses: ui, css
------------------------------+------------------------------
Comment (by isabel_brison):
Update on this: I did some experiments on the linked GitHub PR and
concluded it's virtually impossible for the tests to pass when comparing
snapshots generated locally vs on Travis. This is probably due to
resolution differences, but I tried fiddling with all the variables
provided and no luck.
Also, because these tests would mostly be useful when refactoring CSS, I'm
not convinced we should run them as part of the Core e2e test suite. So my
idea is we could have a separate setup script that would allow anyone
doing refactoring work to run them locally as needed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49606#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list