flutter_gherkin
flutter_gherkin copied to clipboard
[Question] How to make sure the next step executes only when previous is completed?
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.