private void CountNumberOfSubscribedStudent() { const int expectedAmountOfStudent = 0; PageNavigator.Coordinator.StudentsList.Select(); StudentsListCoordinatorPage.GetStudentsCount("subscribed-count").Should().Be(expectedAmountOfStudent); }
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); }
public void coordinator_can_see_students_list_with_subscribed_students() { PageNavigator.Coordinator.StudentsList.Select(); StudentsListCoordinatorPage.GetStudentsCount("subscribed-count").Should().BeGreaterThan(0); }