Cypress Test Runner
No credit card required
Cypress Test Runner
No credit card required
Run your Cypress tests on the Apify Platform effectively and easily. Just set up your test environment using a user-friendly UI and let the platform do the rest.
Do you want to learn more about this Actor?
Get a demoYou can access the Cypress Test Runner programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1echo '{
2 "specCode": "describe('\''spec'\'', () => {\\n it('\''test that should succeed'\'', () => {\\n cy.visit('\''/'\'');\\n cy.get('\''h1'\'').should('\''contain'\'', '\''Example Domain'\'');\\n cy.screenshot();\\n });\\n\\n it('\''test that should fail'\'', () => {\\n cy.visit('\''/'\'');\\n cy.get('\''h1'\'', { timeout: 1000 }).should('\''contain'\'', '\''Some different text'\'');\\n });\\n});",
3 "baseUrl": "https://example.com"
4}' |
5apify call valek.josef/cypress-test-runner --silent --output-dataset
Cypress Test Runner API through CLI
The Apify CLI is the official tool that allows you to use Cypress Test Runner locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include:
Actor Metrics
8 monthly users
-
2 stars
56% runs succeeded
Created in Apr 2023
Modified 6 months ago