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

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2020-06-09 23:45:14 +0300
committerWilliam Desportes <williamdes@wdes.fr>2020-06-10 02:27:22 +0300
commitf8fde23f78ce3c333cad4c29c284a36be4fb5660 (patch)
tree49eb66ce82f5e15cc5027d1fcb945560b8dcdf9e /test/selenium
parentfce312855702a377bece8c20c090174edb5013a1 (diff)
Do not load sessionId if BrowserStack is not used
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'test/selenium')
-rw-r--r--test/selenium/TestBase.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/selenium/TestBase.php b/test/selenium/TestBase.php
index acbd9ae4cc..c751c21498 100644
--- a/test/selenium/TestBase.php
+++ b/test/selenium/TestBase.php
@@ -135,7 +135,10 @@ abstract class TestBase extends TestCase
$capabilities
);
- $this->sessionId = $this->webDriver->getSessionId();
+ // The session Id is only used by BrowserStack
+ if ($this->hasBrowserstackConfig()) {
+ $this->sessionId = $this->webDriver->getSessionId();
+ }
$this->navigateTo('');
$this->webDriver->manage()->window()->maximize();