Verify WaitFor::element... results with an assertion
WaitFor::element... calls only perform the waiting and return whether
the condition succeeded or not, but that result needs to be explicitly
checked to prevent further steps from being executed if the wait failed.
Signed-off-by:
Daniel Calviño Sánchez <danxuliu@gmail.com>
Showing
- tests/acceptance/features/bootstrap/AppNavigationContext.php 12 additions, 2 deletionstests/acceptance/features/bootstrap/AppNavigationContext.php
- tests/acceptance/features/bootstrap/AppSettingsContext.php 6 additions, 1 deletiontests/acceptance/features/bootstrap/AppSettingsContext.php
- tests/acceptance/features/bootstrap/AppsManagementContext.php 6 additions, 1 deletion...s/acceptance/features/bootstrap/AppsManagementContext.php
- tests/acceptance/features/bootstrap/DialogContext.php 12 additions, 2 deletionstests/acceptance/features/bootstrap/DialogContext.php
- tests/acceptance/features/bootstrap/UsersSettingsContext.php 38 additions, 5 deletionstests/acceptance/features/bootstrap/UsersSettingsContext.php
Loading
Please register or sign in to comment