public void coordinator_upload_should_rest_on_to_upload_is_not_valid() { LoginPage.GoTo(); LoginPage.LoginAs(CoordonatorUsername, CoordonatorPassword); AddStudentsCoordinatorPage.GoTo(); AddStudentsCoordinatorPage.SelectCsvFile(""); AddStudentsCoordinatorPage.IsDisplayed.Should().BeTrue(); }
public void coordinator_should_be_able_to_choose_a_file_csv() { LoginPage.GoTo(); LoginPage.LoginAs(CoordonatorUsername, CoordonatorPassword); AddStudentsCoordinatorPage.GoTo(); AddStudentsCoordinatorPage.SelectCsvFile("C:\\dev\\abc.csv").Should().BeTrue(); CreateListStudentsCoordinatorPage.IsDisplayed.Should().BeTrue(); }
public void coordinator_should_not_be_able_to_import_an_another_file_than_csv() { LoginPage.GoTo(); LoginPage.LoginAs(CoordonatorUsername, CoordonatorPassword); AddStudentsCoordinatorPage.GoTo(); AddStudentsCoordinatorPage.SelectCsvFile("C:\\dev\\abc.txt"); AddStudentsCoordinatorPage.IsDisplayed.Should().BeTrue(); }
public void coordinator_creatList_should_redirect_on_resultCreateList() { LoginPage.GoTo(); LoginPage.LoginAs(CoordonatorUsername, CoordonatorPassword); AddStudentsCoordinatorPage.GoTo(); AddStudentsCoordinatorPage.SelectCsvFile("C:\\dev\\abc.csv"); CreateListStudentsCoordinatorPage.ClickToCreatelist(); ResultatCreateListStudentPage.IsDisplayed.Should().BeTrue(); }