/** * Overrides PHPUnit onNotSuccessfulTest. As failed tests reset the selenium session, * this methods will also reset $isLoggedIn value to ensure a new login is made in * Expresso Lite on the next test to be executed. * * @param unknown $e The exception that made the test fail. */ public function onNotSuccessfulTest($e) { self::$isLoggedIn = false; parent::onNotSuccessfulTest($e); }
/** * This will make the test wait for any pending ajax calls, animations or throbbers. * It is just a shortcut for $this->testCase->waitForAjaxAndAnimations */ public function waitForAjaxAndAnimations() { $this->testCase->waitForAjaxAndAnimations(); }