angularcucumbere2e-testinggherkinplaywright

Playwright runner with cucumber


Lately I found playwright and it seems really nice. The problem I found is in implementation of cucumber or gherkin syntax generally. While in cypress for example its pretty easy task here it looks like I need to use some other test runner then playwright. Is it true or I am just missing some library/configuration for cucumber in playwright? Thanks for any suggestions.


Solution

  • You can use cucumber for run your tests and integrate it with playwright. As a starting point you can review this links from Tally Barak that can help you a lot.

    Intro article https://tally-b.medium.com/e2e-testing-with-cucumber-and-playwright-9584d3ef3360

    starter repo https://github.com/Tallyb/cucumber-playwright