Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
@myrepojuly

Description

🐛 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

        AltStyle によって変換されたページ (->オリジナル) /