Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/acceptance/features/core/ActorContext.php')
-rw-r--r--tests/acceptance/features/core/ActorContext.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/acceptance/features/core/ActorContext.php b/tests/acceptance/features/core/ActorContext.php
index b3c8b6f0459..aa538f06069 100644
--- a/tests/acceptance/features/core/ActorContext.php
+++ b/tests/acceptance/features/core/ActorContext.php
@@ -137,6 +137,8 @@ class ActorContext extends RawMinkContext {
$this->getSession()->start();
+ $this->getSession()->maximizeWindow();
+
$this->actors["default"] = new Actor("default", $this->getSession(), $this->getMinkParameter("base_url"), $this->sharedNotebook);
$this->actors["default"]->setFindTimeoutMultiplier($this->actorTimeoutMultiplier);
@@ -163,6 +165,8 @@ class ActorContext extends RawMinkContext {
if (!array_key_exists($actorName, $this->actors)) {
$this->getSession($actorName)->start();
+ $this->getSession($actorName)->maximizeWindow();
+
$this->actors[$actorName] = new Actor($actorName, $this->getSession($actorName), $this->getMinkParameter("base_url"), $this->sharedNotebook);
$this->actors[$actorName]->setFindTimeoutMultiplier($this->actorTimeoutMultiplier);
}