HotcakesCommerce/hotcakes-commerce-test

Running SmokeTest times out every time

Opened this issue · 0 comments

When you build and run the SmokeTest, the test times out. A Chrome window is opened and loads the website though. It just never proceeds to the next step. It even has a timeout of 2 minutes.

Test Name: SmokeTest
Test FullName: Hotcakes.AutomatedTesting.TestUtils.SmokeTesting.SmokeTest
Test Source: C:\Work\HCC-test\AutomatedTesting\TestUtils\SmokeTesting.cs : line 65
Test Outcome: Failed
Test Duration: 0:02:17.6190851

Result StackTrace:
at System.Net.HttpWebRequest.GetResponse()
at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)
--- End of inner exception stack trace ---
at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.FindElement(String mechanism, String value)
at OpenQA.Selenium.Remote.RemoteWebDriver.FindElementById(String id)
at OpenQA.Selenium.By.<>c__DisplayClass2.b__0(ISearchContext context)
at OpenQA.Selenium.By.FindElement(ISearchContext context)
at OpenQA.Selenium.Remote.RemoteWebDriver.FindElement(By by)
at Hotcakes.AutomatedTesting.TestUtils.BasicUnitTests.UserAdminLoginHcc() in C:\Work\HCC-test\AutomatedTesting\TestUtils\BasicUnitTests.cs:line 82
at Hotcakes.AutomatedTesting.TestUtils.SmokeTesting.SmokeTest() in C:\Work\HCC-test\AutomatedTesting\TestUtils\SmokeTesting.cs:line 66
Result Message:
Test method Hotcakes.AutomatedTesting.TestUtils.SmokeTesting.SmokeTest threw exception:
OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:12942/session/d22646f1ae717fe6cd970cba47d6e3e3/element timed out after 120 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out.