Questions tagged [percy]
21 questions
0
votes
0 answers
how to pass request headers to Percy snapshot?
I'm trying to use Percy.io to snapshot pages on a site that requires a custom header in the request (any requests missing this header receive a HTTP 403).
I'm looking at the docs here:
https://docs.percy.io/docs/cli-configuration#snapshot
I'm…

Wintermute
- 2,973
- 4
- 32
- 52
0
votes
0 answers
Invoke unit tests using Google Cloud Function
I have some visual tests written in cypress as e2e using percy.
describe('Homepage should look the same',function() {
beforeEach(function() {
// Load our website before starting each test case
const visitOptions = {
…

gagrinasg
- 9
- 2
0
votes
0 answers
Percy is unable to do localhost call
We're trying to test a web component hosted in storybook (a storybook static build). We're running a mock server using mocks-server. All of this works when hitting storybook's iframe page with a browser (e.g.…

Jan Swart
- 6,761
- 10
- 36
- 45
0
votes
1 answer
Can I save the Percy token to a file?
I'm learning Percy and Cypress right now. I'm still working locally, without a CI. Since I have more than 1 project, I have to manually change the Percy token (using export PERCY_TOKEN=myToken in Terminal) every time I switch between projects. Can I…

Michael S.
- 589
- 8
- 25
0
votes
2 answers
Declare and use variable in YAML (Percy.io)
Hi I have a YAML file that looks like this -
- name: Name 1
url: http://localhost:8080/page1
- name: Name 2
url: http://localhost:8080/page2
- name: Name 3
url: http://localhost:8080/page3
As you can see that http://localhost:8080/ is a…

Archit Arora
- 2,508
- 7
- 43
- 69
0
votes
1 answer
TypeError: webdriverio_1.default is not a function - Percy2 and WebdriverIO7
I get this error using webdriverio v7 and latest Percy for visual testing:
[0-2] Error in "0: I can see page "Product Detail Page of the last product""
TypeError: webdriverio_1.default is not a function
at…

mismas
- 1,236
- 5
- 27
- 55