Feature/scoring qa 7#103
Merged
oliverrsebastian merged 15 commits intofeature/SCORING-QA-6from Jan 27, 2020
Merged
Conversation
added 10 commits
September 30, 2019 10:26
…ases initialize and add get or create student quiz negative and positive cases
…itive cases initialize student question and make find unanswered negative and positive cases
make post answers negative and positive cases
initialize report and make create report negative and positive cases
make get report by id negative and positive cases
make get all report negative and positive cases
add assertion
make update report negative and positive cases
make delete report negative and positive cases, fix update feature bug
jonathan016
requested changes
Jan 15, 2020
|
|
||
| String COMMENT = "/api/scoring/batches/batchId/assignments/%s/room/%s/comments"; | ||
|
|
||
| String STUDENT_QUIZ = "/api/scoring/batches/%s/quizzes/%s/student"; |
Collaborator
| @@ -0,0 +1,29 @@ | |||
| Feature: Student Quiz | |||
Collaborator
There was a problem hiding this comment.
Add @StudentQuiz @Regression tag
| And user prepare quiz request with batchCode "futur3" | ||
| And user hit get all quiz endpoint | ||
| And user get first quiz and store id | ||
| And user prepare student quiz request with stored quiz id and batchCode "futur3" |
Collaborator
There was a problem hiding this comment.
I found it best to always call And user hit logout endpoint in each Background, since previous tests may alter the state of authData singleton
| And user prepare quiz request with batchCode "futur3" | ||
| And user hit get all quiz endpoint | ||
| And user get first quiz and store id | ||
| And user prepare student quiz request with stored quiz id and batchCode "futur3" |
Collaborator
There was a problem hiding this comment.
Also, does this background require batch with batchCode futur3 to exist prior to running this feature's tests?
added 3 commits
January 16, 2020 18:02
jonathan016
approved these changes
Jan 26, 2020
Feature/scoring qa 9
Feature/scoring qa 8
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ases
initialize and add get or create student quiz negative and positive cases