Skip to content

Template for Cypress + TypeScript + Page-Object pattern

Notifications You must be signed in to change notification settings

pinguet62/cypress-typescript-pageobject

Repository files navigation

Cypress/TypeScript/PageObject template for e2e testing

GitHub Actions

📝 Docoumentation

Sample:

openApp()
    .withLoginLink(link => expect(link.text().trim()).to.equal("Sign in"))
    .fillSearch("Pinguet62{enter}")
    .clickOnMenuUsers()
    .withUsers(users => expect(users.length).to.be.at.least(1))
    .clickOnUser(0)
    .clickOnRepositoriesTab()
    .fillSearch("cypress-typescript-pageobject")
    .withRepositories(repositories => expect(repositories.length).to.equal(1))
    .clickOnRepository(0);

About

Template for Cypress + TypeScript + Page-Object pattern

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published