]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add missing timeout multiplier 7757/head
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Fri, 22 Dec 2017 08:12:29 +0000 (09:12 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 9 Jan 2018 14:58:24 +0000 (15:58 +0100)
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
tests/acceptance/features/bootstrap/FilesAppContext.php

index d0acc6ad89a9d94bb0210cfbc9e7c32899593cce..060e958e0e68f7fe8df6a61e58eb4b7cdfb93d5a 100644 (file)
@@ -495,7 +495,9 @@ class FilesAppContext implements Context, ActorAwareInterface {
         * @When I see that the :tabName tab in the details view is eventually loaded
         */
        public function iSeeThatTheTabInTheDetailsViewIsEventuallyLoaded($tabName) {
-               if (!$this->waitForElementToBeEventuallyNotShown(self::loadingIconForTabInCurrentSectionDetailsViewNamed($tabName), $timeout = 10)) {
+               if (!$this->waitForElementToBeEventuallyNotShown(
+                               self::loadingIconForTabInCurrentSectionDetailsViewNamed($tabName),
+                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        PHPUnit_Framework_Assert::fail("The $tabName tab in the details view has not been loaded after $timeout seconds");
                }
        }
@@ -511,7 +513,9 @@ class FilesAppContext implements Context, ActorAwareInterface {
         * @Then I see that the working icon for password protect is eventually not shown
         */
        public function iSeeThatTheWorkingIconForPasswordProtectIsEventuallyNotShown() {
-               if (!$this->waitForElementToBeEventuallyNotShown(self::passwordProtectWorkingIcon(), $timeout = 10)) {
+               if (!$this->waitForElementToBeEventuallyNotShown(
+                               self::passwordProtectWorkingIcon(),
+                               $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
                        PHPUnit_Framework_Assert::fail("The working icon for password protect is still shown after $timeout seconds");
                }
        }