Testery Docs
TesteryFeaturesPricingRelease Notes
  • Testery Documentation
  • Release Notes
  • Get Started
    • Getting Started Guide
      • Create a Testery Account
      • Configure Your Project
      • Run Your Tests
      • Configure Slack Alerts
      • Schedule Your Test Runs
      • Invite Your Team
      • Get More From Testery
  • Get to Know Testery
    • Dashboard
    • Test Runs
      • Test Selection Rules
    • Projects
    • Test Triggers
    • Environments
    • Alerts
    • Settings
    • Test Plans
    • Test Stacks
      • Python
      • Node.js 16 End of Life
      • Default Chrome Version Change
      • Python 3.8 End of Life
    • Deployments
    • System Variables
    • Tags
    • Screenshots
    • Uploading Test Artifacts to Testery
    • Setting Test Execution Priority
    • Setting the Number of Parallel Tests
  • Integrate with Testery
    • Built-In Integrations with Testery
      • Jira
      • Slack
    • CI/CD Integration Guides
      • Azure Devops Pipelines
      • Set Up CircleCI to Run Testery Tests
      • Jenkins
      • GitHub Actions
      • Octopus Deploy
      • TugboatQA
    • Testery CLI
    • Testery REST API
      • Testery REST API Resources
    • Microsoft Teams
  • Framework-specific Guidance
    • Supported Testing Frameworks
    • Cypress
      • Updating Cypress Tests to Output in JUnit XML Format
    • Playwright
      • Update Playwright Tests to Output in JUnit XML Format for Import Into Testery
    • PyTest
      • Update Pytest to Generate JUnit XML for Import into Testery
    • TestNG
      • Updating TestNG Tests to Output in JUnit XML Format
  • How-To
    • Enable or Disable Automatic Rerunning of Tests
    • Run Cypress Tests without Connecting Repository
    • How to Store Sensitive Data Like Username and Password For a Cypress Test
    • Connect to a Private npm Repository
    • Running Scripts Before the Tests
    • Upload Test Run for Analysis
  • MISC
    • Troubleshooting Steps
  • Fixing Tests
    • Fix Common Selenium Exceptions
      • Fix a ChromeDriver Version Exception
      • Fix a NoSuchElement Exception
      • Fix a TimeoutException
      • Fix an ElementNotVisibleException
      • Fix a StaleElementReferenceException
      • Fix a WebDriverException
      • Fix an InvalidArgumentException
      • Fix a NoSuchWindowException
      • Fix an UnhandledAlertException
      • Fix an InvalidSelectorException
Powered by GitBook
On this page

Was this helpful?

  1. How-To

Run Cypress Tests without Connecting Repository

A step-by-step guide to running Cypress tests on the Testery platform when integration with GitHub / Bitbucket isn't an option.

PreviousEnable or Disable Automatic Rerunning of TestsNextHow to Store Sensitive Data Like Username and Password For a Cypress Test

Last updated 4 years ago

Was this helpful?

For some organizations, integrating with GitHub or Bitbucket is not an option. While you'll be missing out on some pretty cool functionality, don't fret. You can still benefit from the other great features Testery has to offer.

Create a Project but don't select a repository. Select Projects and then Add New Project. Ignore + Add Repostory since in this example we are not integrating with a repository. Be sure to select Cypress for Testing Framework. Give it a Project Key as a unique identifier for this project. The Project Key will be used to identify artifacts later.

Configure your build server to manually upload the test artifacts. Instead of having Testery automatically fetch the artifacts from the repository, we will have the build server upload them.

  • token - Your API token. To retrieve your token, click Settings → Integrations → Show API Token and copy the token that is displayed.

  • project-key - The key you specified above when creating the project.

  • build-id - The build id from your CI/CD, usually found in an environment variable. This will be used to pull the correct artifacts when starting a test run.

  • path - The folder containing the tests. This path should include the entire cypress folder. You will need to upload everything your root cypress project folder except the node modules. You can upload the node modules but Testery will delete them as we resolve your node modules for you. It can also take your upload a LOT longer with the node modules in it.

testery upload-build-artifacts --token <token> --project-key <project-key> --build-id <build-id> --path <path> --zip-dir

Create a test run. Now you can test it out by creating a test run the way you normally would. You can do this manually, from the CLI, or from the API. To create a test run manually, select Test Runs -> New Test Run. Be sure to select the project defined above for Project With Tests and select the corresponding Build you created in the previous step.