From 931d6fd4a64787f88155aef8fdede5042557843a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Fri, 4 Aug 2017 13:12:40 +0200 Subject: [PATCH] Add getter for the timeout multiplier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In some cases the acceptance tests have to explicitly wait for something to happen without using the "find" method from the actor; in those cases the timeout multiplier needs to be taken into account too, so the test cases must be able to retrieve it from the actor. Signed-off-by: Daniel Calviño Sánchez --- tests/acceptance/features/core/Actor.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/acceptance/features/core/Actor.php b/tests/acceptance/features/core/Actor.php index a87ccfb773774..bf2f5a7367df1 100644 --- a/tests/acceptance/features/core/Actor.php +++ b/tests/acceptance/features/core/Actor.php @@ -104,6 +104,15 @@ public function setBaseUrl($baseUrl) { $this->baseUrl = $baseUrl; } + /** + * Returns the multiplier for find timeouts. + * + * @return float the multiplier to apply to find timeouts. + */ + public function getFindTimeoutMultiplier() { + return $this->findTimeoutMultiplier; + } + /** * Sets the multiplier for find timeouts. *