itemengine-cypress-automation 1.0.346-TEMRegressionAndE2EFixes-d4a7cfa.0 → 1.0.346

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/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +4 -16
  2. package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
  3. package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +398 -0
  4. package/cypress/e2e/ILC/BrowseItems/browseReviewItemsMobileView.js +329 -0
  5. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +260 -0
  6. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +368 -0
  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/audioPlayerPreviewTabTranscript.js +2 -3
  28. package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
  29. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +4 -4
  30. package/cypress/e2e/ILC/CkEditorInsertTable/tableStyle.js +2 -2
  31. package/cypress/e2e/ILC/CkEditorLink/uploadSection.js +1 -1
  32. package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +62 -4
  33. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +3 -3
  34. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +2 -0
  35. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
  36. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
  37. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +3 -0
  38. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
  39. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
  40. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  41. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
  42. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +3 -4
  43. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
  44. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
  45. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
  46. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +29 -25
  47. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
  48. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneStyleAndLayoutCustomization.js +6 -3
  49. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/editQuestion.smoke.js +2 -2
  50. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +1 -0
  51. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +201 -0
  52. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  53. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +2 -2
  54. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -1
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +18 -20
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +0 -1
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +1 -0
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +5 -1
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +21 -30
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +211 -0
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  64. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +0 -1
  65. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +2 -2
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +2 -2
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +23 -30
  68. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
  69. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +2 -0
  70. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +2 -0
  71. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +1 -1
  72. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +25 -30
  73. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
  74. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +2 -10
  75. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +2 -0
  76. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +73 -0
  77. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
  78. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
  79. package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
  80. package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
  81. package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
  82. package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
  83. package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
  84. package/cypress/e2e/ILC/Graphing/headerSection.js +36 -4
  85. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
  86. package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
  87. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +5 -6
  88. package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
  89. package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
  90. package/cypress/e2e/ILC/GridFill/headerSection.js +1 -3
  91. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
  92. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  93. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
  94. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
  95. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  96. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
  97. package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
  98. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +2 -4
  99. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
  100. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -1
  101. package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +2 -2
  102. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +24 -0
  103. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +24 -0
  104. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +24 -0
  105. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +86 -0
  106. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
  107. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +1 -1
  108. package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
  109. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +24 -0
  110. package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
  111. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +6 -10
  112. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +2 -1
  113. package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
  114. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +2 -1
  115. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
  116. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +35 -9
  117. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
  118. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
  119. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
  120. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
  121. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
  122. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
  123. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
  124. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +35 -1
  125. package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
  126. package/cypress/e2e/ILC/Matching/checkAlternativeButton.js +38 -0
  127. package/cypress/e2e/ILC/Matching/clickAndDrop.js +3 -5
  128. package/cypress/e2e/ILC/Matching/draggableOptions.js +4 -0
  129. package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
  130. package/cypress/e2e/ILC/Matching/headerSection.js +36 -11
  131. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
  132. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +226 -0
  133. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +6 -3
  134. package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  135. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +6 -3
  136. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
  137. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  138. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +1 -1
  139. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -64
  140. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +6 -4
  141. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
  142. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +11 -5
  143. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +4 -2
  144. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
  145. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
  146. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
  147. package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
  148. package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
  149. package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
  150. package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
  151. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
  152. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
  153. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
  154. package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
  155. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
  156. package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
  157. package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
  158. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
  159. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
  160. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
  161. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +31 -48
  162. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
  163. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +192 -0
  164. package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  165. package/cypress/e2e/ILC/SingleSelection/headerSection.js +1 -0
  166. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +94 -88
  167. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +3 -1
  168. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +209 -0
  169. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +5 -0
  170. package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +8 -2
  171. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +84 -0
  172. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +84 -0
  173. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +63 -0
  174. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -2
  175. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +2 -3
  176. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -2
  177. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +3 -3
  178. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +62 -0
  179. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +62 -0
  180. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +63 -0
  181. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -4
  182. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -8
  183. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
  184. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
  185. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
  186. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
  187. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
  188. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -2
  189. package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
  190. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +7 -7
  191. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +0 -1
  192. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
  193. package/cypress/e2e/ILC/ThinkSphere/additionalSettings.js +52 -0
  194. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +112 -0
  195. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +561 -0
  196. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +276 -0
  197. package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
  198. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +291 -0
  199. package/cypress/e2e/ILC/ThinkSphere/headerSection.js +53 -0
  200. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +621 -0
  201. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
  202. package/cypress/e2e/ILC/ThinkSphere/previewTabReviewSection.js +97 -0
  203. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +296 -0
  204. package/cypress/e2e/ILC/ThinkSphere/studentViewPlanTabSection.js +393 -0
  205. package/cypress/e2e/ILC/ThinkSphere/studentViewReviewTabSection.js +141 -0
  206. package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +90 -2
  207. package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
  208. package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
  209. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
  210. package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
  211. package/cypress/e2e/Sessions/fetchResponses.js +3 -3
  212. package/cypress/e2e/Sessions/scores.js +9 -5
  213. package/cypress/e2e/applitools.config.js +3 -3
  214. package/cypress/fixtures/theme/ilc.json +14 -1
  215. package/cypress/fixtures/uploads/sample.webm +0 -0
  216. package/cypress/fixtures/uploads/sample.wmv +0 -0
  217. package/cypress/fixtures/uploads/sample20MB.mp4 +0 -0
  218. package/cypress/fixtures/uploads/sample2MB.mp4 +0 -0
  219. package/cypress/fixtures/uploads/sample2MB_2.mp4 +0 -0
  220. package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
  221. package/cypress/pages/audioPlayerPage.js +47 -22
  222. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  223. package/cypress/pages/chartsBarPage.js +20 -0
  224. package/cypress/pages/components/additionalSettingsPanel.js +3 -2
  225. package/cypress/pages/components/autoScoredScoringPreviewTab.js +7 -1
  226. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
  227. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +16 -28
  228. package/cypress/pages/components/backgroundImageUploadComponent.js +32 -25
  229. package/cypress/pages/components/browseItemsPage.js +998 -7
  230. package/cypress/pages/components/ckEditorAudioPlayerComponent.js +1 -1
  231. package/cypress/pages/components/ckEditorEquationEditorComponent.js +5 -4
  232. package/cypress/pages/components/ckEditorInsertImageComponent.js +2 -2
  233. package/cypress/pages/components/ckEditorLinkComponent.js +8 -9
  234. package/cypress/pages/components/commonComponents.js +8 -1
  235. package/cypress/pages/components/createQuestionBasePage.js +15 -2
  236. package/cypress/pages/components/defaultToolDropdown.js +7 -6
  237. package/cypress/pages/components/editCategoryFlyout.js +2 -2
  238. package/cypress/pages/components/equationEditorSectionCommonComponent.js +10 -25
  239. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -3
  240. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +29 -35
  241. package/cypress/pages/components/gridQuestionCommonComponent.js +8 -37
  242. package/cypress/pages/components/imageCanvasComponent.js +7 -6
  243. package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
  244. package/cypress/pages/components/questionInstructionsComponent.js +7 -0
  245. package/cypress/pages/components/scoringSectionBaseEditTab.js +5 -0
  246. package/cypress/pages/contentBlocksPage.js +2 -0
  247. package/cypress/pages/desmos3DGraphingPage.js +149 -4
  248. package/cypress/pages/desmosGeometryPage.js +184 -4
  249. package/cypress/pages/dialogBoxBase.js +2 -1
  250. package/cypress/pages/drawingResponsePage.js +8 -7
  251. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
  252. package/cypress/pages/gradingViewPage.js +8 -0
  253. package/cypress/pages/graphingPage.js +27 -8
  254. package/cypress/pages/gridFillPage.js +15 -6
  255. package/cypress/pages/index.js +2 -1
  256. package/cypress/pages/listOrderingPage.js +32 -1
  257. package/cypress/pages/matchingPage.js +26 -7
  258. package/cypress/pages/multipleSelectionPage.js +10 -39
  259. package/cypress/pages/numberLineLabelPage.js +31 -8
  260. package/cypress/pages/numberLinePage.js +19 -7
  261. package/cypress/pages/selectQuestionResourceToolPage.js +8 -2
  262. package/cypress/pages/singleSelectionPage.js +0 -37
  263. package/cypress/pages/textEntryMathPage.js +21 -0
  264. package/cypress/pages/thinkSpherePage.js +2185 -0
  265. package/cypress/pages/uploadResponsePage.js +2 -1
  266. package/cypress/pages/videoResponsePage.js +3 -0
  267. package/cypress/support/commands.js +7 -4
  268. package/cypress/support/e2e.js +1 -0
  269. package/cypress/support/helpers/createItem.js +1200 -1
  270. package/cypress/support/helpers/utilities.js +88 -1
  271. package/package.json +4 -4
  272. package/scripts/dataApi.mjs +3 -0
  273. package/scripts/sorry-cypress.mjs +13 -0
