We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0afc3d5 + 33b6740 commit ec349fcCopy full SHA for ec349fc
tests/acceptance/features/bootstrap/UsersSettingsContext.php
@@ -293,8 +293,12 @@ public function iSeeThatTheListOfUsersDoesNotContainsTheUser($user) {
293
* @Then I see that the new user form is shown
294
*/
295
public function iSeeThatTheNewUserFormIsShown() {
296
- Assert::assertTrue(
297
- $this->actor->find(self::newUserForm(), 10)->isVisible());
+ if (!WaitFor::elementToBeEventuallyShown(
+ $this->actor,
298
+ self::newUserForm(),
299
+ $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
300
+ Assert::fail("The new user form is not shown yet after $timeout seconds");
301
+ }
302
}
303
304
/**
0 commit comments