itemengine-cypress-automation 1.0.341-e2eFixes18March-66a79d0.0 → 1.0.341-graphAndCharts-0a4e8d7.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 (237) hide show
  1. package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +398 -0
  2. package/cypress/e2e/ILC/BrowseItems/browseReviewItemsMobileView.js +329 -0
  3. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +260 -0
  4. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +368 -0
  5. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
  6. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +2 -2
  7. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  9. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  10. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  11. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +1 -0
  12. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  13. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  14. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  15. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  16. package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +1 -3
  17. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
  18. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +0 -2
  19. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
  20. package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
  21. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +1 -1
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +84 -0
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +3 -3
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/checkAddAlternativeButton.js +33 -0
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -4
  26. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +2 -4
  27. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +33 -0
  28. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +39 -6
  29. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
  30. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
  31. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +3 -0
  32. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
  33. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
  34. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  35. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
  36. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +3 -4
  37. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
  38. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
  39. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
  40. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +29 -25
  41. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
  42. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneStyleAndLayoutCustomization.js +6 -3
  43. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +1 -0
  44. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +201 -0
  45. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  46. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +2 -2
  47. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -1
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +18 -20
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +96 -0
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +0 -1
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/checkAddAlternative.js +37 -0
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/clickAndDrop.js +4 -6
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabBasicSection.js +47 -0
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +38 -9
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +5 -1
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +21 -30
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +211 -0
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +0 -1
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +2 -2
  63. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +2 -2
  64. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +23 -30
  65. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +0 -1
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +2 -0
  68. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +2 -0
  69. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +2 -4
  70. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +25 -30
  71. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
  72. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +2 -10
  73. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +2 -0
  74. package/cypress/e2e/ILC/Graphing/headerSection.js +1 -2
  75. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
  76. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +11 -0
  77. package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
  78. package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
  79. package/cypress/e2e/ILC/GridFill/headerSection.js +2 -4
  80. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -2
  81. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +2 -4
  82. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
  83. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -1
  84. package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +2 -2
  85. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +2 -1
  86. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +226 -0
  87. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +6 -3
  88. package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  89. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +6 -3
  90. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
  91. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  92. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +1 -1
  93. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -64
  94. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +6 -4
  95. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
  96. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +11 -5
  97. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +4 -2
  98. package/cypress/e2e/ILC/NumberLine/headerSection.js +1 -2
  99. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -0
  100. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +3 -4
  101. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
  102. package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +10 -0
  103. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +31 -48
  104. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -2
  105. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +192 -0
  106. package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  107. package/cypress/e2e/ILC/SingleSelection/headerSection.js +1 -0
  108. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +94 -88
  109. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +3 -1
  110. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +209 -0
  111. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +5 -0
  112. package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +8 -2
  113. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -2
  114. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -2
  115. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -2
  116. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -3
  117. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -2
  118. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
  119. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +3 -10
  120. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -4
  121. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +3 -5
  122. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
  123. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -4
  124. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -2
  125. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -2
  126. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -2
  127. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -2
  128. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -2
  129. package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +2 -8
  130. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -2
  131. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -2
  132. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
  133. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +0 -8
  134. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -2
  135. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -2
  136. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
  137. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +0 -1
  138. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -2
  139. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -8
  140. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +0 -2
  141. package/cypress/e2e/ILC/TextEntryMath/customSettings.js +4 -0
  142. package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +8 -0
  143. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
  144. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
  145. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
  146. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
  147. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -2
  148. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.smoke.js +1 -0
  149. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +10 -7
  150. package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +1 -1
  151. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/allOrNothingAlternatePointsMoreThanCorrectPoints.js +80 -0
  152. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/allOrNothingCorrectPointsMoreThanAlternatePoints.js +30 -0
  153. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +109 -0
  154. package/cypress/e2e/ILC/TextSelection/checkAddAlternativeButton.js +46 -0
  155. package/cypress/e2e/ILC/TextSelection/editTabBasicSection.js +57 -0
  156. package/cypress/e2e/ILC/TextSelection/headerSection.js +38 -6
  157. package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.js +1 -2
  158. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
  159. package/cypress/e2e/ILC/ThinkSphere/additionalSettings.js +52 -0
  160. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +112 -0
  161. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +561 -0
  162. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +185 -0
  163. package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
  164. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +289 -0
  165. package/cypress/e2e/ILC/ThinkSphere/headerSection.js +53 -0
  166. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +581 -0
  167. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
  168. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +296 -0
  169. package/cypress/e2e/Sessions/fetchResponses.js +3 -3
  170. package/cypress/e2e/Sessions/scores.js +9 -5
  171. package/cypress/e2e/applitools.config.js +3 -3
  172. package/cypress/fixtures/constants.js +5 -1
  173. package/cypress/fixtures/theme/ilc.json +16 -1
  174. package/cypress/fixtures/uploads/sample.webm +0 -0
  175. package/cypress/fixtures/uploads/sample.wmv +0 -0
  176. package/cypress/fixtures/uploads/sample20MB.mp4 +0 -0
  177. package/cypress/fixtures/uploads/sample2MB.mp4 +0 -0
  178. package/cypress/fixtures/uploads/sample2MB_2.mp4 +0 -0
  179. package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
  180. package/cypress/pages/audioPlayerPage.js +22 -22
  181. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  182. package/cypress/pages/components/additionalSettingsPanel.js +3 -2
  183. package/cypress/pages/components/autoScoredScoringPreviewTab.js +7 -1
  184. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
  185. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +17 -51
  186. package/cypress/pages/components/backgroundImageUploadComponent.js +32 -25
  187. package/cypress/pages/components/browseItemsPage.js +998 -7
  188. package/cypress/pages/components/ckEditorAudioPlayerComponent.js +1 -1
  189. package/cypress/pages/components/ckEditorEquationEditorComponent.js +4 -4
  190. package/cypress/pages/components/ckEditorInsertImageComponent.js +3 -3
  191. package/cypress/pages/components/ckEditorLinkComponent.js +3 -3
  192. package/cypress/pages/components/commonComponents.js +8 -1
  193. package/cypress/pages/components/createQuestionBasePage.js +1 -1
  194. package/cypress/pages/components/defaultToolDropdown.js +7 -6
  195. package/cypress/pages/components/desmosToolComponent.js +1 -1
  196. package/cypress/pages/components/editCategoryFlyout.js +2 -2
  197. package/cypress/pages/components/equationEditorSectionCommonComponent.js +13 -26
  198. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -70
  199. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +29 -101
  200. package/cypress/pages/components/gridQuestionCommonComponent.js +8 -37
  201. package/cypress/pages/components/hideExpressionListComponent.js +53 -0
  202. package/cypress/pages/components/imageCanvasComponent.js +7 -6
  203. package/cypress/pages/components/index.js +1 -0
  204. package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
  205. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  206. package/cypress/pages/components/questionInstructionsComponent.js +7 -0
  207. package/cypress/pages/components/scoringSectionBaseEditTab.js +12 -13
  208. package/cypress/pages/desmos3DGraphingPage.js +368 -0
  209. package/cypress/pages/desmosGeometryPage.js +308 -0
  210. package/cypress/pages/dialogBoxBase.js +2 -1
  211. package/cypress/pages/dragAndDropIntoCategoriesPage.js +26 -6
  212. package/cypress/pages/drawingResponsePage.js +16 -15
  213. package/cypress/pages/fillInTheGapsDragAndDropPage.js +1 -68
  214. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +4 -4
  215. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
  216. package/cypress/pages/gradingViewPage.js +8 -0
  217. package/cypress/pages/graphingPage.js +5 -8
  218. package/cypress/pages/gridFillPage.js +7 -8
  219. package/cypress/pages/imageHighlightPage.js +0 -66
  220. package/cypress/pages/index.js +3 -1
  221. package/cypress/pages/multipleSelectionGridPage.js +1 -68
  222. package/cypress/pages/multipleSelectionPage.js +10 -106
  223. package/cypress/pages/numberLineLabelPage.js +5 -8
  224. package/cypress/pages/numberLinePage.js +4 -7
  225. package/cypress/pages/selectQuestionResourceToolPage.js +8 -2
  226. package/cypress/pages/singleSelectionGridPage.js +1 -68
  227. package/cypress/pages/singleSelectionPage.js +0 -104
  228. package/cypress/pages/textSelectionPage.js +25 -6
  229. package/cypress/pages/thinkSpherePage.js +1874 -0
  230. package/cypress/support/commands.js +7 -4
  231. package/cypress/support/e2e.js +1 -0
  232. package/cypress/support/helpers/createItem.js +1181 -1
  233. package/cypress/support/helpers/utilities.js +75 -1
  234. package/deploy/smoke/deploy.yaml +2 -2
  235. package/package.json +3 -3
  236. package/scripts/dataApi.mjs +3 -0
  237. package/scripts/sorry-cypress.mjs +13 -0
