Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#12048] Remove unnecessary loading of datastore entities in InstructorNotificationsPageE2ETest #12911

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
}
}
}
Loading