itemengine-cypress-automation 1.0.351-feature-thinkSphere-8768c9c.0 → 1.0.351-miscellaneous-questions-r3-b08db04.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 (282) 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/headerSection.js +18 -1
  22. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
  23. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +2 -4
  24. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
  25. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerHeaderSectionAndButtons.js +2 -2
  26. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTab.js +1 -1
  27. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabSupportedFileTypes.js +6 -0
  28. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabTranscript.js +2 -3
  29. package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
  30. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +4 -4
  31. package/cypress/e2e/ILC/CkEditorInsertTable/tableDimension&FooterProperties.js +3 -3
  32. package/cypress/e2e/ILC/CkEditorInsertTable/tableStyle.js +11 -11
  33. package/cypress/e2e/ILC/CkEditorLink/uploadSection.js +1 -1
  34. package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +62 -4
  35. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +119 -10
  36. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabScoring.js +1 -0
  37. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +2 -0
  38. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
  39. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
  40. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/pagination.js +1 -1
  41. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +3 -0
  42. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
  43. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
  44. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  45. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
  46. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +3 -4
  47. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
  48. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
  49. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
  50. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +29 -25
  51. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
  52. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneStyleAndLayoutCustomization.js +6 -3
  53. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +1 -0
  54. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +201 -0
  55. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  56. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +2 -2
  57. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -1
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +18 -20
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +0 -1
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +1 -0
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +5 -1
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
  64. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +21 -30
  65. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +211 -0
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +0 -1
  68. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +2 -2
  69. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +2 -2
  70. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +23 -30
  71. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
  72. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +2 -0
  73. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +2 -0
  74. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +1 -1
  75. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +25 -30
  76. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
  77. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +2 -10
  78. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +2 -0
  79. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +73 -0
  80. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
  81. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
  82. package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
  83. package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
  84. package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
  85. package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
  86. package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
  87. package/cypress/e2e/ILC/Graphing/headerSection.js +36 -4
  88. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
  89. package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
  90. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +5 -6
  91. package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
  92. package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
  93. package/cypress/e2e/ILC/GridFill/headerSection.js +1 -3
  94. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
  95. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  96. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
  97. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
  98. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  99. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
  100. package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
  101. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +2 -4
  102. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
  103. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -1
  104. package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +2 -2
  105. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +24 -0
  106. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +24 -0
  107. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +24 -0
  108. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +86 -0
  109. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
  110. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +1 -1
  111. package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
  112. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +24 -0
  113. package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
  114. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +6 -10
  115. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +2 -1
  116. package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
  117. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
  118. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +35 -9
  119. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
  120. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
  121. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
  122. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
  123. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
  124. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
  125. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
  126. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +35 -1
  127. package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
  128. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +210 -0
  129. package/cypress/e2e/ILC/Matching/checkAlternativeButton.js +38 -0
  130. package/cypress/e2e/ILC/Matching/clickAndDrop.js +3 -5
  131. package/cypress/e2e/ILC/Matching/draggableOptions.js +4 -0
  132. package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
  133. package/cypress/e2e/ILC/Matching/headerSection.js +36 -11
  134. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
  135. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +208 -0
  136. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +227 -0
  137. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +6 -3
  138. package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  139. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +6 -3
  140. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
  141. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  142. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +1 -1
  143. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -64
  144. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +6 -4
  145. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +1 -0
  146. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
  147. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +11 -5
  148. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +5 -2
  149. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
  150. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
  151. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
  152. package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
  153. package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
  154. package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
  155. package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
  156. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
  157. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
  158. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
  159. package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
  160. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
  161. package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
  162. package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
  163. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
  164. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
  165. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
  166. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +35 -51
  167. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
  168. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +192 -0
  169. package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  170. package/cypress/e2e/ILC/SingleSelection/headerSection.js +1 -0
  171. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +94 -88
  172. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +3 -1
  173. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +209 -0
  174. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +5 -0
  175. package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +8 -2
  176. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +86 -0
  177. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +86 -0
  178. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  179. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -1
  180. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  181. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  182. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +10 -3
  183. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
  184. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -3
  185. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  186. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +4 -0
  187. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +64 -0
  188. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +2 -0
  189. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +2 -0
  190. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +64 -0
  191. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  192. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  193. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  194. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  195. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +8 -0
  196. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  197. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  198. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  199. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -0
  200. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +2 -0
  201. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +2 -0
  202. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
  203. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
  204. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
  205. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
  206. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
  207. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -1
  208. package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
  209. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +7 -5
  210. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +0 -1
  211. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
  212. package/cypress/e2e/ILC/ThinkSphere/additionalSettings.js +1 -1
  213. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +58 -4
  214. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +208 -13
  215. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +259 -9
  216. package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
  217. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +291 -0
  218. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +409 -4
  219. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
  220. package/cypress/e2e/ILC/ThinkSphere/previewTabReviewSection.js +97 -0
  221. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +39 -6
  222. package/cypress/e2e/ILC/ThinkSphere/studentViewPlanTabSection.js +393 -0
  223. package/cypress/e2e/ILC/ThinkSphere/studentViewReviewTabSection.js +141 -0
  224. package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +90 -2
  225. package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
  226. package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
  227. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
  228. package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
  229. package/cypress/e2e/Sessions/fetchResponses.js +3 -3
  230. package/cypress/e2e/Sessions/scores.js +8 -10
  231. package/cypress/e2e/applitools.config.js +3 -3
  232. package/cypress/fixtures/theme/ilc.json +5 -1
  233. package/cypress/fixtures/uploads/sample.webm +0 -0
  234. package/cypress/fixtures/uploads/sample.wmv +0 -0
  235. package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
  236. package/cypress/pages/audioPlayerPage.js +47 -22
  237. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  238. package/cypress/pages/chartsBarPage.js +20 -0
  239. package/cypress/pages/components/additionalSettingsPanel.js +3 -2
  240. package/cypress/pages/components/autoScoredScoringPreviewTab.js +7 -1
  241. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
  242. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +16 -28
  243. package/cypress/pages/components/backgroundImageUploadComponent.js +0 -1
  244. package/cypress/pages/components/browseItemsPage.js +109 -2
  245. package/cypress/pages/components/ckEditorEquationEditorComponent.js +5 -4
  246. package/cypress/pages/components/ckEditorInsertImageComponent.js +2 -2
  247. package/cypress/pages/components/ckEditorInsertTableComponent.js +3 -3
  248. package/cypress/pages/components/ckEditorLinkComponent.js +8 -9
  249. package/cypress/pages/components/commonComponents.js +4 -0
  250. package/cypress/pages/components/createQuestionBasePage.js +14 -1
  251. package/cypress/pages/components/defaultToolDropdown.js +1 -1
  252. package/cypress/pages/components/editCategoryFlyout.js +2 -2
  253. package/cypress/pages/components/equationEditorSectionCommonComponent.js +10 -25
  254. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -3
  255. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +29 -35
  256. package/cypress/pages/components/gridQuestionCommonComponent.js +8 -37
  257. package/cypress/pages/components/imageCanvasComponent.js +7 -6
  258. package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
  259. package/cypress/pages/components/questionInstructionsComponent.js +7 -0
  260. package/cypress/pages/components/scoringSectionBaseEditTab.js +5 -0
  261. package/cypress/pages/contentBlocksPage.js +2 -0
  262. package/cypress/pages/desmos3DGraphingPage.js +149 -4
  263. package/cypress/pages/desmosGeometryPage.js +184 -4
  264. package/cypress/pages/drawingResponsePage.js +6 -4
  265. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
  266. package/cypress/pages/gradingViewPage.js +8 -0
  267. package/cypress/pages/graphingPage.js +27 -8
  268. package/cypress/pages/gridFillPage.js +15 -6
  269. package/cypress/pages/listOrderingPage.js +32 -1
  270. package/cypress/pages/matchingPage.js +26 -7
  271. package/cypress/pages/multipleSelectionPage.js +10 -39
  272. package/cypress/pages/numberLineLabelPage.js +31 -8
  273. package/cypress/pages/numberLinePage.js +19 -7
  274. package/cypress/pages/singleSelectionPage.js +0 -37
  275. package/cypress/pages/textEntryMathPage.js +24 -1
  276. package/cypress/pages/thinkSpherePage.js +925 -47
  277. package/cypress/pages/uploadResponsePage.js +2 -1
  278. package/cypress/pages/videoResponsePage.js +3 -0
  279. package/cypress/support/commands.js +0 -2
  280. package/cypress/support/helpers/createItem.js +668 -19
  281. package/cypress/support/helpers/utilities.js +34 -1
  282. package/package.json +2 -2
