This a bare minimum framework setup of cypress for QA Recruitment Workshop
- UI
- Cypress
- Page Object Model (POM)
- npm - 7.24.0
- node - 16.10.0
-
Clone GIT repository in named directory.
Run:
> cd ~/workspace/ > mkdir <cypress_directory_name> > cd <cypress_directory_name> > git clone https://github.com/tarunmaini16/wdio.git -
Install all dependencies -
Run:
> cd ~/workspace/<cypress_directory_name>/<where_your_package.json_is> > npm install cypress > npm installNote: This will install all dependencies project will be using for executing.
-
To run test -
Run:
> cd ~/workspace/<cypress_directory_name> > npx cypress open- This will run all tests under <cypress_directory_name> directory
- cypress.json can be use to make any config change i.e baseUrl
- Tarun Maini