Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 751 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 751 Bytes

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);