Sorry Cypress is a high performance open source alternative to the Cypress Dashboard. It aims to improve your testing workflow by providing insights into your test runs, such as test failures, video recordings, and more. In this tutorial, we'll go through the steps to install Sorry Cypress on Fedora CoreOS Latest.
Before we begin, please make sure that you have the following:
Sorry Cypress requires Node.js to be installed on your system. If you already have Node.js installed, you can skip this step.
To install Node.js, run the following command:
sudo dnf install nodejs
This will install the latest version of Node.js on your system.
Sorry Cypress runs in a Docker container. Therefore, you need to have Docker installed on your system. If you already have Docker installed, you can skip this step.
To install Docker on Fedora CoreOS Latest, run the following command:
sudo dnf install docker-ce docker-ce-cli containerd.io
This will install the latest version of Docker on your system.
Next, start Docker and enable it to start at boot:
sudo systemctl start docker
sudo systemctl enable docker
Now that you have Node.js and Docker installed, you can proceed to install Sorry Cypress. Run the following command:
sudo npm install -g sorry-cypress
This will install Sorry Cypress globally on your system.
To configure Sorry Cypress, you need to set the following environment variables:
export SORRY_CYPRESS_API_URL="http://localhost:1234"
export SORRY_CYPRESS_DASHBOARD_URL="http://localhost:8080"
Replace the URLs with the appropriate values for your setup. You can set these variables in your .bashrc
or .zshrc
file to make them persistent.
Next, start Sorry Cypress by running the following command:
sorry-cypress start
This will start the Sorry Cypress server.
To run tests with Sorry Cypress, you need to modify your cypress.json
configuration file to point to your Sorry Cypress server.
{
"baseUrl": "http://localhost:1234",
"projectId": "your-project-id"
}
Replace your-project-id
with the ID of your Sorry Cypress project.
Next, run your Cypress tests as usual:
npx cypress run
The test results will be automatically sent to the Sorry Cypress server and will be available in the dashboard.
Congratulations! You have successfully installed and configured Sorry Cypress on Fedora CoreOS Latest. 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!