/** * @test */ public function isActiveForRunSeleniumTestsReturnsFalseIfSeleniumServerIsNotReachable() { if ($this->seleniumService->isSeleniumServerRunning()) { self::markTestSkipped('Skipping test because Selenium RC server (host=' . $this->seleniumService->getSeleniumHost() . ', port=' . $this->seleniumService->getSeleniumPort() . ') ' . 'is reachable.'); } $key = 'runSeleniumTests'; self::assertFalse($this->subject->isActive($key)); }
/** * @test */ public function getSeleniumHostForConfiguredHostReturnsConfiguredHost() { $host = 'http://example.com/'; $this->extensionSettingsService->set('selenium_host', $host); self::assertSame($host, $this->subject->getSeleniumHost()); }