-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate instructor notif e2e (#12792)
Co-authored-by: Cedric Ong <[email protected]>
- Loading branch information
1 parent
fc0fbd1
commit 8125d53
Showing
2 changed files
with
101 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
src/e2e/resources/data/InstructorNotificationsPageE2ETest_SqlEntities.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"accounts": { | ||
"INotifs.instr": { | ||
"id": "00000000-0000-4000-8000-000000000001", | ||
"googleId": "tm.e2e.INotifs.instr", | ||
"name": "Teammates Test", | ||
"email": "[email protected]" | ||
} | ||
}, | ||
"notifications": { | ||
"notification1": { | ||
"id": "00000000-0000-4000-8000-000000001101", | ||
"startTime": "2011-01-01T00:00:00Z", | ||
"endTime": "2099-01-01T00:00:00Z", | ||
"style": "DANGER", | ||
"targetUser": "GENERAL", | ||
"title": "INotifs.notification1", | ||
"message": "<p>This notification is shown to general users</p>", | ||
"shown": false | ||
}, | ||
"notification2": { | ||
"id": "00000000-0000-4000-8000-000000001102", | ||
"startTime": "2011-02-02T00:00:00Z", | ||
"endTime": "2099-02-02T00:00:00Z", | ||
"style": "SUCCESS", | ||
"targetUser": "STUDENT", | ||
"title": "INotifs.notification2", | ||
"message": "<p>This notification is shown to students only</p>", | ||
"shown": false | ||
}, | ||
"notification3": { | ||
"id": "00000000-0000-4000-8000-000000001103", | ||
"startTime": "2011-03-03T00:00:00Z", | ||
"endTime": "2099-03-03T00:00:00Z", | ||
"style": "SUCCESS", | ||
"targetUser": "INSTRUCTOR", | ||
"title": "INotifs.notification3", | ||
"message": "<p>This notification is shown to instructors only</p>", | ||
"shown": false | ||
}, | ||
"notification4": { | ||
"id": "00000000-0000-4000-8000-000000001104", | ||
"startTime": "2011-04-04T00:00:00Z", | ||
"endTime": "2099-04-04T00:00:00Z", | ||
"style": "WARNING", | ||
"targetUser": "GENERAL", | ||
"title": "INotifs.notification4", | ||
"message": "<p>This notification has been read by the user</p>", | ||
"shown": false | ||
}, | ||
"expiredNotification1": { | ||
"id": "00000000-0000-4000-8000-000000001105", | ||
"startTime": "2011-01-01T00:00:00Z", | ||
"endTime": "2011-02-02T00:00:00Z", | ||
"style": "DANGER", | ||
"targetUser": "GENERAL", | ||
"title": "INotifs.expiredNotification1", | ||
"message": "<p>This notification has expired</p>", | ||
"shown": false | ||
} | ||
}, | ||
"readNotifications": { | ||
"notification4INotifs.instr": { | ||
"id": "00000000-0000-4000-8000-000000002100", | ||
"account": { | ||
"id": "00000000-0000-4000-8000-000000000001" | ||
}, | ||
"notification": { | ||
"id": "00000000-0000-4000-8000-000000001104" | ||
} | ||
} | ||
} | ||
} |