-
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.
Browse files
Browse the repository at this point in the history
* migate admin search e2e * fix e2e test * fix failing tests * fix: add put sql document methods * fix: add migrated check back in * fix: add cleanup method * fix: add search document removal for account request * fix lint and tests * fix: json file formatting * fix: init both searchManagers * fix: add comments * fix: remove notifications field in data file --------- Co-authored-by: Wei Qing <[email protected]>
- Loading branch information
1 parent
21cb04a
commit 203ec24
Showing
15 changed files
with
245 additions
and
87 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
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
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
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 |
---|---|---|
@@ -1,24 +1,4 @@ | ||
{ | ||
"accounts": { | ||
"instructor1OfCourse1": { | ||
"googleId": "tm.e2e.ASearch.instr1", | ||
"name": "Instructor1 of Course1", | ||
"email": "[email protected]", | ||
"readNotifications": {} | ||
}, | ||
"instructor2OfCourse1": { | ||
"googleId": "tm.e2e.ASearch.instr2", | ||
"name": "Instructor2 of Course1", | ||
"email": "[email protected]", | ||
"readNotifications": {} | ||
}, | ||
"student1InCourse1": { | ||
"googleId": "tm.e2e.ASearch.student1", | ||
"name": "Student1 in course1", | ||
"email": "[email protected]", | ||
"readNotifications": {} | ||
} | ||
}, | ||
"courses": { | ||
"typicalCourse1": { | ||
"id": "tm.e2e.ASearch.course1", | ||
|
@@ -133,27 +113,5 @@ | |
"studentDeadlines": {}, | ||
"instructorDeadlines": {} | ||
} | ||
}, | ||
"accountRequests": { | ||
"instructor1OfCourse1": { | ||
"name": "Instructor1 of Course1", | ||
"email": "[email protected]", | ||
"institute": "TEAMMATES Test Institute 1", | ||
"createdAt": "2011-01-01T00:00:00Z", | ||
"registeredAt": "1970-02-14T00:00:00Z" | ||
}, | ||
"instructor2OfCourse1": { | ||
"name": "Instructor2 of Course1", | ||
"email": "[email protected]", | ||
"institute": "TEAMMATES Test Institute 1", | ||
"createdAt": "2011-01-01T00:00:00Z", | ||
"registeredAt": "1970-02-14T00:00:00Z" | ||
}, | ||
"unregisteredInstructor1": { | ||
"name": "Typical Instructor Name", | ||
"email": "[email protected]", | ||
"institute": "TEAMMATES Test Institute 1", | ||
"createdAt": "2011-01-01T00:00:00Z" | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
src/e2e/resources/data/AdminSearchPageE2ETest_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,44 @@ | ||
{ | ||
"accounts": { | ||
"instructor1OfCourse1": { | ||
"id": "00000000-0000-4000-8000-000000000001", | ||
"googleId": "tm.e2e.ASearch.instr1", | ||
"name": "Instructor1 of Course1", | ||
"email": "[email protected]" | ||
}, | ||
"instructor2OfCourse1": { | ||
"id": "00000000-0000-4000-8000-000000000002", | ||
"googleId": "tm.e2e.ASearch.instr2", | ||
"name": "Instructor2 of Course1", | ||
"email": "[email protected]" | ||
}, | ||
"student1InCourse1": { | ||
"id": "00000000-0000-4000-8000-000000000003", | ||
"googleId": "tm.e2e.ASearch.student1", | ||
"name": "Student1 in course1", | ||
"email": "[email protected]" | ||
} | ||
}, | ||
"accountRequests": { | ||
"instructor1OfCourse1": { | ||
"name": "Instructor1 of Course1", | ||
"email": "[email protected]", | ||
"institute": "TEAMMATES Test Institute 1", | ||
"createdAt": "2011-01-01T00:00:00Z", | ||
"registeredAt": "1970-02-14T00:00:00Z" | ||
}, | ||
"instructor2OfCourse1": { | ||
"name": "Instructor2 of Course1", | ||
"email": "[email protected]", | ||
"institute": "TEAMMATES Test Institute 1", | ||
"createdAt": "2011-01-01T00:00:00Z", | ||
"registeredAt": "1970-02-14T00:00:00Z" | ||
}, | ||
"unregisteredInstructor1": { | ||
"name": "Typical Instructor Name", | ||
"email": "[email protected]", | ||
"institute": "TEAMMATES Test Institute 1", | ||
"createdAt": "2011-01-01T00:00:00Z" | ||
} | ||
} | ||
} |
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
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
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
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
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
Oops, something went wrong.