- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 23
Closed
Description
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?
Metadata
Metadata
Assignees
Labels
No labels