Sets and difference
Sets#
A set is a saved list of pages that are shot together. Use it for a regular check of the same screens.
Open Sets. Choose New set or edit an existing one:
- Name: lowercase letters, digits and hyphens, up to 41 characters, unique among sets. For example
exointel-showcase. - Pages: 1 to 40 entries. Each is a product and a path. Pages can be reordered and removed. A page may also have
waitForandsteps(see Shoot a page). - Themes, widths, Full page and Role, applied to every page.
If one page is invalid, the whole set is refused.
Shooting a set creates one run per page. Every shot carries the set name, so you can find it in Gallery by filtering on the set. When you shoot a set you can override the themes and widths for that run only. Deleting a set keeps its shots.
Difference between shots#
Each new shot is compared with the previous shot of the same product, path, theme, width, role and source. The result is changed, the share of pixels that differ (0 to 1). It is computed once, right after the shot is stored.
- A shot counts as changed above 0.1% of pixels.
- With no previous shot, or one of a different size,
changedis empty. - The Changed filter in the gallery and
changed=1in the API use that threshold. - The Difference view in the viewer, and
GET /api/shots/:id/diff, draw the differing pixels as a PNG. If there is no comparable previous shot, the answer is404 NO_PREVIOUS.
A shot imported from a showcase stand is only compared with other stand shots, never with a live one.