Skip to content

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

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鈥檛 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions