From e49cfd65cebea284470f9d23fbd2101889675834 Mon Sep 17 00:00:00 2001 From: Gleb Nazarov Date: Mon, 2 Sep 2024 11:44:23 +0500 Subject: [PATCH] FIX-12596: fix e2e test as sorting logic was fixed --- .../InstructorSessionIndividualExtensionPageE2ETest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);