Skip to content

Commit

Permalink
FIX-12596: fix e2e test as sorting logic was fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Gleb Nazarov authored and Gleb Nazarov committed Sep 2, 2024
1 parent 46ebb56 commit e49cfd6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -69,7 +69,7 @@ public void testAll() {
Map<String, Instant> updatedInstructorDeadlines = updatedSession.getInstructorDeadlines();
Instant expectedDeadline = feedbackSession.getEndTime().plus(Duration.ofHours(12));

verifyUpdatedDeadlinesMap(updatedStudentDeadlines, TestProperties.TEST_EMAIL, "[email protected]");
verifyUpdatedDeadlinesMap(updatedStudentDeadlines, testEmail, "[email protected]");
verifyUpdatedDeadlinesMap(updatedInstructorDeadlines, "[email protected]");
verifyDeadlineExtensionsPresentOrAbsent(updatedStudentDeadlines, updatedInstructorDeadlines, expectedDeadline);

Expand All @@ -92,7 +92,7 @@ public void testAll() {
updatedStudentDeadlines = updatedSession.getStudentDeadlines();
updatedInstructorDeadlines = updatedSession.getInstructorDeadlines();

verifyUpdatedDeadlinesMap(updatedStudentDeadlines, TestProperties.TEST_EMAIL, "[email protected]");
verifyUpdatedDeadlinesMap(updatedStudentDeadlines, testEmail, "[email protected]");
verifyUpdatedDeadlinesMap(updatedInstructorDeadlines, "[email protected]");
verifyDeadlineExtensionsPresentOrAbsent(updatedStudentDeadlines, updatedInstructorDeadlines, expectedDeadline);

Expand Down

0 comments on commit e49cfd6

Please sign in to comment.