예제 #1
0
 internal void LoginIfNotLoggedIn()
 {
     if (adminPanelLoginPage.Open().IsOnThisPage())
     {
         adminPanelLoginPage.EnterUsername("admin").EnterPassword("admin").SubmitLogin();
     }
 }
예제 #2
0
 internal ISet <string> GetCustomerIds()
 {
     if (adminPanelLoginPage.Open().IsOnThisPage())
     {
         adminPanelLoginPage.EnterUsername("admin").EnterPassword("admin").SubmitLogin();
     }
     return(customerListPage.Open().GetCustomerIds());
 }