Percy not capturing any snapshots (fails to find healthcheck)
See original GitHub issueHi
I’m trying to integrate Percy and Cypress for one of my projects. Sadly Percy doesn’t seem to take any snapshots even though I’m calling cy.percySnapshot multiple times.
This is my current test:
describe('Magento tests', () => {
beforeEach(() => {
cy.visit(Cypress.env('staging-url'))
})
it('Should allow a product to be ordered', () => {
cy.percySnapshot('Homepage')
// Forcing due to sticky headers messing up the click area
cy.get('nav.navigation > ul > li:first-of-type a')
.click({ force: true })
cy.percySnapshot('Category - Boxsprings')
cy.get('.products.list.items.product-items')
.find('li:first-of-type a.product-item-link')
.click()
cy.percySnapshot('Product page')
})
})
This is my Cypress result:
UPDATE: Seems like percy is unable to capture screenshots on https websites. Is this correct? This is quite a showstopper for the current project I’m integrating it for.
Issue Analytics
- State:
- Created 5 years ago
- Comments:41 (16 by maintainers)
Top Results From Across the Web
Percy Snapshot
The Percy CLI snapshot command is the easiest way to start visual testing. With Percy, you can visually test virtually anything that runs...
Read more >Debug a Flaky Visual Regression Test - Cypress
We have noticed that some visual tests were flaky - Percy was reporting an image difference at almost every run, while there were...
Read more >Cypress.io: Visual testing with plugins and Percy.io - YouTube
This lesson is a part of my Udemy class: Cypress from Zero to Hero.Link to the class: ...
Read more >@percy/cypress - npm Package Health Analysis | Snyk
If you're coming from 2.x the health check task, @percy/cypress/task , is no longer needed and no longer exists. You should remove this...
Read more >Package Diff: @percy/cypress @ 1.0.4 .. 1.0.5
Percy server not available, or we failed to find the healthcheck. + var healthcheckCmd = "percy health-check -p " + percyAgentClient.port;.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks @Robdel12 ! that did the trick i see snapshots being taken and uploaded now after updating to 0.8.3
Seems to work now. Just deleted node_modules and reinstalled everything. Thanks!