Ejemplo n.º 1
0
        private void CountNumberOfSubscribedStudent()
        {
            const int expectedAmountOfStudent = 0;

            PageNavigator.Coordinator.StudentsList.Select();
            StudentsListCoordinatorPage.GetStudentsCount("subscribed-count").Should().Be(expectedAmountOfStudent);
        }
Ejemplo n.º 2
0
        public void coordinator_can_clean_database()
        {
            CleanDatabasePage.GoTo();
            CleanDatabasePage.ClickCleanDatabaseButton();
            CleanDatabasePage.FillPasswordValidation(TestData.Coordinator1.Password);
            CleanDatabasePage.ClickCleanDatabaseModalButton();

            StudentsListCoordinatorPage.GoTo();
            CountNumberOfNotSubscribedStudent();
            CountNumberOfSubscribedStudent();

            CoordinatorIndexInternshipOfferPage.GoTo();
            CoordinatorIndexInternshipOfferPage.GetTotalOffersCount().Should().Be(0);
        }
Ejemplo n.º 3
0
 public void coordinator_can_see_students_list_with_subscribed_students()
 {
     PageNavigator.Coordinator.StudentsList.Select();
     StudentsListCoordinatorPage.GetStudentsCount("subscribed-count").Should().BeGreaterThan(0);
 }