79460087

Date: 2025-02-22 18:31:04
Score: 2
Natty:
Report link

The answer is very simple. By default, Cucumber takes 5000 ms for asynchronous hooks, but we can configure it by doing this:

When(/^I open the page$/, {timeout: 2 * 5000}, async () => {

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Avula rakesh