Percy Analysis
Percy is an all-in-one visual testing and review platform. This extension will include the number of snapshots approved and needs to be reviewed.
DEFAULTS
- hook:
end - condition:
passOrFail
Syntax
json
{
"name": "percy-analysis",
"inputs": {
"token": "<api-token>",
"project_name": "<project-name>"
}
}
token(string) - percy integration token with read or full access.project_name?(string) - name of the project for reporting the last finished build results.Mandatory, if
project_idandbuild_idare not availableproject_id?(string) - id of the project for reporting the last finished build results.Mandatory, if
project_nameandbuild_idare not availablebuild_id?(string) - id of the build for reporting.Mandatory, if
project_nameandproject_idare not availableretries?(string) - no. of retries to perform for a build to finish.Defaults to
10. It waits5seconds between each try.
Reports
Teams

Examples
Using project_name
json
{
"targets": [
{
"name": "teams",
"inputs": {
"url": "<teams-incoming-webhook-url>"
},
"extensions": [
{
"name": "percy-analysis",
"inputs": {
"token": "<api-token>",
"project_name": "<project-name>"
}
}
]
}
],
"results": [
{
"type": "testng",
"files": ["path/to/testng-results.xml"]
}
]
}
Test Results Reporter