Skip to content

sunilpatro1985/Cypress_TypeScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress E2E

Cypress end to end testing using TypeScript

Step by step tutorial

Refer youtube.com/qavbox or qavalidation.com

How to use this repo

  • Clone this repo
  • Navigate to the project directory in terminal / command prompt
  • Run the specs / cypress tests [placed under cypress/integration folder]
  • To run, type below command
npm run cypress:open

this above will open the Cypress UI and select particular test to run.

example

// SampleSpec.ts
describe("Reg form test", () => {
    it("enter some value", ()=> {
        cy.visit("https://qavbox.github.io/demo/signup/");
        cy.get("#username").type("qavbox");
        cy.get('input[name=\'home\']').click();
    })
})

About

Understanding Cypress concepts with typescript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published