public function setUp() { // Hack because because PHPUnit version 3.0.6 which is on prototype does not // run setUp as part of TestSuite::run if ($this->isSetUp) { return; } $this->isSetUp = true; $this->selenium = Selenium::getInstance(); $this->selenium->start(); $this->selenium->open($this->selenium->getUrl() . '/index.php?setupTestSuite=' . $this->getName()); if ($this->loginBeforeTests) { $this->login(); } }
public function setUp() { // Hack because because PHPUnit version 3.0.6 which is on prototype does not // run setUp as part of TestSuite::run if ($this->isSetUp) { return; } $this->isSetUp = true; $this->selenium = Selenium::getInstance(); $this->selenium->start(); if ($this->triggerClientTestResources) { $this->selenium->open($this->selenium->getUrl() . '/index.php?setupTestSuite=' . $this->getName()); //wait a little longer for the db operation $this->selenium->waitForPageToLoad(6000); } if ($this->loginBeforeTests) { $this->login(); } }
public function setUp() { set_time_limit(60); $this->selenium = Selenium::getInstance(); }
public function setUrl($url) { self::$url = $url; }