After upgrading to playwright/test 1.39.0, I noticed that our tests that use the gherkin-wrapper stopped working with a
Type error: body is not a function. Version 1.38.1 and earlier still work for me.
See https://github.com/Niitch/gherkin-wrapper/issues/17 for more details on the issue and how to reproduce it with one of the example tests in the gherkin-wrapper repo
This thread is trying to answer question "What caused the TypeError in gherkin-wrapper after upgrading to Playwright version 1.39.0 and how can it be resolved?"
This seems quite well maintained as of today: https://github.com/vitalets/playwright-bdd
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email email@example.com.