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 GivenTheJobPostingOnThePageHasBeenNavigatedTo(string page) { if (page == "candidate job board") { CandidateDashboard.JobsButton(); } else if (page == "candidate more details") { CandidateDashboard.JobsButton(); JobBoardPage.MoreDetails(); } else if (page == "more details") { JobBoardPage.MoreDetails(); } }
public void GivenTheJobsBoardIsNavigatedTo() { CandidateDashboard.JobsButton(); JobBoardPage.BaseURL(); }