Permalink
Browse files

happy path test to main display

  • Loading branch information...
ehelin committed Dec 10, 2018
1 parent b88a35a commit d901e8e45d3c34787e14c4117b81f7c083c71a0d
@@ -24,8 +24,11 @@ protected void TestHappyPath(RemoteWebDriver browser)
TestRegistration(browser, "testUser", "testUser23", "test@aol.com", true);
System.Threading.Thread.Sleep(_testStepInterval);

//LoginTest(browser, "testUser", "testUser23", true);
//System.Threading.Thread.Sleep(_testStepInterval);
LoginTest(browser, "testUser", "testUser23", true);
System.Threading.Thread.Sleep(_testStepInterval);

// tmp...wait for main panel to display
System.Threading.Thread.Sleep(10000);

//LogOut(browser);
//System.Threading.Thread.Sleep(_testStepInterval);
@@ -57,7 +57,7 @@ protected void SetUsernamePassword(RemoteWebDriver browser, string userName, str
}
protected void LoginTest(RemoteWebDriver browser, string userName, string passWord, bool expectedAlert)
{
CancelLoginTest(browser, "hvJsCancelBtn");
//CancelLoginTest(browser, "hvJsCancelBtn");

SetUsernamePassword(browser, userName, passWord);

@@ -18,9 +18,9 @@ public static void CloseBrowser(RemoteWebDriver browser)
public static List<string> GetUrls() {
return new List<string>{
"http://localhost:61755/home/HtmlVanillaJsIndex", // Vanilla JS
"http://localhost:61755/home/HtmlJQueryIndex", // JQuery
"http://localhost:62356/", // Angular 6
"http://localhost:59259/", // React JS
//"http://localhost:61755/home/HtmlJQueryIndex", // JQuery
//"http://localhost:62356/", // Angular 6
//"http://localhost:59259/", // React JS
};
}
}

0 comments on commit d901e8e

Please sign in to comment.