Example #1
0
        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();
        }
Example #2
0
        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();
        }
Example #3
0
        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);
        }
Example #4
0
 public CreateEmployeeShould()
 {
     this.page = new CreateEmployeePage(this.driver);
     this.page.NavigateTo();
 }
Example #5
0
 public void EditTestsInitialize()
 {
     CreateEmployeePage.GoTo();
 }