Using Cypress module api [question]
See original GitHub issuePercy tutorial shows that running Percy requires wrapping cypress run
command in percy exec
command.
I am however using module api to run my Cypress tests. Is there any way to use Percy with this method of running Cypress?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Module API - Cypress Documentation
Runs Cypress tests via Node.js and resolve with all test results. See the Cypress Module API recipe. // e2e-run-tests.js const cypress = require('cypress') ......
Read more >Hack Together - How to test APIs using Cypress - YouTube
Cypress Course 2022 in 2 hours | Cypress Automation tutorial · Hack Together - Add magic to your team lunch with Meta- API...
Read more >Test grepping in Cypress using Module API - Filip Hric
Sometimes you want to run just a subset of your tests. With Module API, you can achieve just that. Showcasing how you can...
Read more >Wrap Cypress Using NPM Module API - Gleb Bahmutov
When cypress.run executes, it resolves with an object that contains detailed information about all tests that Cypress executed or skipped.
Read more >How to use Cypress Module API with Next.js and Vercel
I have a web app made with Next.js deployed to Vercel, and I am trying to add some nightly tests using the Cypress...
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
@pascalism I run percy & cypress with module API like this:
percy exec -- cypress.js
wherecypress.js
is the name of the module fileIt’s not possible yet (look out for this SDK to be upgraded: https://docs.percy.io/docs/migrating-to-percy-cli#current-migration-status)
Once this SDK uses the new SDK tool chain (
@percy/cli
and friends) this will be possible with@percy/core
. For example this is how Google AMP uses core: https://github.com/ampproject/amphtml/blob/4e459d08acbe04528ffefe1a63665edf3a867470/build-system/tasks/visual-diff/index.js#L164-L175