Skip to content

Feature/scoring qa 7#103

Merged
oliverrsebastian merged 15 commits intofeature/SCORING-QA-6from
feature/SCORING-QA-7
Jan 27, 2020
Merged

Feature/scoring qa 7#103
oliverrsebastian merged 15 commits intofeature/SCORING-QA-6from
feature/SCORING-QA-7

Conversation

@oliverrsebastian
Copy link
Copy Markdown
Contributor

…ases

initialize and add get or create student quiz negative and positive cases

Oliver Kindy 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
@oliverrsebastian oliverrsebastian changed the title initialize and add get or create student quiz negative and positive c… Feature/scoring qa 6 Jan 13, 2020
@oliverrsebastian oliverrsebastian changed the title Feature/scoring qa 6 Feature/scoring qa 7 Jan 13, 2020

String COMMENT = "/api/scoring/batches/batchId/assignments/%s/room/%s/comments";

String STUDENT_QUIZ = "/api/scoring/batches/%s/quizzes/%s/student";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recheck with #99, #100, #102

@@ -0,0 +1,29 @@
Feature: Student Quiz
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, does this background require batch with batchCode futur3 to exist prior to running this feature's tests?

This was referenced Jan 15, 2020
@oliverrsebastian oliverrsebastian merged commit bde5f81 into feature/SCORING-QA-6 Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants