Closed Bug 1202265 Opened 9 years ago Closed 9 years ago

Add tools for catching visual regressions in Hello

Categories

(Hello (Loop) :: Client, defect, P2)

defect

Tracking

(firefox44 fixed)

RESOLVED FIXED
mozilla44
Iteration:
44.1 - Oct 5
Tracking Status
firefox44 --- fixed

People

(Reporter: andreio, Assigned: dmosedale)

References

Details

(Whiteboard: [tech-debt])

User Story

Screencast: https://vimeo.com/140415635

Attachments

(2 files, 1 obsolete file)

Attached file screenshots.py
Need: A way to detect unexpected changes in the interface.
TODO: Add a screencast showing how to use the script.
Attachment #8657599 - Attachment mime type: text/x-python-script → text/plain
Assignee: nobody → dmose
Rank: 35
Priority: -- → P3
Whiteboard: [tech-debt]
Rank: 35 → 23
Priority: P3 → P2
Blocks: 1205455
User Story: (updated)
Attachment #8665955 - Flags: review?(dmose)
Comment on attachment 8665955 [details] [diff] [review] Add visual regression tool for Loop Review of attachment 8665955 [details] [diff] [review]: ----------------------------------------------------------------- This generates a lot of obvious false positives for me, possibly because some diffs aren't getting removed, among other things. That said, this tool is nonetheless extremely useful; it just showed me a bunch of regressions on a small CSS patch that I wasn't expecting to regress anything. I've a few comments here, which I'll address, and then I'll add some verbiage to the README.md and land it. ::: browser/components/loop/test/visual-regression/README @@ +1,1 @@ > +# How to use the visual regression tool If this file is marked README.md, github will do nice things with it, so I'll make that change. ::: browser/components/loop/test/visual-regression/screenshot @@ +89,5 @@ > + > +if args.refs: > + take_screenshots(refs_location) > +if args.diffs: > + # take_screenshots(newscreenshots_location) This wants to be uncommented.
Attachment #8665955 - Flags: review?(dmose) → review+
Attachment #8665955 - Attachment is obsolete: true
Thanks so much for making this happen, Andrei!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Iteration: --- → 44.1 - Oct 5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: