public void employee_can_create_an_account_by_selecting_an_existing_company() { CreateEmployeePage.SelectAnExistingCompany(); CreateEmployeePage.FillCreationFormWith(TestData.Employee3); HomePage.HasFeedBackMessage(WebMessage.EmployeeMessage.ACCOUNT_CREATE_SUCCESS).Should().BeTrue(); }
public void employee_can_create_an_account_by_creating_a_new_company() { CreateEmployeePage.SelectCreateNewCompany(); CreateCompanyPage.FillCompanyFieldsWith(TestData.Company6); CreateEmployeePage.FillCreationFormWith(TestData.Employee3); HomePage.HasFeedBackMessage(WebMessage.EmployeeMessage.ACCOUNT_CREATE_SUCCESS).Should().BeTrue(); }
public void new_company_joined_stagio() { CreateEmployeePage.GoTo(); CreateEmployeePage.SelectCreateNewCompany(); CreateCompanyPage.FillCompanyFieldsWith(TestData.Company6); CreateEmployeePage.FillCreationFormWith(TestData.Employee3); LoginPage.GoTo(); LoginPage.LoginAs(TestData.Coordinator1); const int NOTIF_ID = 3; NotificationPartialPage.GoTo(); NotificationPartialPage.ClickNotif(NOTIF_ID); }
public CreateEmployeeShould() { this.page = new CreateEmployeePage(this.driver); this.page.NavigateTo(); }
public void EditTestsInitialize() { CreateEmployeePage.GoTo(); }