-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
- when triggering for a PR, add a nonce as metadata to every pixel eagle run
- once done, call api
https://pixel-eagle.com/B25A040A-A980-4602-B90C-D480AB84076D/runs\?filter=nonce={nonce}
- for every run, there will be an entry of the form
{
"project_id": "b25a040a-a980-4602-b90c-d480ab84076d",
"id": 7563,
"timestamp": 1737953544,
"metadata": {
"os": "macOS",
"branch": "PR-17413",
"gitref": "6911ddfd4b2d0f9efa6adba1605736112f7ef4f4"
"nonce": "{nonce}",
},
"screenshot_count": 266,
"compared_with": {
"id": 7560,
"changed": 8,
"missing": 0
}
}
- the counts in
compared_with
are done with a 0% tolerance and may not be the actual ones - to get the actual result, call
https://pixel-eagle.com/B25A040A-A980-4602-B90C-D480AB84076D/runs/{id}/compare/{compared_with.id}
- add nonce
- call the list run API and report for every run
- if there are diffs, check the actual results of the run
Metadata
Metadata
Assignees
Labels
No labels