@@ -466,6 +466,55 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
466
466
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
467
467
  });
468
468
 
469
+ //RCA - https://weldnorthed.atlassian.net/browse/IEI-5716
470
+ //Failing due to above
471
+ it('When user has selected \'Fraction\' from the syntax dropdown and user enters input using a fraction with a negative numerator in preview tab response fields they should be treated as correct', () => {
472
+ textEntryMathPage.steps.resetQuestionPreview();
473
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
474
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-');
475
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
476
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
477
+ equationEditorFlyout.steps.clickOnOkButton();
478
+ textEntryMathPage.steps.switchToGradingView();
479
+ // textEntryMathPage.steps.verifyCorrectResponseIcon(0);
480
+ // textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
481
+ });
482
+
483
+ it('When the user enters a fraction value in the \'Specify correct answer\' response field and then enters the fraction with a negative numerator yielding the same value but not the exact form, it should be treated as correct', () => {
484
+ textEntryMathPage.steps.resetQuestionPreview();
485
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
486
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-');
487
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract'] }, { categoryName: 'algebra', symbolName: ['groupInBrackets'] }, { categoryName: 'numPad', symbolName: ['subtract', 'one', 'six'] }]);
488
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
489
+ equationEditorFlyout.steps.clickOnOkButton();
490
+ textEntryMathPage.steps.switchToGradingView();
491
+ // textEntryMathPage.steps.verifyCorrectResponseIcon(0);
492
+ // textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
493
+ });
494
+
495
+ it('When user has selected \'Fraction\' from the syntax dropdown and user enters input using a fraction with a negative denominator in preview tab response fields they should be treated as correct', () => {
496
+ textEntryMathPage.steps.resetQuestionPreview();
497
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
498
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'four'] }]);
499
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
500
+ equationEditorFlyout.steps.clickOnOkButton();
501
+ textEntryMathPage.steps.switchToGradingView();
502
+ // textEntryMathPage.steps.verifyCorrectResponseIcon(0);
503
+ // textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
504
+ });
505
+
506
+ it('When user has selected \'Fraction\' from the syntax dropdown and user enters input using a negative mixed fraction in preview tab response fields they should be treated as correct', () => {
507
+ textEntryMathPage.steps.resetQuestionPreview();
508
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
509
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-1');
510
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
511
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
512
+ equationEditorFlyout.steps.clickOnOkButton();
513
+ textEntryMathPage.steps.switchToGradingView();
514
+ // textEntryMathPage.steps.verifyCorrectResponseIcon(0);
515
+ // textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
516
+ });
517
+
469
518
  //Syntax: Mixed fraction
470
519
  it('When user has selected \'Mixed fraction\' from the syntax dropdown and user enters input using mixed fractions in preview tab response fields they should be treated as correct', () => {
471
520
  textEntryMathPage.steps.switchToEditTab();
@@ -570,6 +619,43 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
570
619
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
571
620
  });
572
621
 
622
+ //RCA - https://weldnorthed.atlassian.net/browse/IEI-5716
623
+ //Failing due to above
624
+ it('When user has selected \'Mixed fraction\' from the syntax dropdown and user enters input using negative mixed fractions in preview tab response fields they should be treated as correct', () => {
625
+ textEntryMathPage.steps.resetQuestionPreview();
626
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
627
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
628
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
629
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
630
+ equationEditorFlyout.steps.clickOnOkButton();
631
+ textEntryMathPage.steps.switchToGradingView();
632
+ // textEntryMathPage.steps.verifyCorrectResponseIcon(0);
633
+ // textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
634
+ });
635
+
636
+ it('When user has selected \'Mixed fraction\' from the syntax dropdown and user enters input using another negative mixed fraction in preview tab response fields they should be treated as correct', () => {
637
+ textEntryMathPage.steps.resetQuestionPreview();
638
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
639
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-6');
640
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
641
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4', '3']);
642
+ equationEditorFlyout.steps.clickOnOkButton();
643
+ textEntryMathPage.steps.switchToGradingView();
644
+ // textEntryMathPage.steps.verifyCorrectResponseIcon(0);
645
+ // textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
646
+ });
647
+
648
+ it('When user has selected \'Mixed fraction\' from the syntax dropdown and user enters input using fractions with subtraction in preview tab response fields they should be treated as correct', () => {
649
+ textEntryMathPage.steps.resetQuestionPreview();
650
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
651
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'two', 'two'] }]);
652
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
653
+ equationEditorFlyout.steps.clickOnOkButton();
654
+ textEntryMathPage.steps.switchToGradingView();
655
+ // textEntryMathPage.steps.verifyCorrectResponseIcon(0);
656
+ // textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
657
+ });
658
+
573
659
  //Syntax: Simple fraction
574
660
  it('When user has selected \'Simple fraction\' from the syntax dropdown and user enters input using decimal fractions in preview tab response fields they should be treated as correct', () => {
575
661
  textEntryMathPage.steps.switchToEditTab();
@@ -413,5 +413,102 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
413
413
  textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
414
414
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
415
415
  });
416
+
417
+ //RCA - https://weldnorthed.atlassian.net/browse/IEI-5716
418
+ it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
419
+ textEntryMathPage.steps.switchToEditTab();
420
+ textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
421
+ equationEditorFlyout.steps.clearAll();
422
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-');
423
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
424
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
425
+ equationEditorFlyout.steps.clickOnOkButton();
426
+ textEntryMathPage.steps.switchToPreviewTab();
427
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
428
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-');
429
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
430
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
431
+ equationEditorFlyout.steps.clickOnOkButton();
432
+ textEntryMathPage.steps.switchToGradingView();
433
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
434
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
435
+ });
436
+
437
+ it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as incorrect', () => {
438
+ textEntryMathPage.steps.resetQuestionPreview();
439
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
440
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-');
441
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract'] }, { categoryName: 'algebra', symbolName: ['groupInBrackets'] }, { categoryName: 'numPad', symbolName: ['subtract', 'one', 'six'] }]);
442
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
443
+ equationEditorFlyout.steps.clickOnOkButton();
444
+ textEntryMathPage.steps.switchToGradingView();
445
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
446
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
447
+ });
448
+
449
+ it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
450
+ textEntryMathPage.steps.resetQuestionPreview();
451
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
452
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'four'] }]);
453
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
454
+ equationEditorFlyout.steps.clickOnOkButton();
455
+ textEntryMathPage.steps.switchToGradingView();
456
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
457
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
458
+ });
459
+
460
+ it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
461
+ textEntryMathPage.steps.resetQuestionPreview();
462
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
463
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-1');
464
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
465
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
466
+ equationEditorFlyout.steps.clickOnOkButton();
467
+ textEntryMathPage.steps.switchToGradingView();
468
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
469
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
470
+ });
471
+
472
+ it('When the user enters a negative mixed fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
473
+ textEntryMathPage.steps.switchToEditTab();
474
+ textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
475
+ equationEditorFlyout.steps.clearAll();
476
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
477
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
478
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
479
+ equationEditorFlyout.steps.clickOnOkButton();
480
+ textEntryMathPage.steps.switchToPreviewTab();
481
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
482
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
483
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
484
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
485
+ equationEditorFlyout.steps.clickOnOkButton();
486
+ textEntryMathPage.steps.switchToGradingView();
487
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
488
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
489
+ });
490
+
491
+ it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as incorrect', () => {
492
+ textEntryMathPage.steps.resetQuestionPreview();
493
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
494
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-6');
495
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
496
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4', '3']);
497
+ equationEditorFlyout.steps.clickOnOkButton();
498
+ textEntryMathPage.steps.switchToGradingView();
499
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
500
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
501
+ });
502
+
503
+ it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
504
+ textEntryMathPage.steps.resetQuestionPreview();
505
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
506
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'two', 'two'] }]);
507
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
508
+ equationEditorFlyout.steps.clickOnOkButton();
509
+ textEntryMathPage.steps.switchToGradingView();
510
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
511
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
512
+ });
416
513
  });
417
514
  });
@@ -458,5 +458,102 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
458
458
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
459
459
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
460
460
  });
461
+
462
+ //RCA - https://weldnorthed.atlassian.net/browse/IEI-5716
463
+ it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
464
+ textEntryMathPage.steps.switchToEditTab();
465
+ textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
466
+ equationEditorFlyout.steps.clearAll();
467
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-');
468
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
469
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
470
+ equationEditorFlyout.steps.clickOnOkButton();
471
+ textEntryMathPage.steps.switchToPreviewTab();
472
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
473
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-');
474
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
475
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
476
+ equationEditorFlyout.steps.clickOnOkButton();
477
+ textEntryMathPage.steps.switchToGradingView();
478
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
479
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
480
+ });
481
+
482
+ it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as incorrect', () => {
483
+ textEntryMathPage.steps.resetQuestionPreview();
484
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
485
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-');
486
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract'] }, { categoryName: 'algebra', symbolName: ['groupInBrackets'] }, { categoryName: 'numPad', symbolName: ['subtract', 'one', 'six'] }]);
487
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
488
+ equationEditorFlyout.steps.clickOnOkButton();
489
+ textEntryMathPage.steps.switchToGradingView();
490
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
491
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
492
+ });
493
+
494
+ it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
495
+ textEntryMathPage.steps.resetQuestionPreview();
496
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
497
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'four'] }]);
498
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
499
+ equationEditorFlyout.steps.clickOnOkButton();
500
+ textEntryMathPage.steps.switchToGradingView();
501
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
502
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
503
+ });
504
+
505
+ it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
506
+ textEntryMathPage.steps.resetQuestionPreview();
507
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
508
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-1');
509
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
510
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
511
+ equationEditorFlyout.steps.clickOnOkButton();
512
+ textEntryMathPage.steps.switchToGradingView();
513
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
514
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
515
+ });
516
+
517
+ it('When the user enters a negative mixed fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
518
+ textEntryMathPage.steps.switchToEditTab();
519
+ textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
520
+ equationEditorFlyout.steps.clearAll();
521
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
522
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
523
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
524
+ equationEditorFlyout.steps.clickOnOkButton();
525
+ textEntryMathPage.steps.switchToPreviewTab();
526
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
527
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
528
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
529
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
530
+ equationEditorFlyout.steps.clickOnOkButton();
531
+ textEntryMathPage.steps.switchToGradingView();
532
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
533
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
534
+ });
535
+
536
+ it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as incorrect', () => {
537
+ textEntryMathPage.steps.resetQuestionPreview();
538
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
539
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-6');
540
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
541
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4', '3']);
542
+ equationEditorFlyout.steps.clickOnOkButton();
543
+ textEntryMathPage.steps.switchToGradingView();
544
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
545
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
546
+ });
547
+
548
+ it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as incorrect', () => {
549
+ textEntryMathPage.steps.resetQuestionPreview();
550
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
551
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'two', 'two'] }]);
552
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
553
+ equationEditorFlyout.steps.clickOnOkButton();
554
+ textEntryMathPage.steps.switchToGradingView();
555
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
556
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
557
+ });
461
558
  });
462
559
  });
@@ -788,5 +788,172 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
788
788
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
789
789
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
790
790
  });
791
+
792
+ //RCA - https://weldnorthed.atlassian.net/browse/IEI-5716
793
+ it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
794
+ textEntryMathPage.steps.switchToEditTab();
795
+ textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
796
+ equationEditorFlyout.steps.clearAll();
797
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-');
798
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
799
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
800
+ equationEditorFlyout.steps.clickOnOkButton();
801
+ textEntryMathPage.steps.switchToPreviewTab();
802
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
803
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-');
804
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['four'] }]);
805
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
806
+ equationEditorFlyout.steps.clickOnOkButton();
807
+ textEntryMathPage.steps.switchToGradingView();
808
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
809
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
810
+ });
811
+
812
+ it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as correct', () => {
813
+ textEntryMathPage.steps.resetQuestionPreview();
814
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
815
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-');
816
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract'] }, { categoryName: 'algebra', symbolName: ['groupInBrackets'] }, { categoryName: 'numPad', symbolName: ['subtract', 'one', 'six'] }]);
817
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['12']);
818
+ equationEditorFlyout.steps.clickOnOkButton();
819
+ textEntryMathPage.steps.switchToGradingView();
820
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
821
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
822
+ });
823
+
824
+ it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as correct', () => {
825
+ textEntryMathPage.steps.resetQuestionPreview();
826
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
827
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'four'] }]);
828
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
829
+ equationEditorFlyout.steps.clickOnOkButton();
830
+ textEntryMathPage.steps.switchToGradingView();
831
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
832
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
833
+ });
834
+
835
+ it('When the user enters a negative fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as correct', () => {
836
+ textEntryMathPage.steps.resetQuestionPreview();
837
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
838
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-1');
839
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
840
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
841
+ equationEditorFlyout.steps.clickOnOkButton();
842
+ textEntryMathPage.steps.switchToGradingView();
843
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
844
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
845
+ });
846
+
847
+ it('When the user enters a negative mixed fraction value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
848
+ textEntryMathPage.steps.switchToEditTab();
849
+ textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
850
+ equationEditorFlyout.steps.clearAll();
851
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
852
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
853
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
854
+ equationEditorFlyout.steps.clickOnOkButton();
855
+ textEntryMathPage.steps.switchToPreviewTab();
856
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
857
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-7');
858
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
859
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
860
+ equationEditorFlyout.steps.clickOnOkButton();
861
+ textEntryMathPage.steps.switchToGradingView();
862
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
863
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
864
+ });
865
+
866
+ it('When the user enters a fraction value \'Specify correct answer\' response field and then the user enters the fraction with negative numerator which yields the same value but is not the exact form then it should be treated as correct', () => {
867
+ textEntryMathPage.steps.resetQuestionPreview();
868
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
869
+ equationEditorFlyout.steps.enterTextInPreviewInputField('-6');
870
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['mixedFraction'] }]);
871
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4', '3']);
872
+ equationEditorFlyout.steps.clickOnOkButton();
873
+ textEntryMathPage.steps.switchToGradingView();
874
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
875
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
876
+ });
877
+
878
+ it('When the user enters a fraction value in \'Specify correct answer\' response field and then the user enters the mixed fraction which yields the same value but is not the exact form then it should be treated as correct', () => {
879
+ textEntryMathPage.steps.resetQuestionPreview();
880
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
881
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }, { categoryName: 'numPad', symbolName: ['subtract', 'two', 'two'] }]);
882
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['3']);
883
+ equationEditorFlyout.steps.clickOnOkButton();
884
+ textEntryMathPage.steps.switchToGradingView();
885
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
886
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
887
+ });
888
+
889
+ //RCA https://weldnorthed.atlassian.net/browse/IEI-5709
890
+ it('When the user enters a fraction with variables along with relational operators in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
891
+ textEntryMathPage.steps.switchToEditTab();
892
+ textEntryMathPage.steps.expandAndFocusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
893
+ equationEditorFlyout.steps.clearAll();
894
+ equationEditorFlyout.steps.enterTextInPreviewInputField('ab>25');
895
+ equationEditorFlyout.steps.clickOnOkButton();
896
+ textEntryMathPage.steps.switchToPreviewTab();
897
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
898
+ equationEditorFlyout.steps.enterTextInPreviewInputField('ab>25');
899
+ equationEditorFlyout.steps.clickOnOkButton();
900
+ textEntryMathPage.steps.switchToGradingView();
901
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
902
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
903
+ });
904
+
905
+ it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation in a different format then it should be treated as correct', () => {
906
+ textEntryMathPage.steps.resetQuestionPreview();
907
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
908
+ equationEditorFlyout.steps.enterTextInPreviewInputField('a>');
909
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
910
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['b', '25']);
911
+ equationEditorFlyout.steps.clickOnOkButton();
912
+ textEntryMathPage.steps.switchToGradingView();
913
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
914
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
915
+ });
916
+
917
+ it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation in reverse order then it should be treated as correct', () => {
918
+ textEntryMathPage.steps.resetQuestionPreview();
919
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
920
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['fraction'] }]);
921
+ equationEditorFlyout.steps.enterTextInFirstEmptyBox(['b', '25']);
922
+ equationEditorFlyout.steps.enterTextInPreviewInputField('<a');
923
+ equationEditorFlyout.steps.clickOnOkButton();
924
+ textEntryMathPage.steps.switchToGradingView();
925
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
926
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
927
+ });
928
+
929
+ it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation with multiplication then it should be treated as correct', () => {
930
+ textEntryMathPage.steps.resetQuestionPreview();
931
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
932
+ equationEditorFlyout.steps.enterTextInPreviewInputField('a*b>25');
933
+ equationEditorFlyout.steps.clickOnOkButton();
934
+ textEntryMathPage.steps.switchToGradingView();
935
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
936
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
937
+ });
938
+
939
+ it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation in a different order with multiplication then it should be treated as correct', () => {
940
+ textEntryMathPage.steps.resetQuestionPreview();
941
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
942
+ equationEditorFlyout.steps.enterTextInPreviewInputField('b*a>25');
943
+ equationEditorFlyout.steps.clickOnOkButton();
944
+ textEntryMathPage.steps.switchToGradingView();
945
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
946
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
947
+ });
948
+
949
+ it('When the user enters a fraction with variables and relational operators in \'Specify correct answer\' and the user enters the equation with incorrect relational operator then it should be treated as incorrect', () => {
950
+ textEntryMathPage.steps.resetQuestionPreview();
951
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
952
+ equationEditorFlyout.steps.enterTextInPreviewInputField('ab>=25');
953
+ equationEditorFlyout.steps.clickOnOkButton();
954
+ textEntryMathPage.steps.switchToGradingView();
955
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
956
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
957
+ });
791
958
  });
792
959
  });