summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/bootstrap/AppsManagementContext.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/acceptance/features/bootstrap/AppsManagementContext.php')
-rw-r--r--tests/acceptance/features/bootstrap/AppsManagementContext.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/AppsManagementContext.php b/tests/acceptance/features/bootstrap/AppsManagementContext.php
index d86b972c85b..b692e77ca60 100644
--- a/tests/acceptance/features/bootstrap/AppsManagementContext.php
+++ b/tests/acceptance/features/bootstrap/AppsManagementContext.php
@@ -164,7 +164,12 @@ class AppsManagementContext implements Context, ActorAwareInterface {
* @Then /^I see that there some apps listed from the app store$/
*/
public function iSeeThatThereSomeAppsListedFromTheAppStore() {
- WaitFor::elementToBeEventuallyShown($this->actor, self::appEntries(), 10);
+ if (!WaitFor::elementToBeEventuallyShown(
+ $this->actor,
+ self::appEntries(),
+ $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
+ PHPUnit_Framework_Assert::fail("The apps from the app store were not shown yet after $timeout seconds");
+ }
}
/**