Skip to content

qasimmahmood95/cypress-web-automation-js

Repository files navigation

Cypress Demo with JavaScript

My Cypress implementation for web automation

Installation

  1. Clone this repository to your local machine using Git:
git clone https://github.com/qasimmahmood95/cypress-demo.git
  1. Navigate to the project directory:
cd cypress-demo
  1. Install the project dependencies:
npm install

Running the Tests

You can run my solution using:

npm test

Cool Features

  1. Page Object Model

    I have all my locators in a constructor in a Page file, and I then created separate functions to interact with each locator. This isn't strictly necessary, but I find this abstraction makes for much nicer-looking and more readable tests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published