Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update alignment id to include module id
closes OUT-5219 flag=outcome_alignment_summary Test plan: - Enable Improved Outcomes Management FF - Enable Outcome Alignment Summary FF - Go to Course > Outcomes - Create an outcome and a rubric and align them - Create an assignment and align with the rubric - Create two modules - one of them published the other one unpublished and add the assignment to both modules - Open in browser canvas.docker/graphiql - Execute query below replacing outcome id and context id query MyQuery { learningOutcome(id: "1") { alignments(contextId: "1", contextType: "Course") { _id title moduleName moduleUrl moduleWorkflowState } } } - Verify that the outcome alignments include two records for the same assignment but with different values for _id, moduleName, moduleUrl and moduleWorkflowState - Verify that the _id value for the assignments consists of two numbers concatenated with underscore - Verify taht the _id for the rubric does not contain underscore - Go to Course > Outcomes and open Devtools -> console - Reload the Alignments tab and expand the aligned outcome - Verify that the assignment appears two times in the list of alignments with but with different module names - Verify that there are no errors in the console Change-Id: Ie8617f0499fe59590f3c1547c792f77b87ba05bb Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/298429 Tested-by: Service Cloud Jenkins <[email protected]> Reviewed-by: Angela Gomba <[email protected]> Reviewed-by: Dave Wenzlick <[email protected]> QA-Review: Angela Gomba <[email protected]> Product-Review: Kyle Rosenbaum <[email protected]>
- Loading branch information