@@ -434,7 +434,8 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
434
434
  });
435
435
  });
436
436
 
437
- describe('Option placement in dropzone - Preview tab functionality', () => {
437
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5636
438
+ describe.skip('Option placement in dropzone - Preview tab functionality', () => {
438
439
  abortEarlySetup();
439
440
  before(() => {
440
441
  fillInTheGapsOverImageDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps over image with drag and drop');
@@ -29,33 +29,28 @@ describe('Create item page - Fill in the gaps ovr image with dropdown: All or no
29
29
  fillInTheGapsOverImageDropdownPage.steps.switchToPreviewTab();
30
30
  });
31
31
 
32
- it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'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', () => {
32
+ it('When no answer is set in the \'Specify correct answer\' section and the user switches to the \'Grading\' view without attempting the question, dropzone numeration should be displayed, no correct/incorrect status message should be shown, and the correct answers section with the label \'Correct answers\' should display correct answers with respective option numeration', () => {
33
33
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
34
- fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 24);
34
+ fillInTheGapsOverImageDropdownPage.steps.checkManuallyScoredScoringLabel();
35
35
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
36
36
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
37
37
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
38
- fillInTheGapsOverImageDropdownPage.steps.verifyVisibilityOfCorrectAnswerLabel();
39
38
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
40
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
41
39
  });
42
40
 
43
- it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the responses, full points should be allocated and correct answer section should not be displayed', () => {
41
+ it('When no answer is set in the \'Specify correct answer\' section and the user interacts with the question in the preview tab, correct icons should be displayed beside all responses, full points should be allocated, and the correct answer section should not be displayed', () => {
44
42
  fillInTheGapsOverImageDropdownPage.steps.switchToEditTab();
45
43
  fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(0, optionsForDropdown1);
46
- fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(1, optionsForDropdown2);
47
- fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(2, optionsForDropdown3);
44
+ fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(1, optionsForDropdown2);
45
+ fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(2, optionsForDropdown3);
48
46
  fillInTheGapsOverImageDropdownPage.steps.switchToPreviewTab();
49
47
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: correctAnswerArray[0] }]);
50
- fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
51
- fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 24);
52
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
53
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
54
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
55
- fillInTheGapsOverImageDropdownPage.steps.verifyVisibilityOfCorrectAnswerLabel();
56
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
57
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
58
- });
48
+ fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
49
+ fillInTheGapsOverImageDropdownPage.steps.checkManuallyScoredScoringLabel();
50
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
51
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
52
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
53
+ });
59
54
 
60
55
  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', () => {
61
56
  fillInTheGapsOverImageDropdownPage.steps.switchToEditTab();
@@ -145,32 +140,28 @@ describe('Create item page - Fill in the gaps ovr image with dropdown: All or no
145
140
  fillInTheGapsOverImageDropdownPage.steps.switchToPreviewTab();
146
141
  });
147
142
 
148
- it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'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', () => {
143
+ it('When no answer is set in the \'Specify correct answer\' section and the user switches to the \'Grading\' view without attempting the question, dropzone numeration should be displayed, no correct/incorrect status message should not be shown', () => {
149
144
  fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
150
- fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(0, 24);
145
+ fillInTheGapsOverImageDropdownPage.steps.checkManuallyScoredScoringLabel();
151
146
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
152
147
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
153
148
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
154
- fillInTheGapsOverImageDropdownPage.steps.verifyVisibilityOfCorrectAnswerLabel();
155
149
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
156
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
157
150
  });
158
151
 
159
- it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the responses, full points should be allocated and correct answer section should not be displayed', () => {
152
+ it('When no answer is set in the \'Specify correct answer\' section and the user interacts with the question in the preview tab, correct/incorrect icons should not be displayed beside all responses, manually scored label should be displayed', () => {
160
153
  fillInTheGapsOverImageDropdownPage.steps.switchToEditTab();
161
154
  fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(0, optionsForDropdown1);
162
155
  fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(1, optionsForDropdown2);
163
156
  fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(2, optionsForDropdown3);
164
157
  fillInTheGapsOverImageDropdownPage.steps.switchToPreviewTab();
165
158
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: correctAnswerArray[0] }]);
166
- fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
167
- fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore(16, 24);
168
- fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
169
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
170
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(2);
171
- fillInTheGapsOverImageDropdownPage.steps.verifyVisibilityOfCorrectAnswerLabel();
172
- fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
173
- });
159
+ fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
160
+ fillInTheGapsOverImageDropdownPage.steps.checkManuallyScoredScoringLabel();
161
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
162
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
163
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(2);
164
+ });
174
165
 
