Questions tagged [percy]

21 questions
6
votes
1 answer

NodeJS: NOT able to set PERCY_TOKEN via package script with start-server-and-test

I have been trying really hard to set the PERCY_TOKEN on a local test run according the official guideline from percy and trigger it via yarn. The guideline says: $ PERCY_TOKEN=aaabbbcccdddeeefff PERCY_BRANCH=local npm test My attempt right now…
Norfeldt
  • 8,272
  • 23
  • 96
  • 152
3
votes
0 answers

Getting , Error: 413 Payload too large when performing cy.percysnapshot()

When executing the percy tests locally, i get the following error. [percy] Encountered an error uploading snapshot: coikie_dialog_portal [percy] Error: 413 Payload Too Large Understand that the payload contains more information than its needed. My…
2
votes
1 answer

Cypress/percy authorization failed

I have one question to cypress/percy. I use Cypress package version: 12.5.1, Percy:@percy/cli 1.20.0, php version PHP 8.1.16 (cli). I have one project with authentication and have to do snapshots with Percy. I have tried to use username and password…
Svetlana
  • 141
  • 5
2
votes
0 answers

Percy CLI - logging in? executing in order?

2fold question: how do I get Percy to execute snapshots -in order-? can you help me troubleshoot my simple login script? Trying to set up a basic beginnings of Percy CLI. Using a .js file as they detail here -…
cascade
  • 41
  • 4
2
votes
0 answers

Cypress publicPath not supported with percy and nock

I'm getting an issue where I am trying to add percy to my Cypress tests using nock and webpack 5. Based on a solution found here, I tried to set the publicPath to an empty string, but with no success. The error message I get is The following…
usr4896260
  • 1,427
  • 3
  • 27
  • 50
2
votes
0 answers

Netlify build is breaking because of netlify-plugin-cypress when Percy is introduced

I have a Nextjs application that is using Cypress and Percy. Initially, I only had Cypress set up. I am using Cypress version 7.5.0, and the netlify-plugin-cypress. Together those two things worked fine and the build was successfully…
mobrien
  • 21
  • 1
1
vote
0 answers

I'm running Percy visual regression testing through the Cypress.IO testing framework but the font in my Percy screenshot aren't correct

The fonts are displaying correctly in the Browser but the Percy snapshot is using the incorrect fonts. Not entirely sure what info will help here but here's a snippet of the Cypress + Percy test: describe("Article page", () => { it("passes", () =>…
Behzad Lashkari
  • 177
  • 1
  • 9
1
vote
0 answers

Trouble with running both Percy and Cypress with Bitbucket

Any help would really be appreciated. Thanks
Smh
  • 113
  • 1
  • 6
1
vote
1 answer

How to manually upload baseline screenshots in Percy for base branch

I am currently working on a react-native application and want to use Percy, a visual testing service to catch UI changes in my app. I don't go the storybook way. Currently, we use detox for testing, it generates screenshots artifacts which we…
giles
  • 85
  • 1
  • 9
1
vote
1 answer

Flaky snapshots with Percy and Cypress when animating

I’m adding a couple of animations to an app that has Percy taking snapshots in the cypress tests. I’m trying to figure out a way to wait for the animations to finish before taking the snapshot. I’m aware that cypress already does that by default…
Thales Kenne
  • 2,705
  • 1
  • 12
  • 26
1
vote
1 answer

Percy not running in CircleCI orbs (w/ Cypress)

I'm trying to get Percy.io to take snapshots of a simple test written in Cypress, building in CircleCI. However, the 'builds' are showing up as failed in the Percy dashboard despite the test/build passing in CircleCI. In the Cypress test runner it…
JCM88
  • 53
  • 7
0
votes
0 answers

How to integrate Percy storybook testing in a gitlab ci pipeline?

I would like to add a job to my current Gitlab CI pipeline in order to test my storybook. The aim is to check if there are differences between the two releases and make the pipeline fail if there are some. The problem is that I do not find much…
Pierre
  • 1
  • 1
0
votes
0 answers

Unable to take screenshot in Percy with CSS

Hi i am using Percy to take screenshot using below function > await percySnapshot(t, 'Test Cafe Example6'); But it takes screenshot without ccs and assets being loaded. Not sure what is going on.
mehak
  • 21
  • 4
0
votes
2 answers

How Can I run VsTest Runner with Percy in Azure Pipelines

I figured out how to run it with DotNet Test. BUt I do not know where or what to put the info in VsTest. From the Command Line: npm install --save-dev @percy/cli set PERCY_TOKEN=TOKEN npm install -g @percy/cli@latest npx percy app:exec -- dotnet…
HANSTKE
  • 47
  • 6
0
votes
0 answers

Getting an intermittent promise resolution error with Percy IO, Cucumber and WebdriverIO

The error I am experiencing is: [chrome 112.0.5615.138 windows #0-2] Error: function timed out, ensure the promise resolves within 60000 milliseconds [chrome 112.0.5615.138 windows #0-2] Error: function timed out, ensure the promise resolves within…
ineedhelp
  • 23
  • 2
1
2