Update all the screenshots for pictures in the Tutorials of Docs; not including images in Overviews.
Plan to add tests for images in Overview in another diff.
Differential D5225
Fix schreenshots test: Part 1 • yichendai on Nov 20 2020, 9:13 PM. Authored by Tags None Referenced Files
Subscribers
Details
Update all the screenshots for pictures in the Tutorials of Docs; not including images in Overviews. Plan to add tests for images in Overview in another diff. Need more eyes to double check since there are many image comparisons.
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes
Comment Actions Update: Move image_snapshots under generated to hide images generated by this test on diff and complete all the inline comments except for scrolling left for reexecution_error.png and optimizing some codes in the script.
Comment Actions Update: Clean sleep for n secs. Some unnecessary waitings are removed and some are changed to wait for specific selector. Comment Actions Update: Use timeout on next selector to prevent hanging forever resulting from previous failure Till now, all the fixes have been done according to the inline comments in old Diff #26596 Comment Actions Update: Fix inputs_figure_seven.png having double config error messages after going through all the images in the tutorials Happy weekend! Comment Actions This looks good to me! Thanks for doing this. Two comments before accepting this:
Comment Actions
Here's the README of how to add and when to update screenshots. Comment Actions oh great! sorry i didn't look at the readme in docs/next. what about the generated then? are we fine to drop them when committing to git? Comment Actions This is a good question. I couldn't think of any down side to drop the images. It took the same time to generate new images as to just modify/update them. I agree that we should drop them. Comment Actions Again, thank you for putting so much effort here! and sorry about keeping you waiting for so long. |