Page MenuHomePhabricator

Automated Visual Regression Testing for GrowthExperiments
Open, MediumPublic


GrowthExperiments projects have a heavy reliance on providing consistent user experience via UI features, so a visual regression tool will ensure the quality of the projects' deliverables. tool ( was created to alleviate UI regression testing for Echo project (see T302246: [GOAL] Leverage Automated Visual Regression Testing for more details).

What needs to be done:
  • Define a catalog of UIs that we want to test for visual regressions
    • AddImage inspector
    • AddLink inspector
    • Suggested edits card
    • ?
  • Incorporate checking for UI regressions into the chore list (it is not currently possible to do in CI)
  • make work for GrowthExperiments projects

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I did installation and running commands according to (for Echo extension); the following error was displayed when I ran

~/Documents/docker/pixel$ ./pixel.js reference

SyntaxError: Invalid or unexpected token
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/Users/etonkovidova/Documents/docker/pixel/pixel.js:6:20)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)

@Etonkovidova I think you commented elsewhere that you were able to get this working? Do you need help getting this set up?

kostajh triaged this task as Medium priority.Sep 2 2022, 11:25 AM