itemengine-cypress-automation 1.0.352 → 1.0.353-capture-image-c0b337c.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/Dockerfile +1 -0
  2. package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +4 -16
  3. package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
  4. package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +49 -11
  5. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +4 -3
  6. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +4 -3
  7. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +33 -0
  9. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +2 -2
  10. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  11. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  12. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  13. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  14. package/cypress/e2e/ILC/ChartsBar/editTabBasicSection.js +37 -0
  15. package/cypress/e2e/ILC/ChartsBar/headerSection.js +50 -2
  16. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +1 -0
  17. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  18. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  19. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  20. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  21. package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +2 -0
  22. package/cypress/e2e/ILC/ChartsLine/headerSection.js +18 -1
  23. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
  24. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +2 -4
  25. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
  26. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerHeaderSectionAndButtons.js +2 -2
  27. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTab.js +1 -1
  28. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabSupportedFileTypes.js +6 -0
  29. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabTranscript.js +2 -3
  30. package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
  31. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +4 -4
  32. package/cypress/e2e/ILC/CkEditorInsertTable/tableDimension&FooterProperties.js +3 -3
  33. package/cypress/e2e/ILC/CkEditorInsertTable/tableStyle.js +11 -11
  34. package/cypress/e2e/ILC/CkEditorLink/uploadSection.js +1 -1
  35. package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +62 -4
  36. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +119 -10
  37. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabScoring.js +1 -0
  38. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +2 -0
  39. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
  40. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
  41. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/pagination.js +1 -1
  42. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +3 -0
  43. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
  44. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
  45. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  46. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
  47. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +3 -4
  48. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
  49. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
  50. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
  51. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
  52. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +1 -0
  53. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +2 -0
  54. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editQuestion.smoke.js +40 -0
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +0 -1
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +1 -0
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +5 -1
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +1 -1
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +2 -0
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editQuestion.smoke.js +45 -0
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +0 -1
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +3 -3
  64. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
  65. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +2 -0
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +2 -0
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +3 -1
  68. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +5 -10
  69. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
  70. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +0 -5
  71. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +2 -1
  72. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +73 -0
  73. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
  74. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
  75. package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
  76. package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
  77. package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
  78. package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
  79. package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
  80. package/cypress/e2e/ILC/Graphing/headerSection.js +36 -4
  81. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
  82. package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
  83. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +5 -6
  84. package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
  85. package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
  86. package/cypress/e2e/ILC/GridFill/headerSection.js +1 -3
  87. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
  88. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  89. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
  90. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
  91. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  92. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
  93. package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
  94. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +2 -4
  95. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
  96. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -1
  97. package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +2 -2
  98. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +24 -0
  99. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +24 -0
  100. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +24 -0
  101. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +86 -0
  102. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
  103. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +1 -1
  104. package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
  105. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +24 -0
  106. package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
  107. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +6 -10
  108. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +2 -1
  109. package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
  110. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
  111. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +35 -9
  112. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
  113. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
  114. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
  115. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
  116. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
  117. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
  118. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
  119. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +35 -1
  120. package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
  121. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +210 -0
  122. package/cypress/e2e/ILC/Matching/checkAlternativeButton.js +38 -0
  123. package/cypress/e2e/ILC/Matching/clickAndDrop.js +3 -5
  124. package/cypress/e2e/ILC/Matching/draggableOptions.js +4 -0
  125. package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
  126. package/cypress/e2e/ILC/Matching/headerSection.js +36 -11
  127. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
  128. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +208 -0
  129. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +227 -0
  130. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +6 -3
  131. package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  132. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +6 -3
  133. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
  134. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  135. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +1 -1
  136. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -64
  137. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +6 -4
  138. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +1 -0
  139. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
  140. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +11 -5
  141. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +5 -2
  142. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
  143. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
  144. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
  145. package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
  146. package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
  147. package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
  148. package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
  149. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
  150. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
  151. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
  152. package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
  153. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
  154. package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
  155. package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
  156. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
  157. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
  158. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
  159. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +35 -51
  160. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
  161. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +192 -0
  162. package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  163. package/cypress/e2e/ILC/SingleSelection/headerSection.js +1 -0
  164. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +94 -88
  165. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +3 -1
  166. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +209 -0
  167. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +5 -0
  168. package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +8 -2
  169. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +86 -0
  170. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +86 -0
  171. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  172. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -1
  173. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  174. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  175. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +10 -3
  176. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
  177. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -3
  178. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  179. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +4 -0
  180. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +64 -0
  181. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +2 -0
  182. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +2 -0
  183. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +64 -0
  184. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  185. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  186. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  187. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  188. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +8 -0
  189. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  190. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  191. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  192. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -0
  193. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +2 -0
  194. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +2 -0
  195. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
  196. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
  197. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
  198. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
  199. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
  200. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -1
  201. package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
  202. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +1 -1
  203. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +0 -1
  204. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
  205. package/cypress/e2e/ILC/ThinkSphere/additionalSettings.js +1 -1
  206. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +58 -4
  207. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +208 -13
  208. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +259 -9
  209. package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
  210. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +291 -0
  211. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +409 -4
  212. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
  213. package/cypress/e2e/ILC/ThinkSphere/previewTabReviewSection.js +97 -0
  214. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +39 -6
  215. package/cypress/e2e/ILC/ThinkSphere/studentViewPlanTabSection.js +393 -0
  216. package/cypress/e2e/ILC/ThinkSphere/studentViewReviewTabSection.js +141 -0
  217. package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +90 -2
  218. package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
  219. package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
  220. package/cypress/e2e/ILC/UploadResponse/uploadResponsePreview.js +50 -13
  221. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
  222. package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
  223. package/cypress/e2e/Sessions/fetchResponses.js +3 -3
  224. package/cypress/e2e/Sessions/scores.js +0 -5
  225. package/cypress/e2e/applitools.config.js +3 -3
  226. package/cypress/fixtures/theme/ilc.json +5 -1
  227. package/cypress/fixtures/uploads/sample.webm +0 -0
  228. package/cypress/fixtures/uploads/sample.wmv +0 -0
  229. package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
  230. package/cypress/pages/audioPlayerPage.js +47 -22
  231. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  232. package/cypress/pages/chartsBarPage.js +20 -0
  233. package/cypress/pages/components/additionalSettingsPanel.js +3 -2
  234. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
  235. package/cypress/pages/components/backgroundImageUploadComponent.js +0 -1
  236. package/cypress/pages/components/browseItemsPage.js +109 -2
  237. package/cypress/pages/components/ckEditorEquationEditorComponent.js +5 -4
  238. package/cypress/pages/components/ckEditorInsertImageComponent.js +2 -2
  239. package/cypress/pages/components/ckEditorInsertTableComponent.js +3 -3
  240. package/cypress/pages/components/ckEditorLinkComponent.js +8 -9
  241. package/cypress/pages/components/commonComponents.js +4 -0
  242. package/cypress/pages/components/createQuestionBasePage.js +14 -1
  243. package/cypress/pages/components/defaultToolDropdown.js +1 -1
  244. package/cypress/pages/components/editCategoryFlyout.js +2 -2
  245. package/cypress/pages/components/equationEditorSectionCommonComponent.js +10 -25
  246. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +28 -0
  247. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +7 -7
  248. package/cypress/pages/components/gridQuestionCommonComponent.js +8 -0
  249. package/cypress/pages/components/imageCanvasComponent.js +2 -2
  250. package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
  251. package/cypress/pages/components/questionInstructionsComponent.js +7 -0
  252. package/cypress/pages/components/scoringSectionBaseEditTab.js +5 -0
  253. package/cypress/pages/contentBlocksPage.js +2 -0
  254. package/cypress/pages/desmos3DGraphingPage.js +149 -4
  255. package/cypress/pages/desmosGeometryPage.js +184 -4
  256. package/cypress/pages/drawingResponsePage.js +2 -0
  257. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
  258. package/cypress/pages/gradingViewPage.js +8 -0
  259. package/cypress/pages/graphingPage.js +27 -8
  260. package/cypress/pages/gridFillPage.js +15 -6
  261. package/cypress/pages/listOrderingPage.js +32 -1
  262. package/cypress/pages/matchingPage.js +26 -7
  263. package/cypress/pages/multipleSelectionPage.js +10 -2
  264. package/cypress/pages/numberLineLabelPage.js +31 -8
  265. package/cypress/pages/numberLinePage.js +19 -7
  266. package/cypress/pages/textEntryMathPage.js +24 -1
  267. package/cypress/pages/thinkSpherePage.js +925 -47
  268. package/cypress/pages/uploadResponsePage.js +17 -1
  269. package/cypress/pages/videoResponsePage.js +3 -0
  270. package/cypress/support/commands.js +10 -1
  271. package/cypress/support/helpers/createItem.js +668 -19
  272. package/cypress/support/helpers/utilities.js +34 -1
  273. package/package.json +3 -3
@@ -47,13 +47,10 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights f
47
47
  fillInTheGapsTextPage.steps.resetQuestionPreview();
48
48
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }]);
49
49
  fillInTheGapsTextPage.steps.switchToGradingView();
50
- fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
51
- //Failing due to https://redmine.zeuslearning.com/issues/588679
52
- // fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
53
- // fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
54
- // fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
55
- // fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
56
- fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
50
+ fillInTheGapsTextPage.steps.checkManuallyScoredScoringLabel();
51
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
52
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
53
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
57
54
  });
58
55
 
59
56
  it('When the user sets an answer in the \'Specify correct answer\' section then on switching to \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
@@ -164,12 +161,10 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights f
164
161
  fillInTheGapsTextPage.steps.resetQuestionPreview();
165
162
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }]);
166
163
  fillInTheGapsTextPage.steps.switchToGradingView();
167
- fillInTheGapsTextPage.steps.verifyPreviewScore(16, 24);
168
- //Failing due to https://redmine.zeuslearning.com/issues/588679
164
+ fillInTheGapsTextPage.steps.checkManuallyScoredScoringLabel();
169
165
  // fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
170
166
  // fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
171
167
  // fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
172
- fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
173
168
  });
174
169
 
175
170
  it('When the user sets an answer in the \'Specify correct answer\' section then on switching to \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
@@ -171,6 +171,213 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
171
171
  });
172
172
  });
173
173
 
174
+ views.forEach((view) => {
175
+ describe(`Fill in the gaps with text - Manually scored: ${view}`, { tags: 'smoke' }, () => {
176
+ abortEarlySetup();
177
+ before(() => {
178
+ switch (view) {
179
+ case 'Question preview':
180
+ fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
181
+ cy.barsPreLoaderWait();
182
+ fillInTheGapsTextPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
183
+ fillInTheGapsTextPage.steps.expandScoringTypeDropdown();
184
+ fillInTheGapsTextPage.steps.selectOptionFromScoringTypeDropdown('Manually scored');
185
+ fillInTheGapsTextPage.steps.allotPoints(20);
186
+ fillInTheGapsTextPage.steps.addResponseArea();
187
+ fillInTheGapsTextPage.steps.switchToPreviewTab();
188
+ break;
189
+ case 'Item preview':
190
+ cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
191
+ itemPreviewPage.steps.switchToPreviewTab();
192
+ break;
193
+ case 'Grading view':
194
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
195
+ break;
196
+ };
197
+ });
198
+
199
+ beforeEach(() => {
200
+ switch (view) {
201
+ case 'Question preview':
202
+ fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
203
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
204
+ break;
205
+ case 'Item preview':
206
+ fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
207
+ itemPreviewPage.steps.resetQuestionPreview();
208
+ break;
209
+ case 'Grading view':
210
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
211
+ break;
212
+ }
213
+ });
214
+
215
+ if (view === 'Question preview') {
216
+ after(() => {
217
+ fillInTheGapsTextPage.steps.clickOnSaveQuestionButton();
218
+ utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
219
+ itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
220
+ });
221
+ };
222
+
223
+ it('Question instructions should be visible', () => {
224
+ fillInTheGapsTextPage.steps.verifyQuestionInstructionsTextPreviewTab('Fill in the gaps');
225
+ fillInTheGapsTextPage.steps.verifyVisibityOfQuestionInstructionsText();
226
+ });
227
+
228
+ it('User should be able to attempt the question in student view and correct/incorrect icons, Your answer is correct/incorrect label, and correct answer section should not be displayed in grading view', () => {
229
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }, { responseIndex: 1, responseText: 'Rose' }, { responseIndex: 2, responseText: 'Sunflower' }]);
230
+ if (view === 'Grading view') {
231
+ studentViewPage.steps.submitResponse();
232
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
233
+ studentViewPage.steps.clickOnGoToGradingViewButton();
234
+ gradingViewPage.steps.verifyGradingViewScore('', 20);
235
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
236
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
237
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
238
+ fillInTheGapsTextPage.steps.verifyAnswerStatusBannerNotExist();
239
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExist();
240
+ };
241
+ if (view === 'Question preview' || view === 'Item preview') {
242
+ fillInTheGapsTextPage.steps.checkManuallyScoredScoringLabel();
243
+ };
244
+ });
245
+ })
246
+ });
247
+
248
+ views.forEach((view) => {
249
+ describe(`Fill in the gaps with text - Non scored: ${view}`, { tags: 'smoke' }, () => {
250
+ abortEarlySetup();
251
+ before(() => {
252
+ switch (view) {
253
+ case 'Question preview':
254
+ fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
255
+ cy.barsPreLoaderWait();
256
+ fillInTheGapsTextPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
257
+ fillInTheGapsTextPage.steps.expandScoringTypeDropdown();
258
+ fillInTheGapsTextPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
259
+ fillInTheGapsTextPage.steps.addResponseArea();
260
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
261
+ fillInTheGapsTextPage.steps.switchToPreviewTab();
262
+ break;
263
+ case 'Item preview':
264
+ cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
265
+ itemPreviewPage.steps.switchToPreviewTab();
266
+ break;
267
+ case 'Grading view':
268
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
269
+ break;
270
+ };
271
+ });
272
+
273
+ beforeEach(() => {
274
+ switch (view) {
275
+ case 'Question preview':
276
+ fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
277
+ fillInTheGapsTextPage.steps.resetQuestionPreview();
278
+ break;
279
+ case 'Item preview':
280
+ fillInTheGapsTextPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
281
+ itemPreviewPage.steps.resetQuestionPreview();
282
+ break;
283
+ case 'Grading view':
284
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
285
+ break;
286
+ }
287
+ });
288
+
289
+ if (view === 'Question preview') {
290
+ after(() => {
291
+ fillInTheGapsTextPage.steps.clickOnSaveQuestionButton();
292
+ utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
293
+ itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
294
+ });
295
+ };
296
+
297
+ it('When the user selects \'Grading\' view without attempting the question, non scoring label should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and correct/incorrect icons should not be displayed', () => {
298
+ if (view === 'Grading view') {
299
+ studentViewPage.steps.submitResponse();
300
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
301
+ studentViewPage.steps.clickOnGoToGradingViewButton();
302
+ gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
303
+ };
304
+ if (view === 'Question preview' || view === 'Item preview') {
305
+ fillInTheGapsTextPage.steps.checkNonScoredScoringLabel();
306
+ fillInTheGapsTextPage.steps.switchToGradingView();
307
+ fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
308
+ };
309
+ utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
310
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
311
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
312
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
313
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
314
+ });
315
+
316
+ it('When the user attempts the question incorrectly,and on switching to \'Grading\' view non scoring label should be displayed, incorrect icon should be displayed beside incorrect response, a status message with text \'Your answer is incorrect\' and correct answer section with correct answer should be displayed', () => {
317
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }, { responseIndex: 1, responseText: 'Rose' }, { responseIndex: 2, responseText: 'Sunflower' }]);
318
+ if (view === 'Grading view') {
319
+ studentViewPage.steps.submitResponse();
320
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
321
+ studentViewPage.steps.clickOnGoToGradingViewButton();
322
+ gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
323
+ };
324
+ if (view === 'Question preview' || view === 'Item preview') {
325
+ fillInTheGapsTextPage.steps.checkNonScoredScoringLabel();
326
+ fillInTheGapsTextPage.steps.switchToGradingView();
327
+ };
328
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
329
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
330
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
331
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
332
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
333
+ });
334
+
335
+ it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along should be displayed', () => {
336
+ if (view === 'Grading view') {
337
+ studentViewPage.steps.clearResponses();
338
+ };
339
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Sunflower' }]);
340
+ if (view === 'Grading view') {
341
+ studentViewPage.steps.submitResponse();
342
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
343
+ studentViewPage.steps.clickOnGoToGradingViewButton();
344
+ gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
345
+ };
346
+ if (view === 'Question preview' || view === 'Item preview') {
347
+ fillInTheGapsTextPage.steps.checkNonScoredScoringLabel();
348
+ fillInTheGapsTextPage.steps.switchToGradingView();
349
+ };
350
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
351
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
352
+ fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
353
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
354
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
355
+ });
356
+
357
+ it('When user attempts the question correctly, and on switching to \'Grading\' view non scoring label should be displayed, correct icons should be displayed beside the correct response, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
358
+ if (view === 'Grading view') {
359
+ studentViewPage.steps.clearResponses();
360
+ };
361
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
362
+ if (view === 'Grading view') {
363
+ studentViewPage.steps.submitResponse();
364
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
365
+ studentViewPage.steps.clickOnGoToGradingViewButton();
366
+ gradingViewPage.steps.verifyScoresNotVisibleForNonScoredQuestions();
367
+ };
368
+ if (view === 'Question preview' || view === 'Item preview') {
369
+ fillInTheGapsTextPage.steps.checkNonScoredScoringLabel();
370
+ fillInTheGapsTextPage.steps.switchToGradingView();
371
+ };
372
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
373
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
374
+ fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
375
+ fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
376
+ fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
377
+ });
378
+ });
379
+ });
380
+
174
381
  if (!grepTags || !grepTags.includes('smoke')) {
175
382
  describe('Question preview: Auto scored - All or nothing: Minimum scoring', () => {
176
383
  abortEarlySetup();
@@ -199,11 +199,6 @@ describe('Create item page - Fill in the gaps with text: Question instructions,
199
199
  fillInTheGapsTextPage.answerInputFieldSpecifyCorrectAnswerSection()
200
200
  .verifyTooltip('Lorem ipsum dolor sit amet, onsectetur adipiscing elit. Ut pellentesque tincidunt ornare. Integer porttitor est quis urna porttitor,eget tempus tellus dapibus.Lorem ipsum');
201
201
  });
202
-
203
- it('When the user removes text, then the user should be able to check focus', () => {
204
- fillInTheGapsTextPage.steps.clearAnswerInputField(0);
205
- fillInTheGapsTextPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswer(0);
206
- });
207
202
  });
