Skip to content

mercyndunge/Cypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains several tests from different websites with the e2e tests written in Cypress.

The tests are heavily commented to ease you into the Cypress API.

Websites used for testing are:

https://example.cypress.io

https://opensource-demo.orangehrmlive.com/

http://the-internet.herokuapp.com/windows

https://itera-qa.azurewebsites.net/home/automation

https://www.zoho.com/commerce/free-demo.html

https://www.dummyticket.com/dummy-ticket-for-visa-application/

https://www.wikipedia.org/

https://www.google.com/

https://the-internet.herokuapp.com/javascript_alerts

All these websites are used in separate test files to solve different problems.

This repo uses Mocha and Chai for tests structure and assertions respectively.

Tools Used:

1.Programming Language: Javascript

2.Web Automation Tool: Cypress(latest version)

3.Framework to structure tests: Mocha

4.Assertions Tool: Chai

Scenarios covered in this project:

  1. Visiting a website and verifying the page title

  2. Handling child tabs demo

  3. How to handle radio buttons and checkboxes

  4. Mouse operations demo

  5. How to test a feature that has an incrementing value

  6. Handling frames

  7. Handling drop downs

  8. Assertions demo

  9. How to handle different types of alerts

Help + Testing

The steps below will take you all the way through Cypress. It is assumed you have nothing installed except for node + git.

If you get stuck, here is more help:

https://www.cypress.io/support/

1. Install Cypress

Follow these instructions to install Cypress.

https://docs.cypress.io/guides/getting-started/installing-cypress

2. Add the project to Cypress

https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test

3. Run in Continuous Integration

https://docs.cypress.io/guides/continuous-integration/introduction

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published