public void ThenTheCandidatePageIsOpened(string page) { if (page == "Profile") { CandidateProfilePage.BaseURL(); } else if (page == "CV") { CandidateCVPage.BaseURL(); } else if (page == "Timesheets") { CandidateTimesheetsPage.BaseURL(); } else if (page == "Job Searches") { JobSearchesPage.BaseURL(); } else if (page == "Job Basket") { JobBasketPage.BaseURL(); } else if (page == "Job Applications") { JobApplicationsPage.BaseURL(); } else if (page == "Change Password") { CandidateChangePasswordPage.BaseURL(); } else if (page == "Jobs Board") { JobBoardPage.BaseURL(); } }
public void GivenTheJobBasketPageHasBeenNavigatedTo() { CandidateDashboard.JobBasketButton(); JobBasketPage.BaseURL(); }