itemengine-cypress-automation 1.0.349-TEMRegression4-f1b48a1.0 → 1.0.349

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 (287) hide show
  1. package/Dockerfile +1 -0
  2. package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +4 -16
  3. package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
  4. package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +398 -0
  5. package/cypress/e2e/ILC/BrowseItems/browseReviewItemsMobileView.js +329 -0
  6. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +260 -0
  7. package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +368 -0
  8. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
  9. package/cypress/e2e/ILC/ChartsBar/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +33 -0
  10. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +2 -2
  11. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  12. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  13. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  14. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  15. package/cypress/e2e/ILC/ChartsBar/editTabBasicSection.js +37 -0
  16. package/cypress/e2e/ILC/ChartsBar/headerSection.js +50 -2
  17. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +1 -0
  18. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  19. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
  20. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  21. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  22. package/cypress/e2e/ILC/ChartsLine/headerSection.js +18 -1
  23. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
  24. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +2 -4
  25. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
  26. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerHeaderSectionAndButtons.js +2 -2
  27. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTab.js +1 -1
  28. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabTranscript.js +2 -3
  29. package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
  30. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +4 -4
  31. package/cypress/e2e/ILC/CkEditorInsertTable/tableStyle.js +2 -2
  32. package/cypress/e2e/ILC/CkEditorLink/uploadSection.js +1 -1
  33. package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +62 -4
  34. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +115 -6
  35. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +2 -0
  36. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
  37. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
  38. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +3 -0
  39. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
  40. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
  41. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  42. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
  43. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +3 -4
  44. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
  45. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
  46. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
  47. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +29 -25
  48. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
  49. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneStyleAndLayoutCustomization.js +6 -3
  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/editTabBasicSection.js +23 -0
  115. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +35 -9
  116. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
  117. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
  118. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
  119. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
  120. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
  121. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
  122. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
  123. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +35 -1
  124. package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
  125. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +210 -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/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +208 -0
  133. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +227 -0
  134. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +6 -3
  135. package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  136. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +6 -3
  137. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
  138. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  139. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +1 -1
  140. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -64
  141. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +6 -4
  142. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +1 -0
  143. package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
  144. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +11 -5
  145. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +5 -2
  146. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
  147. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
  148. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
  149. package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
  150. package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
  151. package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
  152. package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
  153. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
  154. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
  155. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
  156. package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
  157. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
  158. package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
  159. package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
  160. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
  161. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
  162. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
  163. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +31 -48
  164. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
  165. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +192 -0
  166. package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
  167. package/cypress/e2e/ILC/SingleSelection/headerSection.js +1 -0
  168. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +94 -88
  169. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +3 -1
  170. package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +209 -0
  171. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +5 -0
  172. package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +8 -2
  173. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +86 -0
  174. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +86 -0
  175. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  176. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -1
  177. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  178. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  179. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +10 -3
  180. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
  181. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -3
  182. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  183. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +4 -0
  184. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +64 -0
  185. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +2 -0
  186. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +2 -0
  187. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +64 -0
  188. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  189. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  190. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  191. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  192. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +8 -0
  193. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  194. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  195. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  196. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -0
  197. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +2 -0
  198. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +2 -0
  199. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
  200. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
  201. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
  202. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
  203. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
  204. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -1
  205. package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
  206. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +7 -5
  207. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +0 -1
  208. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
  209. package/cypress/e2e/ILC/ThinkSphere/additionalSettings.js +52 -0
  210. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +112 -0
  211. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +561 -0
  212. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +276 -0
  213. package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
  214. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +291 -0
  215. package/cypress/e2e/ILC/ThinkSphere/headerSection.js +53 -0
  216. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +621 -0
  217. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
  218. package/cypress/e2e/ILC/ThinkSphere/previewTabReviewSection.js +97 -0
  219. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +296 -0
  220. package/cypress/e2e/ILC/ThinkSphere/studentViewPlanTabSection.js +393 -0
  221. package/cypress/e2e/ILC/ThinkSphere/studentViewReviewTabSection.js +141 -0
  222. package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +90 -2
  223. package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
  224. package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
  225. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
  226. package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
  227. package/cypress/e2e/Sessions/fetchResponses.js +3 -3
  228. package/cypress/e2e/Sessions/scores.js +8 -10
  229. package/cypress/e2e/applitools.config.js +3 -3
  230. package/cypress/fixtures/theme/ilc.json +14 -1
  231. package/cypress/fixtures/uploads/sample.webm +0 -0
  232. package/cypress/fixtures/uploads/sample.wmv +0 -0
  233. package/cypress/fixtures/uploads/sample20MB.mp4 +0 -0
  234. package/cypress/fixtures/uploads/sample2MB.mp4 +0 -0
  235. package/cypress/fixtures/uploads/sample2MB_2.mp4 +0 -0
  236. package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
  237. package/cypress/pages/audioPlayerPage.js +47 -22
  238. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  239. package/cypress/pages/chartsBarPage.js +20 -0
  240. package/cypress/pages/components/additionalSettingsPanel.js +3 -2
  241. package/cypress/pages/components/autoScoredScoringPreviewTab.js +7 -1
  242. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
  243. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +16 -28
  244. package/cypress/pages/components/backgroundImageUploadComponent.js +32 -25
  245. package/cypress/pages/components/browseItemsPage.js +998 -7
  246. package/cypress/pages/components/ckEditorAudioPlayerComponent.js +1 -1
  247. package/cypress/pages/components/ckEditorEquationEditorComponent.js +5 -4
  248. package/cypress/pages/components/ckEditorInsertImageComponent.js +2 -2
  249. package/cypress/pages/components/ckEditorLinkComponent.js +8 -9
  250. package/cypress/pages/components/commonComponents.js +8 -1
  251. package/cypress/pages/components/createQuestionBasePage.js +15 -2
  252. package/cypress/pages/components/defaultToolDropdown.js +7 -6
  253. package/cypress/pages/components/editCategoryFlyout.js +2 -2
  254. package/cypress/pages/components/equationEditorSectionCommonComponent.js +10 -25
  255. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -3
  256. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +29 -35
  257. package/cypress/pages/components/gridQuestionCommonComponent.js +8 -37
  258. package/cypress/pages/components/imageCanvasComponent.js +7 -6
  259. package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
  260. package/cypress/pages/components/questionInstructionsComponent.js +7 -0
  261. package/cypress/pages/components/scoringSectionBaseEditTab.js +5 -0
  262. package/cypress/pages/contentBlocksPage.js +2 -0
  263. package/cypress/pages/desmos3DGraphingPage.js +149 -4
  264. package/cypress/pages/desmosGeometryPage.js +184 -4
  265. package/cypress/pages/dialogBoxBase.js +2 -1
  266. package/cypress/pages/drawingResponsePage.js +6 -4
  267. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
  268. package/cypress/pages/gradingViewPage.js +8 -0
  269. package/cypress/pages/graphingPage.js +27 -8
  270. package/cypress/pages/gridFillPage.js +15 -6
  271. package/cypress/pages/index.js +2 -1
  272. package/cypress/pages/listOrderingPage.js +32 -1
  273. package/cypress/pages/matchingPage.js +26 -7
  274. package/cypress/pages/multipleSelectionPage.js +10 -39
  275. package/cypress/pages/numberLineLabelPage.js +31 -8
  276. package/cypress/pages/numberLinePage.js +19 -7
  277. package/cypress/pages/selectQuestionResourceToolPage.js +8 -2
  278. package/cypress/pages/singleSelectionPage.js +0 -37
  279. package/cypress/pages/textEntryMathPage.js +24 -1
  280. package/cypress/pages/thinkSpherePage.js +2185 -0
  281. package/cypress/pages/uploadResponsePage.js +2 -1
  282. package/cypress/pages/videoResponsePage.js +3 -0
  283. package/cypress/support/commands.js +7 -4
  284. package/cypress/support/e2e.js +1 -0
  285. package/cypress/support/helpers/createItem.js +1200 -1
  286. package/cypress/support/helpers/utilities.js +88 -1
  287. package/package.json +3 -3