208
203
 
209
204
  describe('Fill in the gaps text: Answer input field - Preview tab functionality', () => {
@@ -155,6 +155,8 @@ describe('Create item page - Fill in the gaps with text: Scoring section', () =>
155
155
  fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
156
156
  cy.barsPreLoaderWait();
157
157
  fillInTheGapsTextPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
158
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Lorem' }]);
159
+ fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 1, responseText: 'Ipsum' }]);
158
160
  });
159
161
 
160
162
  fillInTheGapsTextPage.tests.verifyContentsOfSpecifyCorrectAnswerSection();
@@ -165,7 +167,6 @@ describe('Create item page - Fill in the gaps with text: Scoring section', () =>
165
167
  fillInTheGapsTextPage.steps.verifyPointsLabelAndInputFieldInResponseAccordion(1, '');
166
168
  });
167
169
 
168
- //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5624
169
170
  it('User should be able to set points in the \'Points\' input fields', () => {
170
171
  fillInTheGapsTextPage.steps.allotPointsInResponseAccordion(0, 1);
171
172
  fillInTheGapsTextPage.steps.allotPointsInResponseAccordion(1, 3);
@@ -347,4 +347,77 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
347
347
  graphingPage.steps.verifyCorrectAnswerSectionNotExist();*/
348
348
  });
349
349
  });
350
+
351
+ describe('Question Preview: AutoScored - All or Nothing with blank scoring: When alternative answer points are more than correct answer points and alternative has no points plotted', () => {
352
+ abortEarlySetup();
353
+ before(() => {
354
+ graphingPage.steps.navigateToCreateQuestion('Graphing');
355
+ cy.barsPreLoaderWait();
356
+ graphingPage.steps.addTextInQuestionInstructionsInputField('Test question');
357
+ graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
358
+ graphingPage.steps.allotPoints(12);
359
+ graphingPage.steps.addAlternativeAnswerAccordion(1);
360
+ graphingPage.steps.allotPoints(20);
361
+ graphingPage.steps.switchToPreviewTab();
362
+ });
363
+
364
+ it('When user attempts the question with responses from the correct accordion, then the user should be awarded points specified for correct points accordion (less than full points) and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
365
+ graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
366
+ graphingPage.steps.verifyPreviewScore(12, 20);
367
+ graphingPage.steps.switchToGradingView();
368
+ graphingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
369
+ graphingPage.steps.verifyCorrectAnswerSectionNotExist();
370
+ graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
371
+ });
372
+
373
+ it('When user resets the option then full score should be awarded as alternative accordion has blank response', () => {
374
+ graphingPage.steps.resetQuestionPreview();
375
+ graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
376
+ graphingPage.steps.selectGraphControlOptionPreviewTab('Undo');
377
+ graphingPage.steps.selectGraphControlOptionPreviewTab('Undo');
378
+ graphingPage.steps.verifyPreviewScore(20, 20);
379
+ graphingPage.steps.switchToGradingView();
380
+ graphingPage.steps.verifyCorrectAnswerSectionNotExist();
381
+ graphingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
382
+ graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
383
+ });
384
+ });
385
+
386
+ describe('Question Preview: AutoScored - All or Nothing with blank scoring: When alternative answer points are more than correct answer points and correct answer has no points plotted', () => {
387
+ abortEarlySetup();
388
+ before(() => {
389
+ graphingPage.steps.navigateToCreateQuestion('Graphing');
390
+ cy.barsPreLoaderWait();
391
+ graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
392
+ graphingPage.steps.allotPoints(12);
393
+ graphingPage.steps.addAlternativeAnswerAccordion(1);
394
+ graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 3, xRange: 20, y: -5, yRange: 20 }]);
395
+ graphingPage.steps.allotPoints(20);
396
+ graphingPage.steps.expandCorrectAnswerAccordion();
397
+ graphingPage.steps.selectGraphControlOptionSpecifyCorrectAnswerSection('Undo');
398
+ graphingPage.steps.selectGraphControlOptionSpecifyCorrectAnswerSection('Undo');
399
+ graphingPage.steps.switchToPreviewTab();
400
+ });
401
+
402
+ it('When user attempts the question with responses from the correct accordion i.e select and resets an option, then the user should be awarded points specified for correct points accordion (less than full points) and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
403
+ graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
404
+ graphingPage.steps.selectGraphControlOptionPreviewTab('Undo');
405
+ graphingPage.steps.selectGraphControlOptionPreviewTab('Undo');
406
+ graphingPage.steps.verifyPreviewScore(12, 20);
407
+ graphingPage.steps.switchToGradingView();
408
+ graphingPage.steps.verifyCorrectAnswerSectionNotExist();
409
+ graphingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
410
+ graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
411
+ });
412
+
413
+ it('When user attempts the question with responses from the alternative accordion then full score should be awarded', () => {
414
+ graphingPage.steps.resetQuestionPreview();
415
+ graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 3, xRange: 20, y: -5, yRange: 20 }]);
416
+ graphingPage.steps.verifyPreviewScore(20, 20);
417
+ graphingPage.steps.switchToGradingView();
418
+ graphingPage.steps.verifyCorrectAnswerSectionNotExist();
419
+ graphingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
420
+ graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
421
+ });
422
+ });
350
423
  });
