Exemple #1
0
        public void employee_can_visualize_internship_offers_associated_to_his_company()
        {
            const int NOTIF_ID = 1;

            NotificationPartialPage.GoTo();
            NotificationPartialPage.ClickNotif(NOTIF_ID);
        }
Exemple #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);
        }
Exemple #3
0
        public void student_has_applied_on_an_intershipoffer()
        {
            LoginPage.GoTo();
            LoginPage.LoginAs(TestData.SubscribedStudent1);
            StudentIndexInternshipOfferPage.GoTo();

            CreateInternshipApplicationPage.GoTo();
            CreateInternshipApplicationPage.UploadFile("TestFile.pdf");

            PageNavigator.AllUsers.Logout.Select();

            LoginPage.GoTo();
            LoginPage.LoginAs(TestData.Coordinator1);

            const int NOTIF_ID = 4;

            NotificationPartialPage.GoTo();
            NotificationPartialPage.ClickNotif(NOTIF_ID);

            CoordinatorProgressionIndexInternshipApplicationPage.IsDisplayed.Should().BeTrue();
        }
Exemple #4
0
        public void new_intershipoffer_has_been_created()
        {
            LoginPage.GoTo();
            LoginPage.LoginAs(TestData.Employee1);

            CreateInternshipOfferPage.GoTo();
            CreateInternshipOfferPage.FillCreationFormWith(TestData.InternshipOfferPublicated1);
            CreateInternshipOfferPage.SubmitOffer();

            PageNavigator.AllUsers.Logout.Select();

            LoginPage.GoTo();
            LoginPage.LoginAs(TestData.Coordinator1);

            const int NOTIF_ID = 3;

            NotificationPartialPage.GoTo();
            NotificationPartialPage.ClickNotif(NOTIF_ID);

            CoordinatorIndexInternshipOfferPage.IsDisplayed.Should().BeTrue();
        }