175
166
  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', () => {
176
167
  fillInTheGapsOverImageDropdownPage.steps.switchToEditTab();
@@ -239,4 +230,4 @@ describe('Create item page - Fill in the gaps ovr image with dropdown: All or no
239
230
  fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();
240
231
  });
241
232
  });
242
- });
233
+ });
@@ -184,6 +184,217 @@ describe('Create item page - Fill in the gaps over image - dropdown: All or noth
184
184
  });
185
185
  });
186
186
 
187
+ views.forEach((view) => {
188
+ describe(`${view}: Manually scored`, { tags: 'smoke' }, () => {
189
+ abortEarlySetup();
190
+ before(() => {
191
+ switch (view) {
192
+ case 'Question preview':
193
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
194
+ cy.barsPreLoaderWait();
195
+ fillInTheGapsOverImageDropdownPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
196
+ fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
197
+ fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
198
+ fillInTheGapsOverImageDropdownPage.steps.insertResponseArea(30);
199
+ fillInTheGapsOverImageDropdownPage.steps.insertResponseArea(40);
200
+ fillInTheGapsOverImageDropdownPage.steps.expandScoringTypeDropdown();
201
+ fillInTheGapsOverImageDropdownPage.steps.selectOptionFromScoringTypeDropdown('Manually scored');
202
+ fillInTheGapsOverImageDropdownPage.steps.allotPoints(20);
203
+ fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(0, optionsForDropdown1);
204
+ fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(1, optionsForDropdown2);
205
+ fillInTheGapsOverImageDropdownPage.steps.switchToPreviewTab();
206
+ break;
207
+ case 'Item preview':
208
+ cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
209
+ itemPreviewPage.steps.switchToPreviewTab();
210
+ break;
211
+ case 'Grading view':
212
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
213
+ break;
214
+ };
215
+ });
216
+
217
+ beforeEach(() => {
218
+ switch (view) {
219
+ case 'Question preview':
220
+ fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
221
+ fillInTheGapsOverImageDropdownPage.steps.resetQuestionPreview();
222
+ break;
223
+ case 'Item preview':
224
+ fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
225
+ itemPreviewPage.steps.resetQuestionPreview();
226
+ break;
227
+ case 'Grading view':
228
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
229
+ fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploadedInPreviewTab();
230
+ break;
231
+ }
232
+ });
233
+
234
+ if (view === 'Question preview') {
235
+ after(() => {
236
+ fillInTheGapsOverImageDropdownPage.steps.clickOnSaveQuestionButton();
237
+ utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
238
+ itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
239
+ });
240
+ };
241
+
242
+ it('Question instructions should be visible', () => {
243
+ utilities.verifyInnerText(fillInTheGapsOverImageDropdownPage.questionInstructionsText(), 'Fill in the gaps');
244
+ utilities.verifyElementVisibilityState(fillInTheGapsOverImageDropdownPage.questionInstructionsText(), 'visible');
245
+ });
246
+
247
+ it('User should be able to attempt the question and icons, Your answer is correct/incorrect label should not be displayed', () => {
248
+ fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: incorrectAnswerArray[0] }, { dropdownIndex: 1, dropdownOption: incorrectAnswerArray[1] }]);
249
+ if (view === 'Grading view') {
250
+ studentViewPage.steps.submitResponse();
251
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
252
+ studentViewPage.steps.clickOnGoToGradingViewButton();
253
+ fillInTheGapsOverImageDropdownPage.steps.verifyPreviewScore('Score​', ' 20 points');
254
+ };
255
+ if (view === 'Question preview' || view === 'Item preview') {
256
+ fillInTheGapsOverImageDropdownPage.steps.checkManuallyScoredScoringLabel();
257
+ };
258
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(0);
259
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectIconNotExist(1);
260
+ fillInTheGapsOverImageDropdownPage.steps.verifyAnswerStatusBannerNotExist();
261
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExist();
262
+ });
263
+ });
264
+ });
265
+
266
+ views.forEach((view) => {
267
+ describe(`${view}: Non scored`, { tags: 'smoke' }, () => {
268
+ abortEarlySetup();
269
+ before(() => {
270
+ switch (view) {
271
+ case 'Question preview':
272
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
273
+ cy.barsPreLoaderWait();
274
+ fillInTheGapsOverImageDropdownPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
275
+ fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
276
+ fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
277
+ fillInTheGapsOverImageDropdownPage.steps.insertResponseArea(30);
278
+ fillInTheGapsOverImageDropdownPage.steps.insertResponseArea(40);
279
+ fillInTheGapsOverImageDropdownPage.steps.expandScoringTypeDropdown();
280
+ fillInTheGapsOverImageDropdownPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
281
+ fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(0, optionsForDropdown1);
282
+ fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(1, optionsForDropdown2);
283
+ fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, correctAnswerArray[0]);
284
+ fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, correctAnswerArray[1]);
285
+ fillInTheGapsOverImageDropdownPage.steps.switchToPreviewTab();
286
+ break;
287
+ case 'Item preview':
288
+ cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID)}`);
289
+ itemPreviewPage.steps.switchToPreviewTab();
290
+ break;
291
+ case 'Grading view':
292
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
293
+ break;
294
+ };
295
+ });
296
+
297
+ beforeEach(() => {
298
+ switch (view) {
299
+ case 'Question preview':
300
+ fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
301
+ fillInTheGapsOverImageDropdownPage.steps.resetQuestionPreview();
302
+ break;
303
+ case 'Item preview':
304
+ fillInTheGapsOverImageDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
305
+ itemPreviewPage.steps.resetQuestionPreview();
306
+ break;
307
+ case 'Grading view':
308
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
309
+ fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploadedInPreviewTab();
310
+ break;
311
+ }
312
+ });
313
+
314
+ if (view === 'Question preview') {
315
+ after(() => {
316
+ fillInTheGapsOverImageDropdownPage.steps.clickOnSaveQuestionButton();
317
+ utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
318
+ itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
319
+ });
320
+ };
321
+
322
+ it('When the user selects \'Grading\' view without attempting the question, dropdown 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', () => {
323
+ if (view === 'Grading view') {
324
+ studentViewPage.steps.submitResponse();
325
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
326
+ studentViewPage.steps.clickOnGoToGradingViewButton();
327
+ };
328
+ if (view === 'Question preview' || view === 'Item preview') {
329
+ fillInTheGapsOverImageDropdownPage.steps.checkNonScoredScoringLabel();
330
+ fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
331
+ fillInTheGapsOverImageDropdownPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
332
+ };
333
+ fillInTheGapsOverImageDropdownPage.steps.verifyDropdownNumerationPreviewTab();
334
+ utilities.verifyInnerText(fillInTheGapsOverImageDropdownPage.correctAnswersLabel(), 'Correct answers');
335
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
336
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
337
+ });
338
+
339
+ it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
340
+ fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: incorrectAnswerArray[0] }, { dropdownIndex: 1, dropdownOption: incorrectAnswerArray[1] }]);
341
+ if (view === 'Grading view') {
342
+ studentViewPage.steps.submitResponse();
343
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
344
+ studentViewPage.steps.clickOnGoToGradingViewButton();
345
+ };
346
+ if (view === 'Question preview' || view === 'Item preview') {
347
+ fillInTheGapsOverImageDropdownPage.steps.checkNonScoredScoringLabel();
348
+ fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
349
+ };
350
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(0);
351
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
352
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
353
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
354
+ });
355
+
356
+ 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 with numeration should be displayed', () => {
357
+ if (view === 'Grading view') {
358
+ studentViewPage.steps.clearResponses();
359
+ };
360
+ fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: correctAnswerArray[0] }, { dropdownIndex: 1, dropdownOption: incorrectAnswerArray[1] }]);
361
+ if (view === 'Grading view') {
362
+ studentViewPage.steps.submitResponse();
363
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
364
+ studentViewPage.steps.clickOnGoToGradingViewButton();
365
+ };
366
+ if (view === 'Question preview' || view === 'Item preview') {
367
+ fillInTheGapsOverImageDropdownPage.steps.checkNonScoredScoringLabel();
368
+ fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
369
+ };
370
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
371
+ fillInTheGapsOverImageDropdownPage.steps.verifyIncorrectOptionIcon(1);
372
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
373
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(correctAnswerArray);
374
+ });
375
+
376
+ it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
377
+ if (view === 'Grading view') {
378
+ studentViewPage.steps.clearResponses();
379
+ };
380
+ fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: correctAnswerArray[0] }, { dropdownIndex: 1, dropdownOption: correctAnswerArray[1] }]);
381
+ if (view === 'Grading view') {
382
+ studentViewPage.steps.submitResponse();
383
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
384
+ studentViewPage.steps.clickOnGoToGradingViewButton();
385
+ };
386
+ if (view === 'Question preview' || view === 'Item preview') {
387
+ fillInTheGapsOverImageDropdownPage.steps.checkNonScoredScoringLabel();
388
+ fillInTheGapsOverImageDropdownPage.steps.switchToGradingView();
389
+ };
390
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(0);
391
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectOptionIcon(1);
392
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
393
+ fillInTheGapsOverImageDropdownPage.steps.verifyCorrectAnswerSectionNotExists();
394
+ });
395
+ });
396
+ });
397
+
187
398
  if (!grepTags || !grepTags.includes('smoke')) {
188
399
  describe('Question preview: Auto scored - All or nothing: Minimum scoring', () => {
189
400
  abortEarlySetup();
@@ -112,7 +112,10 @@ describe('Create item page - Fill in the gaps over image - dropdown: Dropdown an
112
112
  });
113
113
 
114
114
  it('When \'Auto scale\' toggle button is selected, then width of the collapsed dropdown and the dropdown menu should be auto scaled(increased) to accommodate the longest option in the dropdown menu in specify correct answer section', () => {
115
- fillInTheGapsOverImageDropdownPage.steps.compareDropdownMenuAndDropdownWidthForAutoScaled();
115
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5566
116
+ //fillInTheGapsOverImageDropdownPage.steps.compareDropdownMenuAndDropdownWidthForAutoScaled();
117
+ //Need to remove the below line once the above issue is fixed
118
+ fillInTheGapsOverImageDropdownPage.steps.expandDropdownInSpecifyCorrectAnswerSection(0);
116
119
  cy.log('Choosing an option from dropdown to collapse it')
117
120
  fillInTheGapsOverImageDropdownPage.steps.selectOptionFromDropdownList(optionsForDropdown[0]);
118
121
  });
@@ -377,7 +377,6 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
377
377
  cy.barsPreLoaderWait();
378
378
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
379
379
  fillInTheGapsOverImageDropdownPage.steps.verifyFileNameLabel('highlightImage.jpg');
380
- utilities.verifyElementVisibilityState(fillInTheGapsOverImageDropdownPage.uploadImageProgressBar(), 'visible');
381
380
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
382
381
  });
383
382
 
@@ -45,11 +45,11 @@ describe('Create item page - Fill in the gaps over image - dropdown: Header sect
45
45
  });
46
46
 
47
47
  describe('Validation error messages', () => {
48
- dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please upload an image', 'Please insert a dropdown', 'Please set points']);
48
+ dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please upload an image', 'Please set points']);
49
49
 
50
50
  it('Validation error messages should be displayed below required input fields', () => {
51
51
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
52
- fillInTheGapsOverImageDropdownPage.steps.verifyWarningIconOnRequiredFields(['Please upload an image', 'Please insert a dropdown', 'Please set points'])
52
+ fillInTheGapsOverImageDropdownPage.steps.verifyWarningIconOnRequiredFields(['Please upload an image', 'Please set points'])
53
53
  });
54
54
 
55
55
  it('Validation error messages should disappear when required input fields are filled', () => {
@@ -49,11 +49,11 @@ describe('Create item page - Fill in the gaps over image - text: Header section
49
49
  });
50
50
 
51
51
  describe('Validation error messages', () => {
52
- dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please upload an image', 'Please insert a text container', 'Please set points']);
52
+ dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please upload an image', 'Please set points']);
53
53
 
54
54
  it('Validation error messages should be displayed below required input fields', () => {
55
55
  fillInTheGapsOverImageTextPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
56
- fillInTheGapsOverImageTextPage.steps.verifyWarningIconOnRequiredFields(['Please upload an image', 'Please insert a text container', 'Please set points']);
56
+ fillInTheGapsOverImageTextPage.steps.verifyWarningIconOnRequiredFields(['Please upload an image', 'Please set points']);
57
57
  });
58
58
 
59
59
  it('Validation error messages should disappear when required input fields are filled', () => {
@@ -23,28 +23,27 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights f
23
23
  fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
24
24
  });
25
25
 
26
- it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'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', () => {
26
+ it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section should not be displayed', () => {
27
27
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
28
- fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 24);
28
+ fillInTheGapsOverImageTextPage.steps.checkManuallyScoredScoringLabel();
29
29
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
30
30
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
31
31
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
32
32
  fillInTheGapsOverImageTextPage.steps.verifyResponseAreaNumeration();
33
- utilities.verifyInnerText(fillInTheGapsOverImageTextPage.correctAnswersLabel(), 'Correct answers');
33
+ utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.correctAnswersLabel(), 'notExist');
34
34
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
35
- fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
36
35
  });
37
36
 
38
- it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the responses, full points should be allocated and correct answer section should not be displayed', () => {
37
+ it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should not be displayed beside any responses, full points should not be allocated, and correct answer section should not be displayed', () => {
39
38
  fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
40
39
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
41
40
  fillInTheGapsOverImageTextPage.steps.clearAnswerInputFieldPreviewTab(0);
42
41
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
43
- fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(24, 24);
44
- fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
45
- fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
46
- fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
47
- fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
42
+ fillInTheGapsOverImageTextPage.steps.checkManuallyScoredScoringLabel();
43
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
44
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
45
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
46
+ utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.correctAnswersLabel(), 'notExist');
48
47
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();
49
48
  });
50
49
 
@@ -52,13 +51,10 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights f
52
51
  fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
53
52
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }]);
54
53
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
55
- fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 24);
56
- //Failing due to https://redmine.zeuslearning.com/issues/588679
57
- // fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
58
- // fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
59
- // fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
60
- // fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
61
- fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
54
+ fillInTheGapsOverImageTextPage.steps.checkManuallyScoredScoringLabel();
55
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
56
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
57
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
62
58
  });
63
59
 
64
60
  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', () => {
@@ -146,14 +142,13 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights f
146
142
 
147
143
  it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'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', () => {
148
144
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
149
- fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 24);
145
+ fillInTheGapsOverImageTextPage.steps.checkManuallyScoredScoringLabel();
150
146
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
151
147
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
152
148
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
153
149
  fillInTheGapsOverImageTextPage.steps.verifyResponseAreaNumeration();
154
- utilities.verifyInnerText(fillInTheGapsOverImageTextPage.correctAnswersLabel(), 'Correct answers');
150
+ utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.correctAnswersLabel(), 'notExist');
155
151
  fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
156
- fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
157
152
  });
158
153
 
159
154
  it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the responses, full points should be allocated and correct answer section should not be displayed', () => {
@@ -161,10 +156,10 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights f
161
156
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
162
157
  fillInTheGapsOverImageTextPage.steps.clearAnswerInputFieldPreviewTab(0);
163
158
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
164
- fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(24, 24);
165
- fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(0);
166
- fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
167
- fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
159
+ fillInTheGapsOverImageTextPage.steps.checkManuallyScoredScoringLabel();
160
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
161
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
162
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
168
163
  fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();
169
164
  });
170
165
 
@@ -172,12 +167,10 @@ describe('Create item page - Fill in the gaps with text: Partial equal weights f
172
167
  fillInTheGapsOverImageTextPage.steps.resetQuestionPreview();
173
168
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }]);
174
169
  fillInTheGapsOverImageTextPage.steps.switchToGradingView();
175
- fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(16, 24);
176
- //Failing due to https://redmine.zeuslearning.com/issues/588679
177
- // fillInTheGapsOverImageTextPage.steps.verifyIncorrectOptionIcon(0);
178
- // fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(1);
179
- // fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
180
- fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
170
+ fillInTheGapsOverImageTextPage.steps.checkManuallyScoredScoringLabel();
171
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
172
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
173
+ fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
181
174
  });
182
175
 
183
176
  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', () => {