@@ -352,4 +352,42 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
352
352
  graphingPage.steps.verifyCorrectAnswerSectionNotExist();*/
353
353
  });
354
354
  });
355
+
356
+ describe('Question Preview: AutoScored - All or Nothing with blank scoring: When alternative answer points are equal than correct answer points', () => {
357
+ abortEarlySetup();
358
+ before(() => {
359
+ graphingPage.steps.navigateToCreateQuestion('Graphing');
360
+ cy.barsPreLoaderWait();
361
+ graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
362
+ graphingPage.steps.allotPoints(12);
363
+ graphingPage.steps.addAlternativeAnswerAccordion(1);
364
+ graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 3, xRange: 20, y: -5, yRange: 20 }]);
365
+ graphingPage.steps.allotPoints(12);
366
+ graphingPage.steps.expandCorrectAnswerAccordion();
367
+ graphingPage.steps.selectGraphControlOptionSpecifyCorrectAnswerSection('Undo');
368
+ graphingPage.steps.selectGraphControlOptionSpecifyCorrectAnswerSection('Undo');
369
+ graphingPage.steps.switchToPreviewTab();
370
+ });
371
+
372
+ it('When user attempts the question with responses from the correct accordion i.e select and resets an option, then the user should be awarded points specified for correct points accordion (less than full points) and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
373
+ graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
374
+ graphingPage.steps.selectGraphControlOptionPreviewTab('Undo');
375
+ graphingPage.steps.selectGraphControlOptionPreviewTab('Undo');
376
+ graphingPage.steps.verifyPreviewScore(12, 12);
377
+ graphingPage.steps.switchToGradingView();
378
+ graphingPage.steps.verifyCorrectAnswerSectionNotExist();
379
+ graphingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
380
+ graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
381
+ });
382
+
383
+ it('When user attempts the question with responses from the alternative accordion then full score should be awarded', () => {
384
+ graphingPage.steps.resetQuestionPreview();
385
+ graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 3, xRange: 20, y: -5, yRange: 20 }]);
386
+ graphingPage.steps.verifyPreviewScore(12, 12);
387
+ graphingPage.steps.switchToGradingView();
388
+ graphingPage.steps.verifyCorrectAnswerSectionNotExist();
389
+ graphingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
390
+ graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
391
+ });
392
+ });
355
393
  });
@@ -398,4 +398,42 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
398
398
  cy.checkAccessibility(graphingPage.previewTabQuestionWrapper());
399
399
  });
400
400
  });
401
+
402
+ describe('Question Preview: AutoScored - All or Nothing with blank scoring: When correct answer points are greater than alternative answer points', () => {
403
+ abortEarlySetup();
404
+ before(() => {
405
+ graphingPage.steps.navigateToCreateQuestion('Graphing');
406
+ cy.barsPreLoaderWait();
407
+ graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
408
+ graphingPage.steps.allotPoints(21);
409
+ graphingPage.steps.addAlternativeAnswerAccordion(1);
410
+ graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 3, xRange: 20, y: -5, yRange: 20 }]);
411
+ graphingPage.steps.allotPoints(12);
412
+ graphingPage.steps.expandCorrectAnswerAccordion();
413
+ graphingPage.steps.selectGraphControlOptionSpecifyCorrectAnswerSection('Undo');
414
+ graphingPage.steps.selectGraphControlOptionSpecifyCorrectAnswerSection('Undo');
415
+ graphingPage.steps.switchToPreviewTab();
416
+ });
417
+
418
+ it('When user attempts the question with responses from the correct accordion i.e select and resets an option, then the user should be awarded points specified for correct points accordion (less than full points) and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
419
+ graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
420
+ graphingPage.steps.selectGraphControlOptionPreviewTab('Undo');
421
+ graphingPage.steps.selectGraphControlOptionPreviewTab('Undo');
422
+ graphingPage.steps.verifyPreviewScore(21, 21);
423
+ graphingPage.steps.switchToGradingView();
424
+ graphingPage.steps.verifyCorrectAnswerSectionNotExist();
425
+ graphingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
426
+ graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
427
+ });
428
+
429
+ it('When user attempts the question with responses from the alternative accordion then full score should be awarded', () => {
430
+ graphingPage.steps.resetQuestionPreview();
431
+ graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 3, xRange: 20, y: -5, yRange: 20 }]);
432
+ graphingPage.steps.verifyPreviewScore(12, 21);
433
+ graphingPage.steps.switchToGradingView();
434
+ graphingPage.steps.verifyCorrectAnswerSectionNotExist();
435
+ graphingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
436
+ graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
437
+ });
438
+ });
401
439
  });
