Add getter for the timeout multiplier
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 <danxuliu@gmail.com>
This commit is contained in:
parent
79f4b8566b
commit
340a774fe2
|
@ -104,6 +104,15 @@ class Actor {
|
|||
$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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue