CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

Using `step.retry()` with I.selectOption throws an error.

Open myrepojuly opened this issue 3 months ago • 1 comments

🐛 Bug Report

Description

Using step.retry() with I.selectOption throws an error.
According to the documentation (Step Options), this works with I.click, but it doesn’t seem to work with I.selectOption.

Also, I noticed that I.retry() is deprecated, so I am unsure what the recommended way is to apply retries with selectOption.


🔄 Steps to Reproduce

Scenario('some test', async ({ I }) => {
  I.click('something', step.retry(2));
  I.selectOption('Username', 'user1', step.retry(2)); // throws error 
});
Image

Version: 3.7.4

myrepojuly avatar Sep 04 '25 12:09 myrepojuly

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Dec 04 '25 02:12 github-actions[bot]