canvas-lms/spec
Jason Gillett a6ed030367 Add specs to validate soft-concluded behaviors
flag=none
refs VICE-2607

These tests validate the following for soft-concluded courses:
1. Students and teacher can reply to one another
2. Teachers can not reply to a conversation in a hard-concluded course

There is a skipped selenium test, this is a known bug
The bug will be addressed in vice-2785

Test Plan
1. Tests Pass

Change-Id: I469cfca16166d9c8a99a49a328cc3f02ae5bac49
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/293764
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Caleb Guanzon <cguanzon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Caleb Guanzon <cguanzon@instructure.com>
2022-06-13 17:02:43 +00:00
..
apis audit pseudonym deletion 2022-06-10 15:52:11 +00:00
coffeescripts ignore return_to param when navigating to NQ Build page 2022-06-09 13:52:46 +00:00
contracts Fix: Publishing a course sets the course start date 2022-05-19 17:35:37 +00:00
controllers Add specs to validate soft-concluded behaviors 2022-06-13 17:02:43 +00:00
factories Add url to resource links 2022-06-13 16:03:03 +00:00
factory_bot RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
fixtures Add converter to utf-8 for imports 2022-06-07 09:54:21 +00:00
formatters replace example count formatter with node count formatter 2022-06-02 18:11:24 +00:00
gem_integration/canvas_connect RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
graphql Update graphql to provide alignment statistics for a course 2022-06-09 19:37:52 +00:00
helpers render list of peer reviews in modules view 2022-06-06 19:42:21 +00:00
initializers Remove rails 6.0 support 2022-05-31 22:13:22 +00:00
integration AGS: use correct submitted_at for file uploads 2022-06-09 21:08:43 +00:00
javascripts show cmc parent dev keys in inherited list 2022-06-10 22:45:58 +00:00
lib Add url to resource links 2022-06-13 16:03:03 +00:00
manual_seeding RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
messages Show score in submission posted messages 2022-04-14 19:57:07 +00:00
migrations Clean up for external tool UI/testing 2022-03-09 02:09:30 +00:00
models Add url to resource links 2022-06-13 16:03:03 +00:00
observers Emit course_progress event only if requirements_met changed 2022-05-05 15:38:13 +00:00
presenters Republish course paces if items become graded 2022-04-19 20:58:11 +00:00
requests Don't allow updates to anonymous_state on discussion topic 2021-12-01 16:57:35 +00:00
schemas/lti RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
selenium Add specs to validate soft-concluded behaviors 2022-06-13 17:02:43 +00:00
serializers Show course paces notice on quizzes 2022-04-18 21:01:48 +00:00
shared_examples fix speedgrader moderated grading concluded/deactivated bug 2022-03-24 17:21:25 +00:00
support Some rails 7 tests passing 2022-06-06 14:23:03 +00:00
views Some little rails 7.0 spec fixes 2022-06-08 16:14:47 +00:00
.eslintrc Update eslint to v7 2021-05-20 18:28:51 +00:00
.rspec_parallel
ams_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
broadcast_integration.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
canvas_simplecov.rb Repair canvas coverage 2022-01-05 17:55:26 +00:00
cassandra_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
conditional_release_spec_helper.rb Move Mastery Path to an account/course setting 2022-04-13 22:26:57 +00:00
coverage_tool.rb Repair canvas coverage 2022-01-05 17:55:26 +00:00
factories.rb Stop leaking siteadmin ids from spec setup 2022-02-25 23:11:11 +00:00
factory_bot_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
feature_flag_helper.rb RuboCop: Performance 2021-11-17 20:03:38 +00:00
file_upload_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
force_failure_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
import_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
jspec.sh
lti2_course_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
lti2_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
lti_1_3_spec_helper.rb rename Canvas::DynamicSettings => DynamicSettings 2022-01-12 21:54:51 +00:00
lti_1_3_tool_configuration_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
lti_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
plagiarism_platform_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
quiz_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
rcov.opts
rspec_mock_extensions.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
sharding_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
simple_cov_result_merger.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
spec.opts remove abort_on_consistent_badness_formatter 2020-10-13 18:10:04 +00:00
spec_helper.rb don’t perform redundant DB operations in Jenkins test runs 2022-06-01 17:42:18 +00:00