use of teammates.common.util.AppUrl in project teammates by TEAMMATES.
the class AutomatedSessionRemindersTest method testFeedbackSessionPublishedReminders.
@Test
public void testFeedbackSessionPublishedReminders() {
AppUrl publishedRemindersUrl = createUrl(Const.ActionURIs.AUTOMATED_FEEDBACK_PUBLISHED_REMINDERS);
loginAdminToPage(publishedRemindersUrl, GenericAppPage.class);
}
use of teammates.common.util.AppUrl in project teammates by TEAMMATES.
the class AutomatedSessionRemindersTest method testFeedbackSessionClosedReminders.
@Test
public void testFeedbackSessionClosedReminders() {
AppUrl closedRemindersUrl = createUrl(Const.ActionURIs.AUTOMATED_FEEDBACK_CLOSED_REMINDERS);
loginAdminToPage(closedRemindersUrl, GenericAppPage.class);
}
use of teammates.common.util.AppUrl in project teammates by TEAMMATES.
the class AutomatedSessionRemindersTest method testFeedbackSessionOpeningReminders.
@Test
public void testFeedbackSessionOpeningReminders() {
AppUrl openingRemindersUrl = createUrl(Const.ActionURIs.AUTOMATED_FEEDBACK_OPENING_REMINDERS);
loginAdminToPage(openingRemindersUrl, GenericAppPage.class);
}
use of teammates.common.util.AppUrl in project teammates by TEAMMATES.
the class InstructorCourseDetailsPageUiTest method testLinks.
private void testLinks() {
StudentAttributes student1 = testData.students.get("CCDetailsUiT.alice.tmms@CCDetailsUiT.CS2104");
StudentAttributes student2 = testData.students.get("charlie.tmms@CCDetailsUiT.CS2104");
______TS("link: view");
InstructorCourseStudentDetailsViewPage studentDetailsPage = detailsPage.clickViewStudent(student1.name);
studentDetailsPage.verifyIsCorrectPage(student1.email);
studentDetailsPage.closeCurrentWindowAndSwitchToParentWindow();
______TS("link: edit");
InstructorCourseStudentDetailsEditPage studentEditPage = detailsPage.clickEditStudent(student2.name);
studentEditPage.verifyIsCorrectPage(student2.email);
studentEditPage.closeCurrentWindowAndSwitchToParentWindow();
______TS("link: all records");
InstructorStudentRecordsPage studentAllRecordsPage = detailsPage.clickAllRecordsLink(student2.name);
studentAllRecordsPage.verifyIsCorrectPage(student2.name);
studentAllRecordsPage.closeCurrentWindowAndSwitchToParentWindow();
studentAllRecordsPage = detailsPage.clickAllRecordsLink(student1.name);
studentAllRecordsPage.verifyIsCorrectPage(student1.name.replaceAll("<", "<").replaceAll(">", ">"));
studentAllRecordsPage.closeCurrentWindowAndSwitchToParentWindow();
______TS("link: download student list");
AppUrl studentListDownloadUrl = createUrl(Const.ActionURIs.INSTRUCTOR_COURSE_STUDENT_LIST_DOWNLOAD).withUserId("CCDetailsUiT.instr").withCourseId("CCDetailsUiT.CS2104");
detailsPage.verifyDownloadLink(studentListDownloadUrl);
}
use of teammates.common.util.AppUrl in project teammates by TEAMMATES.
the class InstructorCourseEnrollPageUiTest method testContent.
private void testContent() throws Exception {
______TS("typical enroll page");
AppUrl enrollUrl = createUrl(Const.ActionURIs.INSTRUCTOR_COURSE_ENROLL_PAGE).withUserId(testData.instructors.get("CCEnrollUiT.teammates.test").googleId).withCourseId(testData.courses.get("CCEnrollUiT.CS2104").getId());
enrollPage = loginAdminToPage(enrollUrl, InstructorCourseEnrollPage.class);
// This is the full HTML verification for Instructor Course Enroll Page, the rest can all be verifyMainHtml
enrollPage.verifyHtml("/instructorCourseEnrollPage.html");
}
Aggregations