This is a simple example project to demonstrate how to integrate Playwright with Cucumber using TypeScript.
- Example login functionality test
- Integration with Cucumber for BDD-style test writing
- TypeScript support
-
Install dependencies:
npm install
-
Run the tests:
npm test -
View reports (if configured in
cucumber.js).
playwright-cucumber-ts-login/
├── features/
│ ├── login.feature
├── step-definitions/
│ ├── loginSteps.ts
├── playwright.config.ts
├── cucumber.js
├── package.json
├── tsconfig.json
└── README.md