Cypress Installation
After successful installation of the needed tools, we can clone an existing project. All dependencies and Cypress will be downloaded automatically.
Precondition
correct permissions to Git repository (/qa-customer-solutions/e2e-automation.git)
installed Yarn on your PC
installed Cypress
The cleanest way
Clone the https://gitlab.pricefx.eu/qa-customer-solutions/e2e-automation repository to your local drive by running the following command in your command line :
git clone https://gitlab.pricefx.eu/qa-customer-solutions/e2e-automation.git
git cloneStep inside the newly created directory (e2e-automation) :
cd e2e-automation
go into the folderInstall all the dependencies necessary:
yarn install
yarn installNow cypress with all dependencies should be installed and you can open cypress
yarn cypress open or node_modules\.bin\cypress open or node_modules\\.bin\\cypress open or node_modules/.bin/cypress open
open cypress from command lineCypress start page
Comments
you can clone repository by any git tool (or download directly in zip)
you can use different approach how to install cypress (download directly from their web, or using “npm install cypress”)
you can run cypress directly via icon, using command line is not mandatory
when it is not working, you can look at these approaches, how to install or you can ask your more senior colleague