This repository in which Cypress has been used as a tool, it uses JavaScript as a programming language.

Kumar Shishir 9348bf318a README.md edited online with Bitbucket 3 years ago
cypress 7060363f60 first commit 3 years ago
.gitignore 7060363f60 first commit 3 years ago
README.md 9348bf318a README.md edited online with Bitbucket 3 years ago
cypress.json 7060363f60 first commit 3 years ago
package.json 7060363f60 first commit 3 years ago

README.md

Introduction

This a bare minimum framework setup of cypress for SDET Assessment

Tests Covered:

  • UI

Framework used:

  • Cypress

Design Pattern used:

  • Page Object Model (POM)

Prerequisite:

  • npm - 7.24.0
  • node - 16.10.0

Steps to Run:

  1. Clone GIT repository in named directory.

Run:

```
 > cd ~/workspace/
 > mkdir <cypress_directory_name>
 > cd <cypress_directory_name>
 > git clone https://krshishir@bitbucket.org/livelike/cypress.git
```     
  1. Install all dependencies -

Run:

```
    > cd ~/workspace/<cypress_directory_name>/<where_your_package.json_is>
    > npm install cypress
    > npm install
 ```       

Note: This will install all dependencies project will be using for executing.

  1. To run test -

Run:

```
> cd ~/workspace/<cypress_directory_name>
> npx cypress open
```
- This will run all tests under <cypress_directory_name> directory

Additional Information

  • cypress.json can be use to make any config change i.e baseUrl

Author

  • Kumar Shishir

References