Skip to content

Launch remains in the state of In-Progress when using plugins such as retryTo #18

@nirmal-darji

Description

@nirmal-darji

I am using retryTo plugin in the test and below is the example

 await retryTo(() => {
      I.waitForVisible(elementLocator);
      I.click(elementLocator);
      I.waitForInvisible(elementLocator, 25);
    }, 2);

So in the first go it waits for the element it clicks on it and then wait to disappear that element and waits for 25 seconds for it.
After 25 seconds if its still visible it will perform the same steps again and now it worked fine.

The issue is in the first attempt ideally it should complete the sub-step I.waitForInvisible(elementLocator, 25); after 25 seconds but it remains "In-progress" and starts with the second attempt. Since that sub-step remained "In-Progress", it also results launch to remain in the state of "In-Progress"

Can anyone please help me with that?

ElementVisibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions