A Cypress framework (TypeScript) targeted at testing https://demoqa.com.
Includes example end-to-end tests, a simple Page Object Model (POM), custom commands, TypeScript configuration notes, and a GitHub Actions workflow for CI.
Install
- Clone the repo:
git clone https://github.com/scripting-drafts/Cypress-Framework.git
cd Cypress-Framework- Install dependencies:
npm ciRun tests locally
- Open interactive Cypress runner:
npm run cypress:open- Run headless (CI-style):
npm run cypress:run
# or
npm run test:ciCI (GitHub Actions)
- Checks out the repo
- Installs Node
- Runs
npm ci - Runs
npm run test:ci(Cypress headless)