Skip to content

edibImamovic/playwright-with-cucumber-wrapper

Repository files navigation

playwright-with-cucumber-wrapper

Welcome to the Playwright with cucumber wrapper This is a template project. It uses the Playwright framework (https://playwright.dev/) with a Cucumber wrapper bdd-playwright for this purpose.

This project relies on the Playwright framework and Cucumber BDD wrapper to make test automation more accessible. The code is written in TypeScript and incorporates various software engineering principles, including Page Object, BDD, Fixture, Dependency Injection, Object-Oriented Programming (OOP), Assertions, Expectations, and a straightforward Page Factory pattern.

The reporting tool utilized in this project is monocart-reporter.

How to Run Locally

To get started with running this project locally, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/edibImamovic/playwright-with-cucumber-wrapper
  2. Change Directory:

    cd playwright-with-cucumber-wrapper
    
  3. Install Dependencies:

    npm install
    
  4. Install Browsers:

    npx playwright install
    
  5. Run Tests with Report (Headless Mode):

    npm start
    
  6. Run Tests in UI Mode with playwright time travel:

    npm run timetravel
    

About

Playwright with cucumber wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published