Exemplo n.º 1
0
        public void Enrollment_Is_Triggered_For_A_New_Hire()
        {
            // Arrange
            var loginParams = new LoginPageParams()
            {
                CompanyId           = "1",
                Username            = "******",
                Password            = "******"
            };

            var newEmployeePageParams = new NewEmployeePageParams()
            {
                LastName            = "Smith",
                FirstName           = "Sam",
                FederalFilingStatus = "Single",
                StateFilingStatus   = "Single",
                Department          = "Accounting"
            };

            var companySearchParams = new CompanySearchParams()
            {
                Name = "AR MPY Test Company"
            };

            WB.User.Login(loginParams);

            WB.Implementation.ServiceBureau.OpenCompany(companySearchParams);

            WP.Employee.AddNew(newEmployeePageParams);
            WP.Employee.AddBenefitsClass();
            WP.Employee.SetupUserAccount();
            WP.Navigation.SSOToWebBenefits();

            WB.Implementation.Employees.UpdateEligibility();

            // Act
            WB.Implementation.Employees.ImpersonateEmployee();

            // Assert
            // Verify that Enrollment is triggered.
        }
Exemplo n.º 2
0
 public static void AddNew(NewEmployeePageParams newEmployeePageParams)
 {
 }