1d1994eff1
Test plan: 1. Ensure that the new migration has run. 1. Because of 2 existing migrations with future dates, you may need to rollback 3 steps before you can run the new migration. 2. Run `rake db:rollback STEP=3` followed by `rake db:migrate` in the web container. 2. Create a new Quiz in the Canvas UI. 3. In the Rails console, verify that the `disable_timer_autosubmission` value for this quiz is equal to false: `Assignment.last.quiz.disable_timer_autosubmission` 4. Update the value to true: `Assignment.last.quiz.update_attribute(:disable_timer_autosubmission, true)` 5. Verify that the value is now equal to `true` using the command in step 3. 6. A new Quiz attribute `timer_autosubmit_disabled?` is exposed that factors in the feature flag as well. Verify that this value returns as expected with different combinations of the feature flag and `disable_timer_autosubmission`. 1. Read this flag in the Rails console with: `Assignment.last.quiz.timer_autosubmit_disabled?` Refs PFS-15510 Refs PFS-15511 flag=timer_without_autosubmission Change-Id: I4749bdd46dd06a425141636c41e0f30c0dfc88a9 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/233860 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: James Williams <jamesw@instructure.com> Reviewed-by: Stephen Kacsmark <skacsmark@instructure.com> Product-Review: Chad McGuire <cmcguire@instructure.com> QA-Review: Petra Ashment <pashment@instructure.com> |
||
---|---|---|
.. | ||
canvas | ||
live_assessments | ||
live_events | ||
lti | ||
polling | ||
quizzes | ||
quizzes_next | ||
attachment_serializer.rb | ||
developer_key_account_binding_serializer.rb | ||
grading_period_serializer.rb | ||
grading_period_set_serializer.rb | ||
late_policy_serializer.rb | ||
locked_serializer.rb | ||
permissions_serializer.rb | ||
progress_serializer.rb |