A sample framework created using cypress, javascript and docker
- Node version 12 or above
- Visual Studio Code
You know setting up framework is very quick!
- npm install
- go to cypress.config.js file
- set baseurl, apiKey, login and password
- Go to project root,
npx cypress open
ornpm run cy:open
- click specific feature
npm run cy:run
# for a full runnpm run dev-cy:run
# for a full run on dev environment, need to change baseUrls accordingly
and refer to more other npm scripts added in package.json
-
Download and install Docker
-
For Windows: https://docs.docker.com/desktop/windows/
-
Go to project root and run command
docker build -t cypress .