public void WhenIClickOnTheLoginRegisterButton() { OurPeoplePageObject pageOurPeople = new OurPeoplePageObject(); Thread.Sleep(30); // ran out of time, should be removed in due course. pageOurPeople.ClickFinancialAdvisersButton(); pageOurPeople.GoToLoginOrRegister(); }
public void ThenIShouldBeAbleToConfirmTheFollowingMenu(string p0, Table table) { OurPeoplePageObject pageOurPeople = new OurPeoplePageObject(); pageOurPeople.ClickFinancialAdvisersButton(); Thread.Sleep(100); // This is not the best practice and should be avoided. I just added this temporarily as I have run out of time. [Ola 29/5/2018] pageOurPeople.CheckPageMenu(table); }