@@ -12,8 +12,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
- cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
15
  textEntryMathPage.steps.addResponseArea();
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
@@ -112,7 +110,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
112
110
  equationEditorFlyout.steps.enterTextInPreviewInputField('Correct');
113
111
  equationEditorFlyout.steps.clickOnOkButton();
114
112
  textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
115
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'six', 'equalTo', 'one', 'two'] }]);
113
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'six'] }]);
116
114
  equationEditorFlyout.steps.clickOnOkButton();
117
115
  textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
118
116
  equationEditorFlyout.steps.enterTextInPreviewInputField('700');
@@ -271,7 +269,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
271
269
  textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
272
270
  textEntryMathPage.steps.verifyCorrectResponseIcon(2);
273
271
  textEntryMathPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
274
- textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['C⁢o⁢r⁢r⁢e⁢c⁢t⁢O⁢n⁢e', '2×6=12', '700%']);
272
+ textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['C⁢o⁢r⁢r⁢e⁢c⁢t⁢O⁢n⁢e', '2×6', '700%']);
275
273
  textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
276
274
  });
277
275
  });
@@ -12,8 +12,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
- cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
15
  textEntryMathPage.steps.addResponseArea();
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
@@ -179,7 +177,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
179
177
  textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
180
178
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'multiply', 'two'] }]);
181
179
  equationEditorFlyout.steps.clickOnOkButton();
