Skip to content

Commit

Permalink
[#12048] Remove unnecessary loading of datastore entities in Instruct…
Browse files Browse the repository at this point in the history
…orNotificationsPageE2ETest (#12911)

* migrate instructor notif e2e

---------

Co-authored-by: Cedric Ong <67156011+cedricongjh@users.noreply.github.com>
  • Loading branch information
dishenggg and cedricongjh authored Mar 27, 2024
1 parent e51132e commit 20df6b6
Showing 1 changed file with 0 additions and 67 deletions.
67 changes: 0 additions & 67 deletions src/e2e/resources/data/InstructorNotificationsPageE2ETest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
{
"accounts": {
"INotifs.instr": {
"googleId": "tm.e2e.INotifs.instr",
"name": "Teammates Test",
"email": "INotifs.instr@gmail.tmt",
"readNotifications": {
"notification4": "2099-04-04T00:00:00Z"
}
}
},
"courses": {
"typicalCourse1": {
"id": "tm.e2e.INotifs.course1",
Expand Down Expand Up @@ -42,62 +32,5 @@
"sessionLevel": {}
}
}
},
"notifications": {
"notification1": {
"notificationId": "notification1",
"startTime": "2011-01-01T00:00:00Z",
"endTime": "2099-01-01T00:00:00Z",
"createdAt": "2011-01-01T00:00:00Z",
"style": "DANGER",
"targetUser": "GENERAL",
"title": "E2E notif for general users",
"message": "<p>This notification is shown to general users</p>",
"shown": false
},
"notification2": {
"notificationId": "notification2",
"startTime": "2011-02-02T00:00:00Z",
"endTime": "2099-02-02T00:00:00Z",
"createdAt": "2011-01-01T00:00:00Z",
"style": "SUCCESS",
"targetUser": "STUDENT",
"title": "E2E notif for students",
"message": "<p>This notification is shown to students only</p>",
"shown": false
},
"notification3": {
"notificationId": "notification3",
"startTime": "2011-03-03T00:00:00Z",
"endTime": "2099-03-03T00:00:00Z",
"createdAt": "2011-01-01T00:00:00Z",
"style": "SUCCESS",
"targetUser": "INSTRUCTOR",
"title": "E2E notif for instructors",
"message": "<p>This notification is shown to instructors only</p>",
"shown": false
},
"notification4": {
"notificationId": "notification4",
"startTime": "2011-04-04T00:00:00Z",
"endTime": "2099-04-04T00:00:00Z",
"createdAt": "2011-01-01T00:00:00Z",
"style": "WARNING",
"targetUser": "GENERAL",
"title": "E2E read notification",
"message": "<p>This notification has been read by the user</p>",
"shown": false
},
"expiredNotification1": {
"notificationId": "expiredNotification1",
"startTime": "2011-01-01T00:00:00Z",
"endTime": "2011-02-02T00:00:00Z",
"createdAt": "2011-01-01T00:00:00Z",
"style": "DANGER",
"targetUser": "GENERAL",
"title": "E2E expired notification",
"message": "<p>This notification has expired</p>",
"shown": false
}
}
}

0 comments on commit 20df6b6

Please sign in to comment.