cucumber / cucumber-js

Cucumber for JavaScript
https://cucumber.io
MIT License
5.04k stars 1.09k forks source link

We should be able to manage Playwright's timeout properties. #2256

Closed curaserkan closed 1 year ago

curaserkan commented 1 year ago

🤔 What's the problem you're trying to solve?

There are many different timeout uses that Playwright allows, especially separate timeout times for action, expect and navigation. It would be nice if we could set this possibility via cucumber-js.


This text was originally generated from a template, then edited by hand. You can modify the template here.

Izhaki commented 1 year ago

Cucumber is completely decoupled from any browser driver.

You can set timeouts for each Cucumber step definition, to match the settings in Playwright.

To learn more on how configure Playwright timeouts: https://stackoverflow.com/a/69105810/1179377