182
- textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
180
+ textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
183
181
  equationEditorFlyout.steps.enterTextInPreviewInputField('700');
184
182
  equationEditorFlyout.steps.clickOnOkButton();
185
183
  textEntryMathPage.steps.verifyPreviewScore(12, 18);
@@ -199,8 +197,8 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
199
197
  textEntryMathPage.steps.verifyPreviewScore(6, 18);
200
198
  textEntryMathPage.steps.switchToGradingView();
201
199
  textEntryMathPage.steps.verifyCorrectResponseIcon(0);
202
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
203
- textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
200
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
201
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
204
202
  textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['C⁢o⁢r⁢r⁢e⁢c⁢t⁢O⁢n⁢e', '6×2=12', '9000%']);
205
203
  textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
206
204
  });
@@ -13,8 +13,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
13
13
  abortEarlySetup();
14
14
  before(() => {
15
15
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
16
- cy.barsPreLoaderWait();
17
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
20
18
  textEntryMathPage.steps.addResponseArea();
@@ -12,8 +12,6 @@ describe('Create item page - Text Entry Math: Partial equal weights', () => {
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
- cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
15
  textEntryMathPage.steps.addResponseArea();
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
@@ -145,8 +143,6 @@ describe('Create item page - Text Entry Math: Partial equal weights', () => {
145
143
  abortEarlySetup();
146
144
  before(() => {
147
145
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
148
- cy.barsPreLoaderWait();
149
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
150
146
  textEntryMathPage.steps.addResponseArea();
151
147
  textEntryMathPage.steps.addResponseArea();
152
148
  textEntryMathPage.steps.addResponseArea();
@@ -12,8 +12,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
- cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
15
  textEntryMathPage.steps.addResponseArea();
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
@@ -12,8 +12,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
- cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
15
  textEntryMathPage.steps.addResponseArea();
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
@@ -12,8 +12,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
- cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
15
  textEntryMathPage.steps.addResponseArea();
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
@@ -12,8 +12,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
- cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
15
  textEntryMathPage.steps.addResponseArea();
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
@@ -13,8 +13,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
13
13
  abortEarlySetup();
14
14
  before(() => {
15
15
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
16
- cy.barsPreLoaderWait();
17
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
20
18
  textEntryMathPage.steps.addResponseArea();
@@ -13,8 +13,6 @@ describe('Create item page - Text entry math: Partial equal weights for blank re
13
13
  abortEarlySetup();
14
14
  before(() => {
15
15
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
16
- cy.barsPreLoaderWait();
17
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Text Entry Math');
18
16
  textEntryMathPage.steps.allotPoints(24);
19
17
  textEntryMathPage.steps.addResponseArea();
20
18
  textEntryMathPage.steps.addResponseArea();
@@ -29,9 +27,8 @@ describe('Create item page - Text entry math: Partial equal weights for blank re
29
27
  textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
30
28
  textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
31
29
  textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
32
- utilities.verifyInnerText(textEntryMathPage.correctAnswersLabel(), 'Correct answers');
30
+ utilities.verifyElementVisibilityState(textEntryMathPage.correctAnswersLabel(), 'notExist');
33
31
  textEntryMathPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
34
- textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
35
32
  });
36
33
 
37
34
  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', () => {
@@ -139,8 +136,6 @@ describe('Create item page - Text entry math: Partial equal weights for blank re
139
136
  abortEarlySetup();
140
137
  before(() => {
141
138
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
142
- cy.barsPreLoaderWait();
143
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Text Entry Math');
144
139
  textEntryMathPage.steps.selectAutoScoredScoringSubtype('Partial equal weights')
145
140
  textEntryMathPage.steps.allotPoints(24);
146
141
  textEntryMathPage.steps.addResponseArea();
@@ -156,9 +151,8 @@ describe('Create item page - Text entry math: Partial equal weights for blank re
156
151
  textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
157
152
  textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
158
153
  textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
159
- utilities.verifyInnerText(textEntryMathPage.correctAnswersLabel(), 'Correct answers');
154
+ utilities.verifyElementVisibilityState(textEntryMathPage.correctAnswersLabel(), 'notExist');
160
155
  textEntryMathPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
161
- textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
162
156
  });
163
157
 
164
158
  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', () => {
@@ -12,8 +12,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
- cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
15
  textEntryMathPage.steps.addResponseArea();
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
@@ -13,8 +13,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
13
13
  abortEarlySetup();
14
14
  before(() => {
15
15
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
16
- cy.barsPreLoaderWait();
17
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
20
18
  textEntryMathPage.steps.addResponseArea();
@@ -13,8 +13,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
13
13
  abortEarlySetup();
14
14
  before(() => {
15
15
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
16
- cy.barsPreLoaderWait();
17
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
20
18
  textEntryMathPage.steps.addResponseArea();
@@ -12,8 +12,6 @@ describe('Create item page - Text Entry Math: Partial different weights', () =>
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
- cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
15
  textEntryMathPage.steps.addResponseArea();
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
@@ -121,8 +119,6 @@ describe('Create item page - Text Entry Math: Partial different weights', () =>
121
119
  abortEarlySetup();
122
120
  before(() => {
123
121
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
124
- cy.barsPreLoaderWait();
125
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
126
122
  textEntryMathPage.steps.addResponseArea();
127
123
  textEntryMathPage.steps.addResponseArea();
128
124
  textEntryMathPage.steps.addResponseArea();
@@ -208,8 +204,6 @@ describe('Create item page - Text Entry Math: Partial different weights', () =>
208
204
  abortEarlySetup();
209
205
  before(() => {
210
206
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
211
- cy.barsPreLoaderWait();
212
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
213
207
  textEntryMathPage.steps.addResponseArea();
214
208
  textEntryMathPage.steps.addResponseArea();
215
209
  textEntryMathPage.steps.addResponseArea();
@@ -327,8 +321,6 @@ describe('Create item page - Text Entry Math: Partial different weights', () =>
327
321
  abortEarlySetup();
328
322
  before(() => {
329
323
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
330
- cy.barsPreLoaderWait();
331
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
332
324
  textEntryMathPage.steps.addResponseArea();
333
325
  textEntryMathPage.steps.addResponseArea();
334
326
  textEntryMathPage.steps.addResponseArea();
@@ -12,8 +12,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
- cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
15
  textEntryMathPage.steps.addResponseArea();
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
@@ -12,8 +12,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
- cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
15
  textEntryMathPage.steps.addResponseArea();
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
@@ -13,8 +13,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
13
13
  abortEarlySetup();
14
14
  before(() => {
15
15
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
16
- cy.barsPreLoaderWait();
17
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.addResponseArea();
20
18
  textEntryMathPage.steps.addResponseArea();
@@ -13,7 +13,6 @@ describe('Create item page - Text Entry Math: Partial equal weights', () => {
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
15
  cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
16
  textEntryMathPage.steps.addResponseArea();
18
17
  textEntryMathPage.steps.addResponseArea();
19
18
  textEntryMathPage.steps.addResponseArea();
@@ -12,8 +12,6 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
- cy.barsPreLoaderWait();
16
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
17
15
  textEntryMathPage.steps.addResponseArea();
18
16
  textEntryMathPage.steps.addResponseArea();
19
17
  textEntryMathPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
@@ -25,8 +25,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
25
25
  abortEarlySetup();
26
26
  before(() => {
27
27
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
28
- cy.barsPreLoaderWait();
29
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
30
28
  textEntryMathPage.steps.addResponseArea();
31
29
  textEntryMathPage.steps.addResponseArea();
32
30
  textEntryMathPage.steps.expandAdditionalSettings();
@@ -70,8 +68,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
70
68
  switch (view) {
71
69
  case 'Question preview':
72
70
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
73
- cy.barsPreLoaderWait();
74
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
75
71
  textEntryMathPage.steps.addResponseArea();
76
72
  textEntryMathPage.steps.addResponseArea();
77
73
  textEntryMathPage.steps.addResponseArea();
@@ -275,8 +271,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
275
271
  switch (view) {
276
272
  case 'Question preview':
277
273
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
278
- cy.barsPreLoaderWait();
279
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
280
274
  textEntryMathPage.steps.addResponseArea();
281
275
  textEntryMathPage.steps.addResponseArea();
282
276
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
@@ -352,8 +346,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
352
346
  abortEarlySetup();
353
347
  before(() => {
354
348
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
355
- cy.barsPreLoaderWait();
356
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
357
349
  textEntryMathPage.steps.addResponseArea();
358
350
  textEntryMathPage.steps.addResponseArea();
359
351
  textEntryMathPage.steps.addResponseArea();
@@ -19,8 +19,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
19
19
  switch (view) {
20
20
  case 'Question preview':
21
21
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
22
- cy.barsPreLoaderWait();
23
- textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
24
22
  textEntryMathPage.steps.addResponseArea();
25
23
  textEntryMathPage.steps.addResponseArea();
26
24
  textEntryMathPage.steps.addResponseArea();
@@ -12,6 +12,7 @@ describe('Create Item page - Text entry math: Evaluation methods - Custom settin
12
12
  abortEarlySetup();
13
13
  before(() => {
14
14
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
15
+ cy.wait(5000); //Waiting for the question instruction to load
15
16
  cy.barsPreLoaderWait();
16
17
  textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Equivalent structure: Response inputted needs to be in set structure / format to be marked correct');
17
18
  textEntryMathPage.steps.clearQuestionInputField();
@@ -525,6 +526,7 @@ describe('Create Item page - Text entry math: Evaluation methods - Custom settin
525
526
  abortEarlySetup();
526
527
  before(() => {
527
528
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
529
+ cy.wait(5000); //Waiting for the question instruction to load
528
530
  cy.barsPreLoaderWait();
529
531
  textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Value is equivalent: Response inputted needs to be equivalent but can be represented differently to be marked correct');
530
532
  textEntryMathPage.steps.clearQuestionInputField();
@@ -751,6 +753,7 @@ describe('Create Item page - Text entry math: Evaluation methods - Custom settin
751
753
  abortEarlySetup();
752
754
  before(() => {
753
755
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
756
+ cy.wait(5000); //Waiting for the question instruction to load
754
757
  cy.barsPreLoaderWait();
755
758
  textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Match value: Response inputted needs to be equal and represented the same way to be marked correct');
756
759
  textEntryMathPage.steps.clearQuestionInputField();
@@ -1145,6 +1148,7 @@ describe('Create Item page - Text entry math: Evaluation methods - Custom settin
1145
1148
  abortEarlySetup();
1146
1149
  before(() => {
1147
1150
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
1151
+ cy.wait(5000); //Waiting for the question instruction to load
1148
1152
  cy.barsPreLoaderWait();
1149
1153
  textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Match exact: Response entered needs to be an exact match to be marked correct');
1150
1154
  textEntryMathPage.steps.clearQuestionInputField();
@@ -11,6 +11,14 @@ describe('Create question page - Text Entry Math: Equation Editor functionality'
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
+ beforeEach(() => {
15
+ cy.startApplitools();
16
+ });
17
+
18
+ afterEach(() => {
19
+ cy.eyesClose();
20
+ });
21
+
14
22
  describe('Preview tab \'Equation Editor\' flyout', { tags: 'smoke' }, () => {
15
23
  abortEarlySetup();
16
24
  before(() => {
@@ -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
  });