public void WhenTheDashboardButtonIsClicked(string page) { if (page == "Profile") { CandidateDashboard.ProfileButton(); } else if (page == "CV") { CandidateDashboard.CVButton(); } else if (page == "Timesheets") { CandidateDashboard.TimesheetsButton(); } else if (page == "Job Searches") { CandidateDashboard.JobSearchesButton(); } else if (page == "Job Basket") { CandidateDashboard.JobBasketButton(); } else if (page == "Job Applications") { CandidateDashboard.JobApplicationsButton(); } else if (page == "Change Password") { CandidateDashboard.ChangePasswordButton(); } else if (page == "Jobs Board") { CandidateDashboard.JobsButton(); } }
public void GivenTheJobSearchesPageHasBeenNavigatedTo() { CandidateDashboard.JobSearchesButton(); JobSearchesPage.BaseURL(); }