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 GivenTheUserIs(string login) { HomePage.BaseURL(); if (login == "logged in as a candidate") { HomePage.LoginLink(); LoginPage.BaseURL(); LoginPage.LoginFields("liamknowles", "liamknowles", "candidate"); LoginPage.LoginButton(); CandidateDashboard.BaseURL(); } else if (login == "logged in as a client") { HomePage.LoginLink(); LoginPage.BaseURL(); LoginPage.LoginFields("*****@*****.**", "12345", "client"); LoginPage.LoginButton(); ClientDashboard.BaseURL(); } else { HomePage.JobBoardLink(); JobBoardPage.BaseURL(); } }
public void ThenThePageIsLoaded(string link) { if (link == "Job Board") { JobBoardPage.BaseURL(); } else { LoginPage.BaseURL(); } }
public void GivenTheJobCriteriaHasBeenSearchedFor() { MultiplePages.Keyword("Surgeon"); // MultiplePages.Country("United Kingdom"); // MultiplePages.Region("Greater Manchester"); // MultiplePages.Location("Manchester"); // MultiplePages.Industry("Medical"); // MultiplePages.Discipline("Surgeon"); MultiplePages.GoButton(); JobBoardPage.BaseURL(); }
public void ThenTheJobsBoardIsLoaded() { JobBoardPage.BaseURL(); }
public void GivenTheJobsBoardIsNavigatedTo() { CandidateDashboard.JobsButton(); JobBoardPage.BaseURL(); }
public void ThenTheJobsAreSearchedFor() { JobBoardPage.BaseURL(); }