canvas-lms/spec
Martin Yosifov 7f11bf61a0 Remove assignments w/ sub assignments from undated items
closes VICE-4492
flag=discussion_checkpoints

Test plan:
- Go to SiteAdmin -> Feature Options and enable
the Discussion Checkpoints feature flag
- Create a course and enroll yourself as teacher
or student; take a note of the course id
- Create a graded discussion with checkpoints
and add due dates
- Create a graded discussion with checkpoints
but do not add due dates
- Get undated assignments from the Calendar API
http://<canvas url>/api/v1/calendar_events?
type=assignment&context_codes[]=course_<course id>&undated=1
- Verify that response is an empty array
- Repeat the API call for type=sub_assignment
- Verify that the two undated checkpoints are returned

Change-Id: I1630561f5817fb39acd8f7534b873b6d6825c56a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/354994
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Chawn Neal <chawn.neal@instructure.com>
QA-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
Product-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
2024-08-14 17:02:23 +00:00
..
apis Remove assignments w/ sub assignments from undated items 2024-08-14 17:02:23 +00:00
contracts Remove Canvas Outcome Pact Tests 2023-11-29 18:00:03 +00:00
controllers Allow Editing Dyn Reg App on Apps Page 2024-08-14 15:52:27 +00:00
factories spec: add selenium testing for temporary enrollments 2024-07-23 19:34:26 +00:00
factory_bot rubocop: FactoryBot 2024-03-01 22:27:49 +00:00
fixtures QTI export/import not linking to files 2024-08-01 19:37:59 +00:00
formatters
gem_integration/canvas_connect
graphql Add supports_grade_by_question to assignment type 2024-08-07 17:24:45 +00:00
helpers fix: hide SMS tab when MFA is disabled 2024-07-25 19:25:02 +00:00
initializers spec: fix timebomb with partitions 2024-03-22 16:42:36 +00:00
integration remove obsolete test for a removed Setting 2024-08-02 20:24:35 +00:00
lib Datafix: Alter style rewrite params slightly 2024-08-12 22:18:49 +00:00
manual_seeding unify SpeedGrader text 2024-05-29 18:41:43 +00:00
messages spec: Add test for checkpoints created notification. 2024-05-01 18:14:34 +00:00
migrations rubocop: Rails/FindBy 2024-06-11 19:46:18 +00:00
models Fix side_comment discussion type 2024-08-14 11:43:14 +00:00
observers Push content_export_created live event from Canvas 2024-02-16 18:03:54 +00:00
openapi/lti spec: OpenAPI docs for dynamic registration endpoints 2024-07-18 15:34:58 +00:00
presenters how dash when submission is not graded 2024-07-05 18:58:02 +00:00
requests bundle update rubocop 2023-10-27 17:05:57 +00:00
schemas/lti
selenium Fix incorrect date for graded discussions with todo dates 2024-08-14 15:54:07 +00:00
serializers Use a Group's Course for LTI var expansions 2024-07-31 23:28:41 +00:00
services Set title for ADHOC Checkpoints overrides 2024-08-13 15:04:17 +00:00
shared_examples fix update submission internal server error 2024-07-01 15:28:52 +00:00
support spec: Don't add non-200 status requests to openapi spec 2024-07-23 01:37:07 +00:00
views On terms page link to filtered courses list 2024-07-30 16:07:22 +00:00
.eslintrc
.rspec_parallel
ams_spec_helper.rb
broadcast_integration.rb
canvas_simplecov.rb
cassandra_spec_helper.rb
conditional_release_spec_helper.rb rubocop: FactoryBot 2024-03-01 22:27:49 +00:00
coverage_tool.rb
factories.rb bundle update rubocop-performance, rubocop-rails 2023-12-18 20:28:02 +00:00
factory_bot_spec_helper.rb
feature_flag_helper.rb
file_upload_helper.rb
force_failure_spec.rb
import_helper.rb remove unused Course#import_source attr_accessor 2024-02-02 18:06:19 +00:00
jspec.sh
lti2_course_spec_helper.rb
lti2_spec_helper.rb
lti_1_3_spec_helper.rb sync DeveloperKey and Lti::Registration on save 2024-05-28 22:05:02 +00:00
lti_1_3_tool_configuration_spec_helper.rb Lock down submission_type_selection placement 2024-03-07 13:58:16 +00:00
lti_spec_helper.rb
outcome_alignments_spec_helper.rb
plagiarism_platform_spec_helper.rb
quiz_spec_helper.rb
rcov.opts
rspec_mock_extensions.rb
sharding_spec_helper.rb
simple_cov_result_merger.rb
spec.opts
spec_helper.rb fix recursion loop 2024-08-08 21:03:18 +00:00