public void SetUp() { WaitResponse("http://localhost:8083/"); var tunnelIdentifier = $"{Environment.MachineName}-{Guid.NewGuid()}"; BrowserSetUp.SetUp(tunnelIdentifier); }
public void SetUp() { WaitResponse("http://localhost:8083/"); var tunnelIdentifier = Environment.GetEnvironmentVariable("TRAVIS_JOB_NUMBER", EnvironmentVariableTarget.Process) ?? $"{Environment.MachineName}-{Guid.NewGuid()}"; sauceConnectProcess = CreateSauceConnectProcess(tunnelIdentifier); sauceConnectProcess.Start(); if (sauceConnectProcess.StandardOutput.ReadLine() != "Sauce Connect ready") { throw new Exception("Unable to start sauce connect"); } BrowserSetUp.SetUp(tunnelIdentifier); }
public void SetUp() { if (TeamCityEnvironment.IsExecutionViaTeamCity) { KillWebPackDevServer(); webServerProcess = CreateWebServerProcess(); webServerProcess.Start(); WaitResponse("http://localhost:8083/"); } BrowserSetUp.SetUp(); }