@@ -0,0 +1,87 @@
1
+ import { graphingPage } from "../../../../pages";
2
+ import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
+
4
+ const correctAnswerPoints = [
5
+ { x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }
6
+ ];
7
+
8
+ const incorrectAnswerPoints = [
9
+ { x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 4, xRange: 20, y: 4, yRange: 20 }
10
+ ];
11
+
12
+ describe('Create Item page - Graphing', () => {
13
+ before(() => {
14
+ cy.loginAs('admin');
15
+ });
16
+
17
+ describe('Question Preview: Auto Scored With Points', () => {
18
+ abortEarlySetup();
19
+ before(() => {
20
+ graphingPage.steps.navigateToCreateQuestion('Graphing');
21
+ cy.barsPreLoaderWait();
22
+ graphingPage.steps.switchToPreviewTab();
23
+ });
24
+
25
+ it('In Preview tab, when an answer is not set then manually scored scoring label should be displayed', () => {
26
+ graphingPage.steps.checkManuallyScoredScoringLabel();
27
+ });
28
+
29
+ it('In Preview tab, when user switches to grading view then no banner and correct answer should be displayed', () => {
30
+ graphingPage.steps.plotPointsOnGraphPreviewTab(correctAnswerPoints);
31
+ graphingPage.steps.switchToGradingView();
32
+ graphingPage.steps.verifyAnswerStatusBannerNotExist();
33
+ graphingPage.steps.verifyCorrectAnswerSectionNotExist();
34
+ });
35
+
36
+ it('When user allocates points to the question then the scoring label should be displayed as manually scored and banner and correct answer status should not exist', () => {
37
+ graphingPage.steps.switchToEditTab();
38
+ graphingPage.steps.allotPoints(10);
39
+ graphingPage.steps.switchToPreviewTab();
40
+ graphingPage.steps.checkManuallyScoredScoringLabel();
41
+ graphingPage.steps.plotPointsOnGraphPreviewTab(correctAnswerPoints);
42
+ graphingPage.steps.switchToGradingView();
43
+ graphingPage.steps.verifyAnswerStatusBannerNotExist();
44
+ graphingPage.steps.verifyCorrectAnswerSectionNotExist();
45
+ });
46
+ });
47
+
48
+ describe('Question Preview: Auto Scored Without Points', () => {
49
+ abortEarlySetup();
50
+ before(() => {
51
+ graphingPage.steps.navigateToCreateQuestion('Graphing');
52
+ cy.barsPreLoaderWait();
53
+ graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection(correctAnswerPoints);
54
+ graphingPage.steps.switchToPreviewTab();
55
+ });
56
+
57
+ it('In Preview tab, when points are not set then manually scored scoring label should be displayed', () => {
58
+ graphingPage.steps.checkManuallyScoredScoringLabel();
59
+ });
60
+
61
+ it('In Preview tab, when user switches to grading view then banner and correct answer should be displayed', () => {
62
+ graphingPage.steps.plotPointsOnGraphPreviewTab(incorrectAnswerPoints);
63
+ graphingPage.steps.switchToGradingView();
64
+ graphingPage.steps.verifyAnswerStatusBannerExist();
65
+ graphingPage.steps.verifyCorrectAnswerSectionExist();
66
+ });
67
+ });
68
+
69
+ describe('Question Preview: Non Scored', () => {
70
+ abortEarlySetup();
71
+ before(() => {
72
+ graphingPage.steps.navigateToCreateQuestion('Graphing');
73
+ cy.barsPreLoaderWait();
74
+ graphingPage.steps.addTextInQuestionInstructionsInputField('Graphing question');
75
+ });
76
+
77
+ it('When the user selects \'Grading\' view without setting the answer, correct answers section and answer status banner should not be displayed', () => {
78
+ graphingPage.steps.expandScoringTypeDropdown();
79
+ graphingPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
80
+ graphingPage.steps.switchToPreviewTab();
81
+ graphingPage.steps.plotPointsOnGraphPreviewTab(correctAnswerPoints);
82
+ graphingPage.steps.switchToGradingView();
83
+ graphingPage.steps.verifyAnswerStatusBannerNotExist();
84
+ graphingPage.steps.verifyCorrectAnswerSectionNotExist();
85
+ });
86
+ });
87
+ });
@@ -0,0 +1,35 @@
1
+ import { graphingPage } from "../../../pages";
2
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+
4
+ const correctAnswerPoints = [
5
+ { x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }
6
+ ];
7
+
8
+ describe('Create question page - Graphing', () => {
9
+ before(() => {
10
+ cy.loginAs('admin');
11
+ });
12
+
13
+ describe('Check Alternative Answer Button', () => {
14
+ abortEarlySetup();
15
+ before(() => {
16
+ graphingPage.steps.navigateToCreateQuestion('Graphing');
17
+ cy.barsPreLoaderWait();
18
+ });
19
+
20
+ it('When correct answer is not set then alternative answer should be disabled', () => {
21
+ graphingPage.steps.checkAlternativeButtonDisabled();
22
+ });
23
+
24
+ it('When correct answer is set then alternative answer should be enabled', () => {
25
+ graphingPage.steps.allotPoints(10);
26
+ graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection(correctAnswerPoints);
27
+ graphingPage.steps.checkAlternativeButtonEnabled();
28
+ });
29
+
30
+ it('User should be able to add \'Alternative\' answer using the \'Add alternative\' button, when user has not set any answer in the \'Alternative\' accordion and clicks on the \'Correct\' accordion then \'Correct\' accordion should be expanded', () => {
31
+ graphingPage.steps.clickOnAddAlternativeAnswerButton();
32
+ graphingPage.steps.expandCorrectAnswerAccordion();
33
+ });
34
+ });
35
+ });
@@ -0,0 +1,28 @@
1
+ import { graphingPage } from "../../../pages";
2
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+
4
+
5
+ describe('Edit item - Graphing', () => {
6
+ before(() => {
7
+ cy.loginAs('admin');
8
+ });
9
+
10
+ describe('Edit Graphing question', { tags: 'smoke' }, () => {
11
+ abortEarlySetup();
12
+ before(() => {
13
+ graphingPage.steps.navigateToCreateQuestion('Graphing');
14
+ cy.barsPreLoaderWait();
15
+ graphingPage.steps.expandScoringTypeDropdown();
16
+ graphingPage.steps.selectOptionFromScoringTypeDropdown('Manually scored');
17
+ graphingPage.steps.allotPoints(2);
18
+ graphingPage.steps.saveAQuestionAndVerifySnackbar();
19
+ });
20
+
21
+ it('User should be able to change scoring type to non scored and scoring dropdown should exisit.', () => {
22
+ graphingPage.steps.editItem();
23
+ graphingPage.steps.expandScoringTypeDropdown();
24
+ graphingPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
25
+ graphingPage.tests.verifyScoringTypeLabelAndDropdown('Auto scored');
26
+ });
27
+ });
28
+ });
@@ -0,0 +1,38 @@
1
+ import { graphingPage } from "../../../pages";
2
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+
4
+ describe('Create item page - Graphing', () => {
5
+ before(() => {
6
+ cy.loginAs('admin');
7
+ });
8
+
9
+ describe('User should be able to edit incomplete authored question', () => {
10
+ abortEarlySetup();
11
+ before(() => {
12
+ graphingPage.steps.navigateToCreateQuestion('Graphing');
13
+ cy.barsPreLoaderWait();
14
+ graphingPage.steps.saveAQuestionWithIncompleteAuthoring();
15
+ graphingPage.steps.editItem();
16
+ });
17
+
18
+ it('Warning icons should be displayed on the required input fields', () => {
19
+ graphingPage.steps.verifyWarningIconOnRequiredFields([
20
+ 'Please set points',
21
+ ]);
22
+ });
23
+
24
+ it('When required input fields are filled then warning icons should disappear', () => {
25
+ graphingPage.steps.allotPoints(10);
26
+ graphingPage.steps.verifyErrorMessageIsNotDisplayed();
27
+ graphingPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
28
+ });
29
+
30
+ it('Clicking on Save Question button the question should get saved and a snackbar with text \'Saved successfully!\' should be displayed', () => {
31
+ graphingPage.steps.saveAQuestionAndVerifySnackbar();
32
+ });
33
+
34
+ it('Warning icon should not be visible', () => {
35
+ graphingPage.steps.verifyWarningIconNotExist();
36
+ });
37
+ });
38
+ });