예제 #1
0
        public void student_should_download_his_files_of_the_apply()
        {
            LoginPage.GoTo();
            LoginPage.LoginAs(StudentUsername, StudentPassword);
            ApplyStudentPage.GoToByUrl();
            ApplyStudentPage.SelectFiles("file1.pdf", "file2.pdf");

            ConfirmationUploadCVLetterPage.IsDisplayed.Should().BeTrue();
        }
        public void student_upload_should_rest_on_to_upload_is_not_valid()
        {
            LoginPage.GoTo();
            LoginPage.LoginAs(StudentUsername, StudentPassword);
            ApplyStudentPage.GoToByUrl();

            ApplyStudentPage.SelectFiles("", "");

            ApplyStudentPage.IsDisplayed.Should().BeTrue();
        }
        public void student_should_see_confirmation_page_after_apply()
        {
            LoginPage.GoTo();
            LoginPage.LoginAs(StudentUsername, StudentPassword);
            ApplyStudentPage.GoTo();

            ApplyStudentPage.SelectFiles("file1.pdf", "file2.pdf");

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