@@ -435,4 +435,1203 @@ Cypress.Commands.add('deleteItems', () => {
435
435
  itemReferenceIds.forEach((i) => {
436
436
  cy.deleteItem(i);
437
437
  });
438
- });
438
+ });
439
+
440
+ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
441
+ const token = window.localStorage.getItem('ngie_accessToken');
442
+ const firstName = window.localStorage.getItem('ngie_firstName');
443
+ const lastName = window.localStorage.getItem('ngie_lastName');
444
+ const userID = window.localStorage.getItem('ngie_userId');
445
+ var currentReferenceIds = [];
446
+ for (var i = 0; i < 1; i++) {
447
+ currentReferenceIds.push(uuid());
448
+ };
449
+ cy.log(currentReferenceIds)
450
+
451
+ cy.request({
452
+ headers: {
453
+ Authorization: `${token}`,
454
+ 'content-type': 'application/json',
455
+ },
456
+ method: 'POST',
457
+ url: `${Cypress.env('SANDBOX_GRAPHQL_SERVICES_URL')}/`,
458
+ body: [
459
+ {
460
+ "operationName": "generateSignedRequest",
461
+ "variables": {
462
+ "input": {
463
+ "service": "author",
464
+ "type": "item",
465
+ "userId": userID,
466
+ "requestPacket": {
467
+ "mode": "thinkSphereEdit",
468
+ "config": {
469
+ "itemEdit": {
470
+ "item": {
471
+ "back": false,
472
+ "save": {
473
+ "show": false,
474
+ "autoSave": true
475
+ },
476
+ "reference": {
477
+ "edit": true,
478
+ "show": false
479
+ },
480
+ "duplicate": {
481
+ "show": false
482
+ },
483
+ "responseMode": "all",
484
+ "title": {
485
+ "edit": true,
486
+ "show": true
487
+ },
488
+ "settings": {
489
+ "show": false,
490
+ "showPrintPreview": false,
491
+ "showScoring": false,
492
+ "showTags": false
493
+ }
494
+ },
495
+ "reviewItem": {
496
+ "back": true,
497
+ "duplicate": {
498
+ "show": false
499
+ },
500
+ "mode": {
501
+ "default": "preview",
502
+ "show": false
503
+ },
504
+ "reference": {
505
+ "show": false,
506
+ "edit": false
507
+ },
508
+ "title": {
509
+ "show": true,
510
+ "edit": true
511
+ },
512
+ "save": {
513
+ "show": true
514
+ },
515
+ "allowedItems": null,
516
+ "responseMode": "all"
517
+ },
518
+ "widget": {
519
+ "showPreviewRadioButtonsAndScore": true
520
+ }
521
+ },
522
+ "loaderType": "full-screen",
523
+ "isCustomLoader": true,
524
+ "customLoaderId": "globalLoader",
525
+ "isThinkSphereItem": true,
526
+ "theme": "theme1"
527
+ },
528
+ "user": {
529
+ "firstName": firstName,
530
+ "lastName": lastName,
531
+ "id": userID
532
+ },
533
+ "systemGeneratedItems": {
534
+ "referenceIds": [""]
535
+ }
536
+ },
537
+ "domain": domainName
538
+ }
539
+ },
540
+ "query": "query generateSignedRequest($input: GenerateSignedRequest) {\n generateSignedRequest(input: $input) {\n success\n signedRequest {\n authentication {\n timestamp\n domain\n consumerKey\n signature\n userId\n __typename\n }\n request\n __typename\n }\n __typename\n }\n}\n"
541
+ }
542
+ ]
543
+ }).then((resp) => {
544
+ if (resp.status.toString().startsWith('5') && retries > 0) {
545
+ cy.log('ENCOUNTERED A 5xx ERROR');
546
+ }
547
+
548
+ const request = resp.body[0].data.generateSignedRequest.signedRequest.request;
549
+ const authentication = resp.body[0].data.generateSignedRequest.signedRequest.authentication;
550
+ delete authentication.userId;
551
+ delete authentication.__typename;
552
+ delete request.__typename;
553
+ cy.request({
554
+ headers: {
555
+ Authorization: `${token}`,
556
+ 'content-type': 'application/json',
557
+ Origin: `${Cypress.env('SANDBOX_SERVICES_URL')}`
558
+ },
559
+ method: 'POST',
560
+ url: `${Cypress.env('SERVICES_URL')}${Cypress.env('GRAPHQL_URL')}/`,
561
+ body: {
562
+ "operationName": "setItem",
563
+ "variables": {
564
+ "input": {
565
+ "authentication": authentication,
566
+ "request": request,
567
+ "service": "author",
568
+ "userRequest": {
569
+ "referenceId": itemName,
570
+ "isNewVersion": false,
571
+ "isThinkSphereItem": true,
572
+ "metadata": [],
573
+ "questions": [
574
+ {
575
+ "serialNo": 1,
576
+ "referenceId": currentReferenceIds[0],
577
+ "correctResponse": [],
578
+ "instruction": "",
579
+ "isAutoScored": false,
580
+ "mappedCorrectResponse": [],
581
+ "defaultResponse": [],
582
+ "points": 0,
583
+ "scoringTypeId": 4,
584
+ "questionXml": "<assessmentItem xmlns=\"http://www.imsglobal.org/xsd/imsqti_v2p2\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2p2.xsd\" identifier=\"thinkSphere\" title=\"Think Sphere Question\" timeDependent=\"false\"><responseDeclaration identifier=\"RESPONSE\" cardinality=\"single\" baseType=\"file\"/><outcomeDeclaration identifier=\"SCORE\" cardinality=\"single\" baseType=\"float\"/><itemBody><drawingInteraction responseIdentifier=\"RESPONSE\" height=\"3\" width=\"4\"><prompt><p>question instruction text</p>\n</prompt></drawingInteraction></itemBody></assessmentItem>",
585
+ "typeId": 54,
586
+ "metadata": {
587
+ "acknowledgements": "",
588
+ "sampleAnswer": "",
589
+ "toolSettingsResourcesOrder": [
590
+ {
591
+ "resourceTypeId": 2,
592
+ "toolOrder": 3
593
+ },
594
+ {
595
+ "resourceTypeId": 3,
596
+ "toolOrder": 0
597
+ },
598
+ {
599
+ "resourceTypeId": 6,
600
+ "toolOrder": 2
601
+ },
602
+ {
603
+ "resourceTypeId": 7,
604
+ "toolOrder": 1
605
+ },
606
+ {
607
+ "resourceTypeId": 10,
608
+ "toolOrder": 4
609
+ },
610
+ {
611
+ "resourceTypeId": 21,
612
+ "toolOrder": 5
613
+ }
614
+ ]
615
+ },
616
+ "settings": {
617
+ "nonAccessible": false,
618
+ "fontSize": 1,
619
+ "canvasControls": [
620
+ {
621
+ "label": "Move",
622
+ "icon": "Bold",
623
+ "text": "Move",
624
+ "identifier": "move",
625
+ "value": "move",
626
+ "selected": true
627
+ },
628
+ {
629
+ "label": "Delete",
630
+ "icon": "Bold",
631
+ "text": "Delete",
632
+ "identifier": "delete",
633
+ "value": "delete",
634
+ "selected": true
635
+ },
636
+ {
637
+ "label": "Undo",
638
+ "icon": "Bold",
639
+ "text": "Undo",
640
+ "identifier": "undo",
641
+ "value": "undo",
642
+ "selected": true
643
+ },
644
+ {
645
+ "label": "Redo",
646
+ "icon": "Bold",
647
+ "text": "Redo",
648
+ "identifier": "redo",
649
+ "value": "redo",
650
+ "selected": true
651
+ },
652
+ {
653
+ "label": "Clear all",
654
+ "icon": "Bold",
655
+ "text": "Clear all",
656
+ "identifier": "clearAll",
657
+ "value": "clearAll",
658
+ "selected": true
659
+ }
660
+ ],
661
+ "canvasTools": [
662
+ {
663
+ "label": "Text",
664
+ "icon": "Bold",
665
+ "text": "Text",
666
+ "identifier": "text",
667
+ "value": "text",
668
+ "selected": true
669
+ },
670
+ {
671
+ "label": "Pen",
672
+ "icon": "Bold",
673
+ "text": "Pen",
674
+ "identifier": "pen",
675
+ "value": "pen",
676
+ "selected": true
677
+ },
678
+ {
679
+ "label": "Highlighter",
680
+ "icon": "Bold",
681
+ "text": "Highlighter",
682
+ "identifier": "highlighter",
683
+ "value": "highlighter",
684
+ "selected": true
685
+ },
686
+ {
687
+ "label": "Image",
688
+ "icon": "Bold",
689
+ "text": "Image",
690
+ "identifier": "image",
691
+ "value": "image",
692
+ "selected": true
693
+ },
694
+ {
695
+ "label": "Shapes",
696
+ "icon": "Bold",
697
+ "text": "Shapes",
698
+ "identifier": "shapes",
699
+ "value": "shapes",
700
+ "selected": true
701
+ },
702
+ {
703
+ "label": "Stamps",
704
+ "icon": "Bold",
705
+ "text": "Stamps",
706
+ "identifier": "stamps",
707
+ "value": "stamps",
708
+ "selected": true
709
+ },
710
+ {
711
+ "label": "Number bond",
712
+ "icon": "Bold",
713
+ "text": "Number bond",
714
+ "identifier": "numberBond",
715
+ "value": "numberBond",
716
+ "selected": false
717
+ },
718
+ {
719
+ "label": "Unifix Cube",
720
+ "icon": "Bold",
721
+ "text": "Unifix Cube",
722
+ "identifier": "unifixCube",
723
+ "value": "unifixCube",
724
+ "selected": false
725
+ },
726
+ {
727
+ "label": "Diagrams",
728
+ "icon": "Bold",
729
+ "text": "Diagrams",
730
+ "identifier": "diagrams",
731
+ "value": "diagrams",
732
+ "selected": false
733
+ },
734
+ {
735
+ "label": "Array",
736
+ "icon": "Bold",
737
+ "text": "Array",
738
+ "identifier": "array",
739
+ "value": "array",
740
+ "selected": false
741
+ },
742
+ {
743
+ "label": "Number line",
744
+ "icon": "Bold",
745
+ "text": "Number line",
746
+ "identifier": "numberLine",
747
+ "value": "numberLine",
748
+ "selected": false
749
+ },
750
+ {
751
+ "label": "Fraction bars",
752
+ "icon": "Bold",
753
+ "text": "Fraction bars",
754
+ "identifier": "fractionBars",
755
+ "value": "fractionBars",
756
+ "selected": false
757
+ },
758
+ {
759
+ "label": "Protractor",
760
+ "icon": "Bold",
761
+ "text": "Protractor",
762
+ "identifier": "protractor",
763
+ "value": "protractor",
764
+ "selected": false
765
+ },
766
+ {
767
+ "label": "Table",
768
+ "icon": "Bold",
769
+ "text": "Table",
770
+ "identifier": "table",
771
+ "value": "table",
772
+ "selected": false
773
+ },
774
+ {
775
+ "label": "Grids",
776
+ "icon": "Bold",
777
+ "text": "Grids",
778
+ "identifier": "grids",
779
+ "value": "grids",
780
+ "selected": false
781
+ },
782
+ {
783
+ "label": "Equation editor",
784
+ "icon": "Bold",
785
+ "text": "Equation editor",
786
+ "identifier": "equationEditor",
787
+ "value": "equationEditor",
788
+ "selected": false
789
+ },
790
+ {
791
+ "label": "Algebra tiles",
792
+ "icon": "Bold",
793
+ "text": "Algebra tiles",
794
+ "identifier": "algebraTiles",
795
+ "value": "algebraTiles",
796
+ "selected": false
797
+ }
798
+ ],
799
+ "defaultCanvasTool": "pen",
800
+ "sentenceFrames": [
801
+ {
802
+ "text": "The strategy I’m going to use is",
803
+ "selected": true,
804
+ "id": "1"
805
+ },
806
+ {
807
+ "text": "First, I will",
808
+ "selected": true,
809
+ "id": "2"
810
+ },
811
+ {
812
+ "text": "Secondly, I will",
813
+ "selected": true,
814
+ "id": "3"
815
+ },
816
+ {
817
+ "text": "I will check my work by",
818
+ "selected": true,
819
+ "id": "4"
820
+ },
821
+ {
822
+ "text": "If my strategy is not working, I will",
823
+ "selected": true,
824
+ "id": "5"
825
+ }
826
+ ],
827
+ "strategies": [
828
+ {
829
+ "text": "Create a model",
830
+ "selected": true,
831
+ "videoData": studentView ? {
832
+ "description": "",
833
+ "error": false,
834
+ "fileKey": "thinkSphere/resources/ngie_predefined_strategy_1.mp4",
835
+ "fileName": "Create_a_model",
836
+ "mediaCredits": "",
837
+ "originalName": "ngie_predefined_strategy_1.mp4",
838
+ "size": "",
839
+ "type": "video/mp4",
840
+ "uploadUrl": "https://itemengine-file-management.itemengine-qa.il-apps.com/api/files/document?key=thinkSphere/resources/ngie_predefined_strategy_1.mp4"
841
+ } : {
842
+ "fileName": "",
843
+ "size": "",
844
+ "type": "",
845
+ "uploadUrl": "",
846
+ "fileKey": "",
847
+ "originalName": "",
848
+ "description": "",
849
+ "mediaCredits": "",
850
+ "error": false
851
+ },
852
+ "id": "1"
853
+ },
854
+ {
855
+ "text": "Look for a pattern",
856
+ "selected": true,
857
+ "videoData": {
858
+ "fileName": "",
859
+ "size": "",
860
+ "type": "",
861
+ "uploadUrl": "",
862
+ "fileKey": "",
863
+ "originalName": "",
864
+ "description": "",
865
+ "mediaCredits": "",
866
+ "error": false
867
+ },
868
+ "id": "2"
869
+ },
870
+ {
871
+ "text": "Guess, check, and revise",
872
+ "selected": true,
873
+ "videoData": {
874
+ "fileName": "",
875
+ "size": "",
876
+ "type": "",
877
+ "uploadUrl": "",
878
+ "fileKey": "",
879
+ "originalName": "",
880
+ "description": "",
881
+ "mediaCredits": "",
882
+ "error": false
883
+ },
884
+ "id": "3"
885
+ },
886
+ {
887
+ "text": "Try with friendlier numbers",
888
+ "selected": true,
889
+ "videoData": {
890
+ "fileName": "",
891
+ "size": "",
892
+ "type": "",
893
+ "uploadUrl": "",
894
+ "fileKey": "",
895
+ "originalName": "",
896
+ "description": "",
897
+ "mediaCredits": "",
898
+ "error": false
899
+ },
900
+ "id": "4"
901
+ },
902
+ {
903
+ "text": "Show with an equation",
904
+ "selected": true,
905
+ "videoData": {
906
+ "fileName": "",
907
+ "size": "",
908
+ "type": "",
909
+ "uploadUrl": "",
910
+ "fileKey": "",
911
+ "originalName": "",
912
+ "description": "",
913
+ "mediaCredits": "",
914
+ "error": false
915
+ },
916
+ "id": "5"
917
+ }
918
+ ],
919
+ "backgroundImg": studentView ? {
920
+ "description": "",
921
+ "fileKey": "prompt/document/195e9660-d2ff-44c1-ab7b-f257b3804d8d.png",
922
+ "mediaCredits": "",
923
+ "name": "testtest.png",
924
+ "originalName": "testtest.png",
925
+ "size": 10235,
926
+ "type": "image/png",
927
+ "uploadUrl": "https://itemengine-file-management.itemengine-qa.il-apps.com/api/files/document?key=prompt/document/195e9660-d2ff-44c1-ab7b-f257b3804d8d.png"
928
+ } : {
929
+ "type": "",
930
+ "uploadUrl": "",
931
+ "width": "",
932
+ "height": "",
933
+ "name": "",
934
+ "originalName": ""
935
+ },
936
+ "whiteboardPages": [
937
+ {
938
+ "isImage": false,
939
+ "backgroundImg": {
940
+ "url": "",
941
+ "fileName": "",
942
+ "imageOpacity": 100,
943
+ "imageAlignment": "center",
944
+ "imageAltText": ""
945
+ }
946
+ }
947
+ ],
948
+ "equationEditorToolGroups": [
949
+ {
950
+ "label": "Numpad",
951
+ "key": "numpadSymbols",
952
+ "isSelected": true,
953
+ "selectedButtons": [
954
+ "one",
955
+ "two",
956
+ "three",
957
+ "four",
958
+ "five",
959
+ "six",
960
+ "seven",
961
+ "eight",
962
+ "nine",
963
+ "zero",
964
+ "decimal",
965
+ "comma",
966
+ "plus",
967
+ "minus",
968
+ "multiply",
969
+ "division",
970
+ "equalTo",
971
+ "moveLeft",
972
+ "moveRight",
973
+ "clear",
974
+ "clearAll",
975
+ "questionMark"
976
+ ]
977
+ },
978
+ {
979
+ "label": "Keypad",
980
+ "key": "keypadSymbols",
981
+ "isSelected": true,
982
+ "selectedButtons": [
983
+ "q",
984
+ "w",
985
+ "e",
986
+ "r",
987
+ "t",
988
+ "y",
989
+ "u",
990
+ "i",
991
+ "o",
992
+ "p",
993
+ "a",
994
+ "s",
995
+ "d",
996
+ "f",
997
+ "g",
998
+ "h",
999
+ "j",
1000
+ "k",
1001
+ "l",
1002
+ "caps",
1003
+ "z",
1004
+ "x",
1005
+ "c",
1006
+ "v",
1007
+ "b",
1008
+ "n",
1009
+ "m",
1010
+ "moveUp",
1011
+ "clear",
1012
+ "comma",
1013
+ "decimal",
1014
+ "space",
1015
+ "explanationMark",
1016
+ "questionMark",
1017
+ "moveLeft",
1018
+ "moveDown",
1019
+ "moveRight"
1020
+ ]
1021
+ },
1022
+ {
1023
+ "label": "Intermediate",
1024
+ "key": "intermediate",
1025
+ "isSelected": true,
1026
+ "selectedButtons": [
1027
+ "superscript",
1028
+ "subscript",
1029
+ "square",
1030
+ "fraction",
1031
+ "mixedfraction",
1032
+ "sqrt",
1033
+ "cubeRoot",
1034
+ "lessThan",
1035
+ "greaterThan",
1036
+ "lessThanEqual",
1037
+ "greaterThanEqual",
1038
+ "percentage",
1039
+ "dollar",
1040
+ "degree",
1041
+ "colonration",
1042
+ "absolutevalue",
1043
+ "pi",
1044
+ "groupinparathesis",
1045
+ "x",
1046
+ "y",
1047
+ "dotMultiplier"
1048
+ ]
1049
+ },
1050
+ {
1051
+ "label": "Primary",
1052
+ "key": "primary",
1053
+ "isSelected": true,
1054
+ "selectedButtons": [
1055
+ "fraction",
1056
+ "mixedfraction",
1057
+ "lessThan",
1058
+ "greaterThan",
1059
+ "questionMark",
1060
+ "dollar",
1061
+ "cents",
1062
+ "degree",
1063
+ "colonration",
1064
+ "groupinparathesis",
1065
+ "superscript",
1066
+ "subscript"
1067
+ ]
1068
+ },
1069
+ {
1070
+ "label": "General",
1071
+ "key": "general",
1072
+ "isSelected": true,
1073
+ "selectedButtons": [
1074
+ "questionMark",
1075
+ "dollar",
1076
+ "cents",
1077
+ "colonration"
1078
+ ]
1079
+ },
1080
+ {
1081
+ "label": "Common",
1082
+ "key": "common",
1083
+ "isSelected": true,
1084
+ "selectedButtons": [
1085
+ "x",
1086
+ "y",
1087
+ "square",
1088
+ "superscript",
1089
+ "subscript",
1090
+ "plusminus",
1091
+ "fraction",
1092
+ "mixedfraction",
1093
+ "sqrt",
1094
+ "cubeRoot",
1095
+ "nsqrt",
1096
+ "lessThan",
1097
+ "greaterThan",
1098
+ "muchLessThan",
1099
+ "muchGreaterThan",
1100
+ "percentage",
1101
+ "absolutevalue",
1102
+ "therefore",
1103
+ "infinity",
1104
+ "colonration"
1105
+ ]
1106
+ },
1107
+ {
1108
+ "label": "Algebra",
1109
+ "key": "algebra",
1110
+ "isSelected": true,
1111
+ "selectedButtons": [
1112
+ "x",
1113
+ "y",
1114
+ "sqrt",
1115
+ "fraction",
1116
+ "mixedfraction",
1117
+ "superscript",
1118
+ "subscript",
1119
+ "nsqrt",
1120
+ "plusminus",
1121
+ "absolutevalue",
1122
+ "pi",
1123
+ "infinity",
1124
+ "lessThan",
1125
+ "greaterThan",
1126
+ "lessThanEqual",
1127
+ "greaterThanEqual",
1128
+ "approxEqualTo",
1129
+ "notEqualTo",
1130
+ "groupinparathesis",
1131
+ "groupinbrackets"
1132
+ ]
1133
+ },
1134
+ {
1135
+ "label": "Geo",
1136
+ "key": "geo",
1137
+ "isSelected": true,
1138
+ "selectedButtons": [
1139
+ "squareShape",
1140
+ "bigCircle",
1141
+ "bigTriangleUp",
1142
+ "parallelogram",
1143
+ "parallelTo",
1144
+ "notParallel",
1145
+ "perpendicularTo",
1146
+ "similarTo",
1147
+ "congruentTo",
1148
+ "angle",
1149
+ "measureOfAngle",
1150
+ "arc",
1151
+ "underSim",
1152
+ "topLeftArrow",
1153
+ "topRightArrow",
1154
+ "topDoubleSidedArrow",
1155
+ "prime",
1156
+ "doublePrime",
1157
+ "degree",
1158
+ "pi",
1159
+ "superscript",
1160
+ "topLineSegment",
1161
+ "recurringDecimal"
1162
+ ]
1163
+ },
1164
+ {
1165
+ "label": "Compare",
1166
+ "key": "compare",
1167
+ "isSelected": true,
1168
+ "selectedButtons": [
1169
+ "lessThan",
1170
+ "greaterThan",
1171
+ "lessThanEqual",
1172
+ "greaterThanEqual",
1173
+ "approxEqualTo",
1174
+ "notEqualTo",
1175
+ "notLessThan",
1176
+ "notGreaterThan",
1177
+ "muchLessThan",
1178
+ "muchGreaterThan",
1179
+ "propto",
1180
+ "similarTo",
1181
+ "similarEqual",
1182
+ "notSimilarTo"
1183
+ ]
1184
+ },
1185
+ {
1186
+ "label": "Matrices",
1187
+ "key": "matrix",
1188
+ "isSelected": true,
1189
+ "selectedButtons": [
1190
+ "insertRowInMatrix",
1191
+ "insertColumnInMatrix",
1192
+ "twoByTwoMatrixBoundedBrackets",
1193
+ "threeByThreeMatrixBoundedBrackets",
1194
+ "dotsBottom",
1195
+ "matrix",
1196
+ "diagonalDots",
1197
+ "verticalDots",
1198
+ "superscript",
1199
+ "subscript",
1200
+ "factorial",
1201
+ "dotMultiplier",
1202
+ "matrixBoundedBraces",
1203
+ "matrixBoundedVerticalLines",
1204
+ "matrixBoundedDoubleVerticalLines"
1205
+ ]
1206
+ },
1207
+ {
1208
+ "label": "Set notation",
1209
+ "key": "setNotation",
1210
+ "isSelected": false,
1211
+ "selectedButtons": [
1212
+ "memberOf",
1213
+ "notMemberOf",
1214
+ "contains",
1215
+ "notContain",
1216
+ "subset",
1217
+ "superset",
1218
+ "subsetEq",
1219
+ "supersetEq",
1220
+ "notSubset",
1221
+ "notSuperset",
1222
+ "emptySet",
1223
+ "union",
1224
+ "intersection",
1225
+ "factorial",
1226
+ "comma",
1227
+ "colonration",
1228
+ "backSlash",
1229
+ "forwardSlash",
1230
+ "precede",
1231
+ "succeed",
1232
+ "precedingEqual",
1233
+ "succeedingEqual",
1234
+ "groupinparathesis",
1235
+ "groupinbraces",
1236
+ "squareRoundBrackets",
1237
+ "roundSquareBrackets"
1238
+ ]
1239
+ },
1240
+ {
1241
+ "label": "Trig",
1242
+ "key": "trig",
1243
+ "isSelected": false,
1244
+ "selectedButtons": [
1245
+ "sine",
1246
+ "cosineT",
1247
+ "tangentT",
1248
+ "cot",
1249
+ "sec",
1250
+ "cosec",
1251
+ "sinInverse",
1252
+ "cosInverse",
1253
+ "tanInverse",
1254
+ "cotInverse",
1255
+ "secInverse",
1256
+ "cosecInverse"
1257
+ ]
1258
+ },
1259
+ {
1260
+ "label": "Greek Symbols",
1261
+ "key": "greekSymbols",
1262
+ "isSelected": false,
1263
+ "selectedButtons": [
1264
+ "alpha",
1265
+ "beta",
1266
+ "gamma",
1267
+ "delta",
1268
+ "varepsilon",
1269
+ "zeta",
1270
+ "eta",
1271
+ "theta",
1272
+ "iota",
1273
+ "kappa",
1274
+ "lambda",
1275
+ "mu",
1276
+ "nu",
1277
+ "xi",
1278
+ "pi",
1279
+ "rho",
1280
+ "sigma",
1281
+ "tau",
1282
+ "upsilon",
1283
+ "phi",
1284
+ "chi",
1285
+ "psi",
1286
+ "omega",
1287
+ "digamma",
1288
+ "gammaUpper",
1289
+ "deltaUppercase",
1290
+ "thetaUpper",
1291
+ "lambdaUpper",
1292
+ "xiUpper",
1293
+ "piUpper",
1294
+ "sigmaUpper",
1295
+ "upsilonUpper",
1296
+ "phiUpper",
1297
+ "psiUpper",
1298
+ "omegaUpper"
1299
+ ]
1300
+ },
1301
+ {
1302
+ "label": "Measurement",
1303
+ "key": "measurement",
1304
+ "isSelected": false,
1305
+ "selectedButtons": [
1306
+ "millilitre",
1307
+ "litre",
1308
+ "fluidOunce",
1309
+ "pint",
1310
+ "gallon",
1311
+ "millimeter",
1312
+ "centimeter",
1313
+ "meter",
1314
+ "kilometer",
1315
+ "inch",
1316
+ "foot",
1317
+ "mile",
1318
+ "microgram",
1319
+ "milligram",
1320
+ "gram",
1321
+ "kilogram",
1322
+ "ounce",
1323
+ "pound",
1324
+ "millisecond",
1325
+ "second"
1326
+ ]
1327
+ },
1328
+ {
1329
+ "label": "Delimiters",
1330
+ "key": "extendedDelimiters",
1331
+ "isSelected": false,
1332
+ "selectedButtons": [
1333
+ "lfloor",
1334
+ "rfloor",
1335
+ "lceil",
1336
+ "rceil",
1337
+ "wedge",
1338
+ "vee",
1339
+ "equivalance",
1340
+ "logicalNot",
1341
+ "existentialQuantifier",
1342
+ "forAll",
1343
+ "oplus",
1344
+ "upwardsArrow",
1345
+ "openCurlBracket",
1346
+ "closedCurlBracket",
1347
+ "groupinparathesis",
1348
+ "groupinbrackets",
1349
+ "angleBracket",
1350
+ "groupinbraces",
1351
+ "singleSquareOpen",
1352
+ "singleSquareClose"
1353
+ ]
1354
+ },
1355
+ {
1356
+ "label": "Calculus",
1357
+ "key": "calculus",
1358
+ "isSelected": false,
1359
+ "selectedButtons": [
1360
+ "limitXTo",
1361
+ "deltaUppercase",
1362
+ "integral",
1363
+ "doubleIntegral",
1364
+ "tripleIntegral",
1365
+ "summation",
1366
+ "partialDerivative",
1367
+ "nabla",
1368
+ "fraction",
1369
+ "iota",
1370
+ "textJ",
1371
+ "textK",
1372
+ "textD",
1373
+ "textF",
1374
+ "groupinparathesis",
1375
+ "varepsilon",
1376
+ "eulersNumber",
1377
+ "lineIntegral",
1378
+ "closedSurfaceIntegral",
1379
+ "closedVolumeIntegral"
1380
+ ]
1381
+ },
1382
+ {
1383
+ "label": "Other Symbols",
1384
+ "key": "otherSymbols",
1385
+ "isSelected": false,
1386
+ "selectedButtons": [
1387
+ "longdivision",
1388
+ "letterR",
1389
+ "vert",
1390
+ "propto",
1391
+ "dotMultiplier",
1392
+ "textA",
1393
+ "textB",
1394
+ "textABC",
1395
+ "forAll",
1396
+ "iota",
1397
+ "infinity",
1398
+ "degree",
1399
+ "forwardSlash"
1400
+ ]
1401
+ }
1402
+ ],
1403
+ "customizeStamp": [
1404
+ {
1405
+ "defaultStamp": true,
1406
+ "selected": true,
1407
+ "id": "1",
1408
+ "stampUrl": "StampIcon1",
1409
+ "name": "Stamp 1"
1410
+ },
1411
+ {
1412
+ "defaultStamp": true,
1413
+ "selected": true,
1414
+ "id": "2",
1415
+ "stampUrl": "StampIcon2",
1416
+ "name": "Stamp 2"
1417
+ },
1418
+ {
1419
+ "defaultStamp": true,
1420
+ "selected": true,
1421
+ "id": "3",
1422
+ "stampUrl": "StampIcon3",
1423
+ "name": "Stamp 3"
1424
+ },
1425
+ {
1426
+ "defaultStamp": true,
1427
+ "selected": true,
1428
+ "id": "4",
1429
+ "stampUrl": "StampIcon4",
1430
+ "name": "Stamp 4"
1431
+ },
1432
+ {
1433
+ "defaultStamp": true,
1434
+ "selected": true,
1435
+ "id": "5",
1436
+ "stampUrl": "StampIcon5",
1437
+ "name": "Stamp 5"
1438
+ },
1439
+ {
1440
+ "defaultStamp": true,
1441
+ "selected": true,
1442
+ "id": "6",
1443
+ "stampUrl": "StampIcon6",
1444
+ "name": "Stamp 6"
1445
+ },
1446
+ {
1447
+ "defaultStamp": true,
1448
+ "selected": true,
1449
+ "id": "7",
1450
+ "stampUrl": "StampIcon7",
1451
+ "name": "Stamp 7"
1452
+ },
1453
+ {
1454
+ "defaultStamp": true,
1455
+ "selected": true,
1456
+ "id": "8",
1457
+ "stampUrl": "StampIcon8",
1458
+ "name": "Stamp 8"
1459
+ },
1460
+ {
1461
+ "defaultStamp": true,
1462
+ "selected": true,
1463
+ "id": "9",
1464
+ "stampUrl": "StampIcon9",
1465
+ "name": "Stamp 9"
1466
+ },
1467
+ {
1468
+ "defaultStamp": true,
1469
+ "selected": true,
1470
+ "id": "10",
1471
+ "stampUrl": "StampIcon10",
1472
+ "name": "Stamp 10"
1473
+ },
1474
+ {
1475
+ "defaultStamp": true,
1476
+ "selected": true,
1477
+ "id": "11",
1478
+ "stampUrl": "StampIcon11",
1479
+ "name": "Stamp 11"
1480
+ },
1481
+ {
1482
+ "defaultStamp": true,
1483
+ "selected": true,
1484
+ "id": "12",
1485
+ "stampUrl": "StampIcon12",
1486
+ "name": "Stamp 12"
1487
+ },
1488
+ {
1489
+ "defaultStamp": true,
1490
+ "selected": true,
1491
+ "id": "13",
1492
+ "stampUrl": "StampIcon13",
1493
+ "name": "Stamp 13"
1494
+ }
1495
+ ]
1496
+ },
1497
+ "content": {
1498
+ "questionItemInstruction": "<p>question instruction text</p>\n"
1499
+ },
1500
+ "penaltyPoints": null,
1501
+ "minScoreIfAttempted": null,
1502
+ "teacherGuideline": "",
1503
+ "scoringGuidance": "",
1504
+ "sampleResponse": "",
1505
+ "resources": []
1506
+ }
1507
+ ],
1508
+ "resources": [],
1509
+ "statusId": 1,
1510
+ "version": 1
1511
+ }
1512
+ }
1513
+ },
1514
+ "query": "mutation setItem($input: SetItemInput) {\n setItem(input: $input) {\n success\n statusCode\n message\n data {\n settings\n id\n version\n contentVersion\n contentId\n title\n statusId\n instruction\n description\n authorName\n createdAt\n updatedAt\n createdBy\n referenceId\n questionId\n questionTags {\n id\n name\n type\n __typename\n }\n metadata {\n id\n metaKey\n metaKeyValue\n __typename\n }\n questions {\n id\n instruction\n points\n typeId\n questionXml\n referenceId\n updatedAt\n createdBy\n scoringTypeId\n teacherGuideline\n penaltyPoints\n minScoreIfAttempted\n minScoreType\n penaltyPointType\n isAutoPenaltySetting\n isNegativeRounded\n specificPenaltyType\n penaltyPointsForEach\n isAutoScored\n createdAt\n scoringGuidance\n sampleResponse\n resources {\n id\n name\n referenceId\n resourceTypeId\n metadata\n settings\n content\n type\n isCustomResource\n __typename\n }\n type {\n id\n name\n __typename\n }\n serialNo\n metadata\n correctResponse {\n id\n questionPartId\n xmlIdentifier\n mappedKey\n isCaseSensitive\n answerSetId\n alternateId\n __typename\n }\n mappedCorrectResponse {\n id\n questionPartId\n mappedKey\n mappedValue\n xmlIdentifier\n answerSetId\n alternateId\n __typename\n }\n defaultResponse {\n id\n questionPartId\n xmlIdentifier\n responseText\n __typename\n }\n answerSets {\n id\n points\n cellFillCount\n matchPositionOfSelectedCells\n __typename\n }\n __typename\n }\n resources {\n id\n name\n referenceId\n resourceTypeId\n serialNo\n metadata\n createdAt\n updatedAt\n createdBy\n resourceList {\n id\n name\n referenceId\n resourceTypeId\n metadata\n settings\n content\n type\n isCustomResource\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n}\n"
1515
+ }
1516
+ }).then((resp) => {
1517
+ if (resp.status.toString().startsWith('5') && retries > 0) {
1518
+ cy.log('ENCOUNTERED A 5xx ERROR');
1519
+ }
1520
+ var currCreatedAndUpdatedAtDate = [];
1521
+ currCreatedAndUpdatedAtDate.push(resp.body.data.setItem.data.createdAt);
1522
+ currCreatedAndUpdatedAtDate.push(resp.body.data.setItem.data.updatedAt);
1523
+ createdAndUpdatedAtDate.push(currCreatedAndUpdatedAtDate);
1524
+ questionAndResourceReferenceIds.push(currentReferenceIds);
1525
+ itemReferenceIds.push(itemName);
1526
+ cy.log(createdAndUpdatedAtDate);
1527
+ cy.log(questionAndResourceReferenceIds);
1528
+ cy.log(itemReferenceIds);
1529
+ });
1530
+ });
1531
+ });
1532
+
1533
+ Cypress.Commands.add('deleteThinkSphereItem', (itemName) => {
1534
+ const token = window.localStorage.getItem('ngie_accessToken');
1535
+ const firstName = window.localStorage.getItem('ngie_firstName');
1536
+ const lastName = window.localStorage.getItem('ngie_lastName');
1537
+ const userID = window.localStorage.getItem('ngie_userId');
1538
+
1539
+ cy.request({
1540
+ headers: {
1541
+ Authorization: `${token}`,
1542
+ 'content-type': 'application/json',
1543
+ },
1544
+ method: 'POST',
1545
+ url: `${Cypress.env('SANDBOX_GRAPHQL_SERVICES_URL')}/`,
1546
+ body: [
1547
+ {
1548
+ "operationName": "generateSignedRequest",
1549
+ "variables": {
1550
+ "input": {
1551
+ "service": "author",
1552
+ "type": "item",
1553
+ "userId": userID,
1554
+ "requestPacket": {
1555
+ "mode": "thinkSphereItemList",
1556
+ "config": {
1557
+ "loaderType": "full-screen",
1558
+ "itemList": {
1559
+ "limit": 20,
1560
+ "toolbar": {
1561
+ "add": true
1562
+ },
1563
+ "filter": {
1564
+ "enableFilter": true,
1565
+ "filterBackdrop": "div",
1566
+ "showFilterPopup": false
1567
+ },
1568
+ "actions": {
1569
+ "showActionsColumn": true,
1570
+ "options": [
1571
+ {
1572
+ "id": "delete",
1573
+ "label": "Delete"
1574
+ },
1575
+ {
1576
+ "id": "duplicate",
1577
+ "label": "Duplicate/New Version"
1578
+ }
1579
+ ]
1580
+ }
1581
+ },
1582
+ "isCustomLoader": true,
1583
+ "customLoaderId": "globalLoader"
1584
+ },
1585
+ "user": {
1586
+ "firstName": firstName,
1587
+ "lastName": lastName,
1588
+ "id": userID
1589
+ },
1590
+ "systemGeneratedItems": {
1591
+ "referenceIds": [""]
1592
+ }
1593
+ },
1594
+ "domain": domainName
1595
+ }
1596
+ },
1597
+ "query": "query generateSignedRequest($input: GenerateSignedRequest) {\n generateSignedRequest(input: $input) {\n success\n signedRequest {\n authentication {\n timestamp\n domain\n consumerKey\n signature\n userId\n __typename\n }\n request\n __typename\n }\n __typename\n }\n}\n"
1598
+ }
1599
+ ]
1600
+ }).then((resp) => {
1601
+ if (resp.status.toString().startsWith('5') && retries > 0) {
1602
+ cy.log('ENCOUNTERED A 5xx ERROR');
1603
+ }
1604
+ const currRequest = resp.body[0].data.generateSignedRequest.signedRequest.request;
1605
+ const currAuthentication = resp.body[0].data.generateSignedRequest.signedRequest.authentication;
1606
+ delete currAuthentication.userId;
1607
+ delete currAuthentication.__typename;
1608
+ delete currRequest.__typename;
1609
+ cy.request({
1610
+ headers: {
1611
+ Authorization: `${token}`,
1612
+ 'content-type': "application/json",
1613
+ Origin: `${Cypress.env('SANDBOX_SERVICES_URL')}`,
1614
+ },
1615
+ method: 'POST',
1616
+ url: `${Cypress.env('SERVICES_URL')}${Cypress.env('GRAPHQL_URL')}/`,
1617
+ body: {
1618
+ "operationName": "deleteItem",
1619
+ "variables": {
1620
+ "input": {
1621
+ "authentication": currAuthentication,
1622
+ "request": currRequest,
1623
+ "service": "author",
1624
+ "userRequest": {
1625
+ "itemReference": `${itemName}`
1626
+ }
1627
+ }
1628
+ },
1629
+ "query": "mutation deleteItem($input: DeleteItemInput) {\n deleteItem(input: $input) {\n message\n success\n __typename\n }\n}\n"
1630
+ }
1631
+ }).then((resp) => {
1632
+ if (resp.status.toString().startsWith('5') && retries > 0) {
1633
+ cy.log('ENCOUNTERED A 5xx ERROR');
1634
+ }
1635
+ });
1636
+ });
1637
+ });