From 20df6b6e53c945f323b4196379cd3ef154127241 Mon Sep 17 00:00:00 2001 From: DS Date: Wed, 27 Mar 2024 17:50:20 +0800 Subject: [PATCH] [#12048] Remove unnecessary loading of datastore entities in InstructorNotificationsPageE2ETest (#12911) * migrate instructor notif e2e --------- Co-authored-by: Cedric Ong <67156011+cedricongjh@users.noreply.github.com> --- .../InstructorNotificationsPageE2ETest.json | 67 ------------------- 1 file changed, 67 deletions(-) diff --git a/src/e2e/resources/data/InstructorNotificationsPageE2ETest.json b/src/e2e/resources/data/InstructorNotificationsPageE2ETest.json index 538be7ac54c..4e1ead2bb70 100644 --- a/src/e2e/resources/data/InstructorNotificationsPageE2ETest.json +++ b/src/e2e/resources/data/InstructorNotificationsPageE2ETest.json @@ -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", @@ -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": "

This notification is shown to general users

", - "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": "

This notification is shown to students only

", - "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": "

This notification is shown to instructors only

", - "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": "

This notification has been read by the user

", - "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": "

This notification has expired

", - "shown": false - } } }