flutter_gherkin icon indicating copy to clipboard operation
flutter_gherkin copied to clipboard

[Question] How to make sure the next step executes only when previous is completed?

Open umangdivyanshu opened this issue 2 years ago • 0 comments

Given I open the app Then I should see search page And I enter keyword in search input box And I click on search suggestion And I verify the search results

Take above example for instance, the execution is so fast that on the UI I could see the text entering in the input box, clicking on search suggestion and verification happening but in the terminal logs it shows that it is still executing Then I should see search page step.

Sometimes it causes tests to fail. How can I make sure the next step executes only when previous one is completed.

umangdivyanshu avatar Aug 09 '22 13:08 umangdivyanshu