cd $(vr_path) branchName=$(System.PullRequest.SourceBranch) SourceRepositoryURI=$(System.PullRequest.SourceRepositoryURI) echo branchName is $branchName echo SourceRepositoryURI is $SourceRepositoryURI baseUrl="https://${branchName##*/}-bmc-org.pantheonsite.io/" echo base url is $baseUrl export PERCY_TOKEN=$(PERCY_TOKEN) npx percy exec -- cypress run --config baseUrl=$baseUrl
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter