Skip to content

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

@myrepojuly

Description

@myrepojuly

🐛 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions