Skip to main content
New to Testkube? Unleash the power of cloud native testing in Kubernetes with Testkube. Get Started >

import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SimpleCypress from "../../workflows/simple-cypress-workflow.md" import SimpleCypressFromTemplate from "../../workflows/simple-cypress-workflow-from-template.md"

Basic Cypress Framework Example

Below is a basic workflow for executing a Cypress project which is available on GitHub. You can paste this directly into the YAML of an existing or new test, just make sure to update the name and namespace for your environment if needed.

  • The spec.content property defines the location of the GitHub project.
  • The spec.steps property defines a single step that runs the test and uploads the created reports.

After execution, you can see the output from the test executions under the executions panel tabs:

The log output from the Cypress Framework execution:

Cypress Framework Log Output

The uploaded report is available in the Artifacts tab:

Cypress Framework Artifacts

Basic Cypress from Template

Below is an example workflow for executing the Cypress project using an official Testkube Template.