How to Install Sorry Cypress on Windows 11

Sorry Cypress is an open-source alternative to the Cypress Dashboard that allows for distributed test results storage and parallelization of Cypress tests. This tutorial will guide you through the installation process for Sorry Cypress on Windows 11.

Prerequisites

Before you can install Sorry Cypress, you must have the following:

Installation

  1. Open the Command Prompt by pressing the Windows key + R and typing cmd, then press Enter.
  2. Navigate to the directory where you want to install Sorry Cypress by typing cd <directory_path> and pressing Enter. For example, if you want to install Sorry Cypress in the Documents folder, type cd C:\Users\<username>\Documents and press Enter.
  3. Clone the Sorry Cypress repository by typing git clone https://github.com/sorry-cypress/sorry-cypress.git and pressing Enter.
  4. Navigate to the cloned repository by typing cd sorry-cypress and pressing Enter.
  5. Install Sorry Cypress by typing npm install and pressing Enter. This may take several minutes.
  6. Start the Sorry Cypress server by typing npm start and pressing Enter. By default, the server listens on port 1234.
  7. Open another Command Prompt window and navigate to the Sorry Cypress directory.
  8. Start a new Docker container by typing npm run dockup and pressing Enter. This command will create a new Docker container with MongoDB and Redis running inside.
  9. You can now configure your Cypress tests to use Sorry Cypress by adding the baseUrl and projectName options to your cypress.json file. For example:
{
  "baseUrl": "http://localhost:1234",
  "projectId": "my-cypress-project"
}

Congratulations! You have successfully installed Sorry Cypress on Windows 11.

Conclusion

Sorry Cypress is a powerful tool that allows for distributed test results storage and parallelization of Cypress tests. By following the steps in this tutorial, you can easily install and begin using Sorry Cypress on your Windows 11 machine. Happy testing!

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!