Exemplo n.º 1
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();
        }
Exemplo n.º 2
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);
        }