diff --git a/src/e2e/java/teammates/e2e/cases/InstructorSessionIndividualExtensionPageE2ETest.java b/src/e2e/java/teammates/e2e/cases/InstructorSessionIndividualExtensionPageE2ETest.java index e2c13d9223b..2f676adaafe 100644 --- a/src/e2e/java/teammates/e2e/cases/InstructorSessionIndividualExtensionPageE2ETest.java +++ b/src/e2e/java/teammates/e2e/cases/InstructorSessionIndividualExtensionPageE2ETest.java @@ -58,7 +58,7 @@ public void testAll() { ______TS("verify extend some deadlines, notifyUsers enabled"); - individualExtensionPage.selectStudents(0, 2); // alice and charlie + individualExtensionPage.selectStudents(0, 3); // alice and charlie individualExtensionPage.selectInstructor(0); // instructor 1 individualExtensionPage.extendDeadlineByTwelveHours(true); @@ -69,7 +69,7 @@ public void testAll() { Map updatedInstructorDeadlines = updatedSession.getInstructorDeadlines(); Instant expectedDeadline = feedbackSession.getEndTime().plus(Duration.ofHours(12)); - verifyUpdatedDeadlinesMap(updatedStudentDeadlines, TestProperties.TEST_EMAIL, "charlie.tmms@gmail.tmt"); + verifyUpdatedDeadlinesMap(updatedStudentDeadlines, testEmail, "charlie.tmms@gmail.tmt"); verifyUpdatedDeadlinesMap(updatedInstructorDeadlines, "instructor1.tmms@gmail.tmt"); verifyDeadlineExtensionsPresentOrAbsent(updatedStudentDeadlines, updatedInstructorDeadlines, expectedDeadline); @@ -92,7 +92,7 @@ public void testAll() { updatedStudentDeadlines = updatedSession.getStudentDeadlines(); updatedInstructorDeadlines = updatedSession.getInstructorDeadlines(); - verifyUpdatedDeadlinesMap(updatedStudentDeadlines, TestProperties.TEST_EMAIL, "charlie.tmms@gmail.tmt"); + verifyUpdatedDeadlinesMap(updatedStudentDeadlines, testEmail, "charlie.tmms@gmail.tmt"); verifyUpdatedDeadlinesMap(updatedInstructorDeadlines, "instructor1.tmms@gmail.tmt"); verifyDeadlineExtensionsPresentOrAbsent(updatedStudentDeadlines, updatedInstructorDeadlines, expectedDeadline); diff --git a/src/web/app/components/extension-confirm-modal/extension-confirm-modal.component.ts b/src/web/app/components/extension-confirm-modal/extension-confirm-modal.component.ts index ae6912038f5..d99b1be28d4 100644 --- a/src/web/app/components/extension-confirm-modal/extension-confirm-modal.component.ts +++ b/src/web/app/components/extension-confirm-modal/extension-confirm-modal.component.ts @@ -258,8 +258,8 @@ export class ExtensionConfirmModalComponent implements OnInit { strB = b.sectionName; break; case SortBy.TEAM_NAME: - strA = a.sectionName; - strB = b.sectionName; + strA = a.teamName; + strB = b.teamName; break; case SortBy.RESPONDENT_NAME: strA = a.name; diff --git a/src/web/app/pages-instructor/instructor-session-individual-extension-page/instructor-session-individual-extension-page.component.ts b/src/web/app/pages-instructor/instructor-session-individual-extension-page/instructor-session-individual-extension-page.component.ts index fe83cc5d2ae..f6fd5848709 100644 --- a/src/web/app/pages-instructor/instructor-session-individual-extension-page/instructor-session-individual-extension-page.component.ts +++ b/src/web/app/pages-instructor/instructor-session-individual-extension-page/instructor-session-individual-extension-page.component.ts @@ -531,8 +531,8 @@ export class InstructorSessionIndividualExtensionPageComponent implements OnInit strB = b.sectionName; break; case SortBy.TEAM_NAME: - strA = a.sectionName; - strB = b.sectionName; + strA = a.teamName; + strB = b.teamName; break; case SortBy.RESPONDENT_NAME: strA = a.name;