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