summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-01-31 10:13:28 +0100
committerAleksander Machniak <alec@alec.pl>2013-01-31 10:13:28 +0100
commit8466690851f0774facc6c8e443a0df2610c96ce5 (patch)
tree599bc7f549cbf6934bddd2e465ed720ae16861c2
parenta2a1f8d7ed2911c2a4bab05ae599a80ed690c9c4 (diff)
Set root URL to our index.html, for better performance
See https://github.com/sebastianbergmann/phpunit-selenium/issues/217
-rw-r--r--tests/Selenium/bootstrap.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Selenium/bootstrap.php b/tests/Selenium/bootstrap.php
index 0f7eed0d9..6611e8feb 100644
--- a/tests/Selenium/bootstrap.php
+++ b/tests/Selenium/bootstrap.php
@@ -50,6 +50,7 @@ PHPUnit_Extensions_Selenium2TestCase::shareSession(true);
// @TODO: remove user record from DB before running tests
// @TODO: make sure mailbox has some content (always the same) or is empty
+// @TODO: plugins: enable all?
/**
* Base class for all tests in this directory
@@ -60,7 +61,10 @@ class Selenium_Test extends PHPUnit_Extensions_Selenium2TestCase
{
// $this->rc = rcube::get_instance();
$this->setBrowser(TESTS_BROWSER);
- $this->setBrowserUrl(TESTS_URL);
+
+ // Set root to our index.html, for better performance
+ // See https://github.com/sebastianbergmann/phpunit-selenium/issues/217
+ $this->setBrowserUrl(TESTS_URL . '/tests/Selenium');
}
protected function login()