canvas-lms/spec/apis
Laura Gonzalez-Horwitz 4d02aa3df0 Quiz engine choice is persisted
Closes QUIZ-7286
Flag=newquizzes_on_quiz_page

Test plan:
In Canvas with newquizzes_on_quiz_page flag enabled:
Initial selection tests:
1. As a teacher/admin, navigate to the Quizzes view
2. Click [+Quiz]. The quiz engine selection modal should appear.
3. Sielect either engine without checking the
   'Remember my choice' checkbox.You should be redirected to
   the corresponding quiz build page.
4. Return to Quizzes view, click [+Quiz] again and select either engine.
   Check the 'Remember my choice' checkbox. Click 'Submit'. You
   should be redirected to the selected engine.
5. Return to Quizzes view, click [+Quiz] again. This time, no modal
   should open. Instead, you should automatically be redirected to your
   previously selected quiz engine.

Reset selection tests:
1. As a teacher/admin, navigate to the Quizzes view
2. Click the kabob menu [...] next to the [+Quiz] button
3. Click 'Reset quiz engine choice'. A success/failure message
   should appear at the top of the Quizzes view.
4. Click the [+Quiz] button. The selection modal should appear.

In Canvas with newquizzes_on_quiz_page flag disabled:
1. There should be no option to select/reset a quiz engine anywhere

Change-Id: I4370d1463745839b949d0d153ab3bed84884d2de
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/224587
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Stephen Kacsmark <skacsmark@instructure.com>
QA-Review: Alex Slaughter <aslaughter@instructure.com>
Product-Review: Kevin Dougherty <jdougherty@instructure.com>
2020-03-13 14:06:20 +00:00
..
html Don’t load sanitize-html in the browser 2019-04-12 20:30:55 +00:00
lti rails 6: s/update_attributes/update/g 2020-01-09 20:56:35 +00:00
swagger api docs: add deprecation functionality + documentation 2018-08-16 18:27:55 +00:00
v1 Quiz engine choice is persisted 2020-03-13 14:06:20 +00:00
api_spec_helper.rb Remove DeveloperKey Management and Scoping FF 2018-10-26 15:16:36 +00:00
auth_spec.rb add section restriction to enrollments in courses API 2019-11-15 15:40:01 +00:00
error_handling_spec.rb Remove DeveloperKey Management and Scoping FF 2018-10-26 15:16:36 +00:00
file_uploads_spec_helper.rb bump aws-sdk-* gems 2020-02-21 15:41:05 +00:00
general_api_spec.rb Remove DeveloperKey Management and Scoping FF 2018-10-26 15:16:36 +00:00
locked_spec.rb fix Lint/StringConversionInInterpolation issue 2015-04-27 20:53:25 +00:00
user_content_spec.rb fix api endpoint url translation for untitleized page links 2017-10-31 20:00:04 +00:00