itemengine-cypress-automation 1.0.372 → 1.0.373-bumpVersion1-77819a9.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 (275) 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 +39 -7
  5. package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
  6. package/cypress/e2e/ILC/ChartsBar/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +33 -0
  7. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +25 -25
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +37 -36
  9. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +37 -36
  10. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +37 -36
  11. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  12. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightBasic.js +26 -25
  13. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +39 -38
  14. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +31 -30
  15. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +35 -34
  16. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +247 -0
  17. package/cypress/e2e/ILC/ChartsBar/editTabBasicSection.js +37 -0
  18. package/cypress/e2e/ILC/ChartsBar/headerSection.js +50 -2
  19. package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +92 -0
  20. package/cypress/e2e/ILC/ChartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePointsLocked.js +220 -0
  21. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +25 -25
  22. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +47 -46
  23. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +25 -24
  24. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +25 -24
  25. package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
  26. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightBasic.js +25 -25
  27. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +24 -23
  28. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +21 -20
  29. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +48 -46
  30. package/cypress/e2e/ILC/ChartsLine/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePointsLocked.js +249 -0
  31. package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +3 -1
  32. package/cypress/e2e/ILC/ChartsLine/headerSection.js +18 -1
  33. package/cypress/e2e/ILC/ChartsLine/specifyCorrectAnswerSection.js +94 -0
  34. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
  35. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +2 -4
  36. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
  37. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerHeaderSectionAndButtons.js +2 -2
  38. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTab.js +1 -1
  39. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabSupportedFileTypes.js +6 -0
  40. package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerPreviewTabTranscript.js +2 -3
  41. package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
  42. package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +4 -4
  43. package/cypress/e2e/ILC/CkEditorInsertTable/tableDimension&FooterProperties.js +3 -3
  44. package/cypress/e2e/ILC/CkEditorInsertTable/tableStyle.js +11 -11
  45. package/cypress/e2e/ILC/CkEditorLink/uploadSection.js +1 -1
  46. package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +62 -4
  47. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +119 -10
  48. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabScoring.js +1 -0
  49. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +2 -0
  50. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
  51. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
  52. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/pagination.js +1 -1
  53. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +3 -0
  54. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +3 -0
  55. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
  56. package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
  57. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  58. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
  59. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +1 -3
  60. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +2 -2
  61. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
  62. package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
  63. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
  64. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/draggableOptions.js +2 -0
  65. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editQuestion.smoke.js +40 -0
  66. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
  67. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editQuestion.smoke.js +45 -0
  68. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
  69. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +1 -0
  70. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +3 -1
  71. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
  72. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +73 -0
  73. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +38 -0
  74. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +38 -0
  75. package/cypress/e2e/ILC/Graphing/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +87 -0
  76. package/cypress/e2e/ILC/Graphing/checkAddAlternativeButton.js +35 -0
  77. package/cypress/e2e/ILC/Graphing/editQuestion.smoke.js +28 -0
  78. package/cypress/e2e/ILC/Graphing/editTabBasicSection.js +38 -0
  79. package/cypress/e2e/ILC/Graphing/editTabScoringSection.js +1 -0
  80. package/cypress/e2e/ILC/Graphing/headerSection.js +36 -4
  81. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
  82. package/cypress/e2e/ILC/GridFill/addAlternateButton.js +40 -0
  83. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +210 -0
  84. package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +5 -6
  85. package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
  86. package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
  87. package/cypress/e2e/ILC/GridFill/headerSection.js +1 -3
  88. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +39 -0
  89. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  90. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +39 -0
  91. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +37 -0
  92. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +39 -0
  93. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +36 -0
  94. package/cypress/e2e/ILC/GridFill/scoring/checkLabelSaveAsYouGo.js +75 -0
  95. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +2 -1
  96. package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +2 -4
  97. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
  98. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +212 -0
  99. package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +29 -0
  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/manuallyAndNonScored.js +2 -4
  107. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsBasic.js +1 -1
  108. package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +237 -1
  109. package/cypress/e2e/ILC/ListOrderingDropdown/checkAddAlternativeButton.js +35 -0
  110. package/cypress/e2e/ILC/ListOrderingDropdown/editTabBasicSection.js +24 -0
  111. package/cypress/e2e/ILC/ListOrderingDropdown/headerSection.js +108 -0
  112. package/cypress/e2e/ILC/ListOrderingDropdown/manuallyAndNonScoredEditTab.js +2 -1
  113. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +2 -4
  114. package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +7 -12
  115. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +10 -14
  116. package/cypress/e2e/ILC/ListOrderingNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +52 -0
  117. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +215 -0
  118. package/cypress/e2e/ILC/ListOrderingNew/editTabBasicSection.js +23 -0
  119. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +36 -9
  120. package/cypress/e2e/ILC/ListOrderingNew/manuallyAndNonScoredEditTab.js +2 -0
  121. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +7 -23
  122. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +41 -0
  123. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +30 -0
  124. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +50 -0
  125. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +101 -0
  126. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +309 -0
  127. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/checkAddAlternativeButton.js +38 -0
  128. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabBasicSection.js +24 -0
  129. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +4 -1
  130. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/headerSection.js +36 -1
  131. package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +38 -41
  132. package/cypress/e2e/ILC/Matching/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +98 -0
  133. package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +210 -0
  134. package/cypress/e2e/ILC/Matching/checkAlternativeButton.js +38 -0
  135. package/cypress/e2e/ILC/Matching/clickAndDrop.js +5 -5
  136. package/cypress/e2e/ILC/Matching/draggableOptions.js +7 -0
  137. package/cypress/e2e/ILC/Matching/editQuestion.smoke.js +3 -2
  138. package/cypress/e2e/ILC/Matching/editTabBasicSection.js +41 -0
  139. package/cypress/e2e/ILC/Matching/headerSection.js +38 -12
  140. package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -15
  141. package/cypress/e2e/ILC/Matching/studentViewSettings.js +2 -0
  142. package/cypress/e2e/ILC/Matching/studentViewSettingsForGroupedLayout.js +1 -1
  143. package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +6 -6
  144. package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +208 -0
  145. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +2 -1
  146. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswer.js +1 -0
  147. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +100 -69
  148. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +1 -0
  149. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +79 -0
  150. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +42 -0
  151. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +42 -0
  152. package/cypress/e2e/ILC/NumberLine/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +75 -0
  153. package/cypress/e2e/ILC/NumberLine/checkAddAlternativeButton.js +32 -0
  154. package/cypress/e2e/ILC/NumberLine/editTabSection.js +38 -0
  155. package/cypress/e2e/ILC/NumberLine/headerSection.js +33 -4
  156. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +81 -0
  157. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +43 -0
  158. package/cypress/e2e/ILC/NumberLineLabel/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +43 -0
  159. package/cypress/e2e/ILC/NumberLineLabel/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +76 -0
  160. package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -1
  161. package/cypress/e2e/ILC/NumberLineLabel/checkAddAlternativeButton.js +34 -0
  162. package/cypress/e2e/ILC/NumberLineLabel/editTabSection.js +38 -0
  163. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +37 -5
  164. package/cypress/e2e/ILC/NumberLineLabel/manuallyAndNonScoredEditTab.js +2 -1
  165. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
  166. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +186 -0
  167. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +35 -51
  168. package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -4
  169. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +4 -1
  170. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +101 -70
  171. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +86 -0
  172. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +86 -0
  173. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  174. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -1
  175. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  176. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  177. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +10 -3
  178. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +4 -2
  179. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -3
  180. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  181. package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +4 -0
  182. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +64 -0
  183. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +2 -0
  184. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +2 -0
  185. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +64 -0
  186. package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +65 -0
  187. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  188. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  189. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  190. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +8 -0
  191. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -0
  192. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +2 -0
  193. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -0
  194. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -0
  195. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +2 -0
  196. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +2 -0
  197. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +27 -3
  198. package/cypress/e2e/ILC/TextEntryMath/headerSection.js +43 -0
  199. package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +0 -1
  200. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +231 -0
  201. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
  202. package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +54 -1
  203. package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +53 -2
  204. package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +145 -54
  205. package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
  206. package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +291 -0
  207. package/cypress/e2e/ILC/ThinkSphere/planPhase.js +91 -9
  208. package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +12 -12
  209. package/cypress/e2e/ILC/ThinkSphere/previewTabReviewSection.js +97 -0
  210. package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +35 -2
  211. package/cypress/e2e/ILC/ThinkSphere/studentViewPlanTabSection.js +393 -0
  212. package/cypress/e2e/ILC/ThinkSphere/studentViewReviewTabSection.js +141 -0
  213. package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +90 -2
  214. package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +34 -0
  215. package/cypress/e2e/ILC/UploadResponse/headerSection.js +38 -1
  216. package/cypress/e2e/ILC/UploadResponse/uploadResponsePreview.js +50 -13
  217. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +14 -29
  218. package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +16 -1
  219. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsBasic.js +27 -28
  220. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +31 -30
  221. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +24 -24
  222. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +39 -37
  223. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsBasic.js +22 -23
  224. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +31 -30
  225. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +25 -24
  226. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +31 -31
  227. package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +18 -19
  228. package/cypress/e2e/ILC/chartsDotsPlot/specifyCorrectAnswerSection.js +96 -0
  229. package/cypress/e2e/Sessions/fetchResponses.js +6 -6
  230. package/cypress/e2e/Sessions/saveResponseScores.js +2 -2
  231. package/cypress/pages/audioPlayerPage.js +47 -22
  232. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  233. package/cypress/pages/chartsBarPage.js +45 -0
  234. package/cypress/pages/chartsDotPlotPage.js +25 -0
  235. package/cypress/pages/chartsLinePage.js +28 -3
  236. package/cypress/pages/components/additionalSettingsPanel.js +1 -0
  237. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +5 -1
  238. package/cypress/pages/components/browseItemsPage.js +109 -2
  239. package/cypress/pages/components/chartsCommonComponent.js +6 -2
  240. package/cypress/pages/components/ckEditorEquationEditorComponent.js +5 -4
  241. package/cypress/pages/components/ckEditorInsertImageComponent.js +2 -2
  242. package/cypress/pages/components/ckEditorInsertTableComponent.js +3 -3
  243. package/cypress/pages/components/ckEditorLinkComponent.js +8 -9
  244. package/cypress/pages/components/colorPopupComponent.js +6 -0
  245. package/cypress/pages/components/commonComponents.js +4 -0
  246. package/cypress/pages/components/createQuestionBasePage.js +14 -1
  247. package/cypress/pages/components/defaultToolDropdown.js +1 -1
  248. package/cypress/pages/components/draggableOptionsSectionComponent.js +2 -0
  249. package/cypress/pages/components/editCategoryFlyout.js +2 -2
  250. package/cypress/pages/components/equationEditorSectionCommonComponent.js +10 -25
  251. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +28 -0
  252. package/cypress/pages/components/gridQuestionCommonComponent.js +50 -0
  253. package/cypress/pages/components/questionInstructionsComponent.js +2 -0
  254. package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -0
  255. package/cypress/pages/contentBlocksPage.js +2 -0
  256. package/cypress/pages/desmos3DGraphingPage.js +149 -4
  257. package/cypress/pages/desmosGeometryPage.js +184 -4
  258. package/cypress/pages/drawingResponsePage.js +2 -0
  259. package/cypress/pages/graphingPage.js +27 -8
  260. package/cypress/pages/gridFillPage.js +15 -6
  261. package/cypress/pages/imageHighlightPage.js +32 -0
  262. package/cypress/pages/listOrderingPage.js +40 -1
  263. package/cypress/pages/matchingPage.js +26 -7
  264. package/cypress/pages/numberLineLabelPage.js +31 -8
  265. package/cypress/pages/numberLinePage.js +19 -7
  266. package/cypress/pages/textEntryMathPage.js +24 -1
  267. package/cypress/pages/thinkSpherePage.js +637 -11
  268. package/cypress/pages/uploadResponsePage.js +17 -1
  269. package/cypress/pages/videoResponsePage.js +3 -0
  270. package/cypress/support/commands.js +9 -0
  271. package/cypress/support/helpers/createItem.js +22 -3
  272. package/cypress/support/helpers/utilities.js +14 -1
  273. package/package.json +3 -3
  274. /package/cypress/e2e/ILC/{ChartsDotsPlot → chartsDotsPlot}/checkAnswerFunctionalityForAllViews.js +0 -0
  275. /package/cypress/e2e/ILC/{ChartsDotsPlot → chartsDotsPlot}/editQuestion.smoke.js +0 -0
@@ -12,6 +12,23 @@ describe('Create item : ThinkSphere - Edit tab basics', () => {
12
12
  cy.loginAs('admin');
13
13
  });
14
14
 
15
+ describe('Create thinkSphere item - create item page', () => {
16
+ abortEarlySetup();
17
+ before(() => {
18
+ cy.visit('/item-engine/thinksphere/create-item');
19
+ });
20
+
21
+ thinkSpherePage.tests.verifyCreateItemHeaderSection();
22
+
23
+ thinkSpherePage.tests.verifyDefaultTab();
24
+
25
+ it('When user clicks on Add ThinkSphere question button, it should navigate to think sphere create question page', () => {
26
+ thinkSpherePage.steps.addThinkSphereQuestion();
27
+ utilities.verifyInnerText(thinkSpherePage.thinkSphereQuestionHeader(), 'ThinkSphere question');
28
+ });
29
+
30
+ });
31
+
15
32
  describe('Question instructions input field - Edit tab', () => {
16
33
  abortEarlySetup();
17
34
  before(() => {
@@ -20,6 +37,12 @@ describe('Create item : ThinkSphere - Edit tab basics', () => {
20
37
  });
21
38
 
22
39
  thinkSpherePage.tests.verifyQuestionInstructionsInputFieldEditTab();
40
+
41
+ it('When user add long text along with table in question instruction then height of question instruction should increase and horizontal scroll bar should appear', () => {
42
+ thinkSpherePage.steps.addQuestionInstructionInnerHTML('<table class="custom_author_table ie-table ie-table-bordered" border="1" style="width: 100%;"><tbody><tr><td>test</td><td>test</td><td>test</td><td>test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test&nbsp;test</td></tr><tr><td><br></td><td><br></td><td><br></td><td><br></td></tr><tr><td><br></td><td><br></td><td><br></td><td><br></td></tr></tbody></table><p><br><br>test<br></p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p>');
43
+ thinkSpherePage.steps.verifyQuestionInstructionIncreasedHeightAndScrollBar();
44
+ thinkSpherePage.steps.addQuestionInstructionInnerHTML('');
45
+ });
23
46
  });
24
47
 
25
48
  describe('Question instructions input field - Edit tab functionality', () => {
@@ -57,7 +80,7 @@ describe('Create item : ThinkSphere - Edit tab basics', () => {
57
80
  'border-style': 'solid',
58
81
  'border-color': 'rgb(107, 139, 255)',
59
82
  'border-radius': '8px',
60
- 'padding': '30px 12px 12px'
83
+ 'padding': '30px 9px 12px'
61
84
  });
62
85
  });
63
86
 
@@ -128,7 +151,7 @@ describe('Create item : ThinkSphere - Edit tab basics', () => {
128
151
  });
129
152
  });
130
153
 
131
- it.skip('Accessibility of Image Upload Section After upload', { tags: 'a11y' }, () => {
154
+ it('Accessibility of Image Upload Section After upload', { tags: 'a11y' }, () => {
132
155
  cy.checkAccessibility(thinkSpherePage.imageUploadSection(), { timeout: 15000 });
133
156
  });
134
157
  });
@@ -446,6 +469,27 @@ describe('Create item : ThinkSphere - Edit tab basics', () => {
446
469
  utilities.verifyElementVisibilityState(thinkSpherePage.ThinkSphereQuestionHeaderPencilIcon(), 'exist');
447
470
  });
448
471
 
472
+ it('When the user has saved think sphere question, \'Add \'Check your math\' question\' button should be visible',() => {
473
+ utilities.verifyInnerText(thinkSpherePage.addCheckMathQuestionButton(), 'Add \'Check your math\' question');
474
+ });
475
+
476
+ it('Verify \'Add \'Check your math\' question\' button', { tags: 'css' }, () => {
477
+ utilities.verifyCSS(thinkSpherePage.addCheckMathQuestionButton().parent(), {
478
+ 'color': css.color.primaryBtn,
479
+ 'background-color': css.color.lightThemeBtnBg,
480
+ 'font-size': css.fontSize.default,
481
+ 'font-weight': css.fontWeight.semibold,
482
+ 'padding': '12px 16px',
483
+ 'min-width': '264px',
484
+ });
485
+ });
486
+
487
+ it('When the user clicks on \'Add \'Check your math\' question button\' and click on cancel button, the user should be redirected back to the item preview page where the \'Add \'Check your math\' question\' button is available',() => {
488
+ thinkSpherePage.steps.clickOnAddCheckMathQuestionButton();
489
+ thinkSpherePage.steps.clickOnCancelButton();
490
+ utilities.verifyInnerText(thinkSpherePage.addCheckMathQuestionButton(), 'Add \'Check your math\' question');
491
+ });
492
+
449
493
  it('When the user selects an item from the review item bank and saves it, the item should be displayed in the thinkSphere item page',() => {
450
494
  thinkSpherePage.steps.clickOnAddCheckMathQuestionButton();
451
495
  thinkSpherePage.steps.clickOnFirstAvailableItemLink();
@@ -501,6 +545,13 @@ describe('Create item : ThinkSphere - Edit tab basics', () => {
501
545
  thinkSpherePage.steps.clickOnSaveButton();
502
546
  });
503
547
 
548
+
549
+ it(`Clicking on edit button icon should take us to edit question page`, () => {
550
+ thinkSpherePage.steps.clickOnEditButton();
551
+ utilities.verifyElementVisibilityState(thinkSpherePage.questionInstructionsWrapper(), 'exist');
552
+ thinkSpherePage.steps.clickOnSaveButton();
553
+ });
554
+
504
555
  it('Clicking on delete icon should remove the math question', () => {
505
556
  thinkSpherePage.steps.clickOnDeleteButton();
506
557
  utilities.verifyElementVisibilityState(thinkSpherePage.thinkSphereMathQuestionHeaderDeleteIcon(), 'notExist');
@@ -1,6 +1,8 @@
1
1
  import { thinkSpherePage } from '../../../pages/thinkSpherePage';
2
+ import { browseItemsPage } from "../../../pages/components/browseItemsPage";
2
3
  import abortEarlySetup from "../../../support/helpers/abortEarly";
3
4
  import utilities from "../../../support/helpers/utilities";
5
+ const css = Cypress.env('css');
4
6
 
5
7
  const editedStrategies = [
6
8
  'Edited strategy 1',
@@ -60,11 +62,15 @@ const editedFontSize = 'Normal';
60
62
  describe('Edit Question and edit item', () => {
61
63
  before(() => {
62
64
  cy.loginAs('admin');
63
- cy.deleteThinkSphereItem('~zzz item name');
64
- cy.createThinkSphereItem('~zzz item name');
65
+ cy.deleteThinkSphereItem('~zzz item name test test test');
66
+ cy.createThinkSphereItem('~zzz item name test test test', true);
65
67
  thinkSpherePage.steps.visitThinksphereBrowseItemsPage();
66
68
  });
67
69
 
70
+ after(() => {
71
+ cy.deleteThinkSphereItem('~zzz item name test test test');
72
+ });
73
+
68
74
  describe('Edit question', () => {
69
75
  abortEarlySetup();
70
76
  it('When user edits the question instructions, then the changes should be saved successfully and edited question instruction should get displayed in preview side', () => {
@@ -72,66 +78,23 @@ describe('Edit Question and edit item', () => {
72
78
  thinkSpherePage.steps.clearQuestionInstructionsInputField();
73
79
  thinkSpherePage.steps.addTextInQuestionInstructionsInputField('Edit question instructions');
74
80
  thinkSpherePage.steps.saveAQuestionAndVerifySnackbar();
75
- utilities.verifyElementVisibilityState(thinkSpherePage.questionInstructionPreviewTexWrapper(), 'visible');
76
- utilities.verifyInnerText(thinkSpherePage.questionInstructionPreviewTexWrapper(), 'Edit question instructions');
81
+ thinkSpherePage.steps.switchToPreviewTab();
82
+ thinkSpherePage.steps.verifyQuestionInstructionPreviewTexWrapperVisibility('Edit question instructions');
77
83
  });
78
84
 
79
85
  it('When user edits the question instructions image, then the changes should be saved successfully and edited question instruction image should get displayed in preview side', () => {
86
+ thinkSpherePage.steps.switchToEditTab();
80
87
  thinkSpherePage.steps.clickOnEditQuestionIcon();
81
- cy.wait(1000);
82
88
  thinkSpherePage.steps.uploadFile('uploads/image.png');
83
89
  thinkSpherePage.steps.saveAQuestionAndVerifySnackbar();
84
- utilities.verifyElementVisibilityState(thinkSpherePage.questionInstructionPreviewImageWrapper(), 'visible');
85
- utilities.verifyElementVisibilityState(thinkSpherePage.questionInstructionPreviewImageExpandButton(), 'visible');
90
+ thinkSpherePage.steps.switchToPreviewTab();
91
+ thinkSpherePage.steps.verifyQuestionInstructionPreviewImageWrapperVisibility();
86
92
  });
87
93
 
88
- it('When user edits the strategies and sentence starers, then the changes should be saved successfully and edited strategies and sentence starers should get displayed in preview side', () => {
89
- thinkSpherePage.steps.clickOnEditQuestionIcon();
90
- editedStrategies.forEach((strategy, index) => {
91
- thinkSpherePage.steps.addOptionText('strategy', index, strategy);
92
- });
93
- cy.wait(2000);
94
- editedSentenceStarters.forEach((sentenceStarter, index) => {
95
- thinkSpherePage.steps.addOptionText('sentenceStarter', index, sentenceStarter);
96
- });
97
- cy.wait(2000);
98
- thinkSpherePage.steps.saveAQuestionAndVerifySnackbar();
99
- editedStrategies.forEach((label, index) => {
100
- utilities.verifyInnerText(utilities.getNthElement(thinkSpherePage.strategyTextWrapper(), index), label);
101
- });
102
- thinkSpherePage.steps.expandChooseStarterDropdown();
103
- editedSentenceStarters.forEach((label, index) => {
104
- utilities.verifyInnerText(utilities.getNthElement(thinkSpherePage.chooseStartersListOptionLabels(), index), label);
105
- });
106
- utilities.clickOnBody();
107
- });
108
-
109
- it('When user select unselect the strategies and sentence starers, then the changes should be saved successfully and selected strategies and sentence starers should get displayed in preview side', () => {
110
- thinkSpherePage.steps.clickOnEditQuestionIcon();
111
- editedStrategies.forEach((strategy, index) => {
112
- if(!selectStrategies.includes(strategy)){
113
- thinkSpherePage.steps.selectOption('strategy', index);
114
- }
115
- });
116
- cy.wait(2000);
117
- editedSentenceStarters.forEach((sentenceStarter, index) => {
118
- if(!selectSentenceStarters.includes(sentenceStarter)){
119
- thinkSpherePage.steps.selectOption('sentenceStarter', index);
120
- }
121
- });
122
- cy.wait(2000);
123
- thinkSpherePage.steps.saveAQuestionAndVerifySnackbar();
124
- selectStrategies.forEach((label, index) => {
125
- utilities.verifyInnerText(utilities.getNthElement(thinkSpherePage.strategyTextWrapper(), index), label);
126
- });
127
- thinkSpherePage.steps.expandChooseStarterDropdown();
128
- selectSentenceStarters.forEach((label, index) => {
129
- utilities.verifyInnerText(utilities.getNthElement(thinkSpherePage.chooseStartersListOptionLabels(), index), label);
130
- });
131
- utilities.clickOnBody();
132
- });
94
+ thinkSpherePage.tests.verifyStrategiesAndSentenceStartersSection({editedStrategies, editedSentenceStarters, selectStrategies, selectSentenceStarters});
133
95
 
134
96
  it('When user updates the solve phase toolbar options and controls, then it should get updated successfully', () => {
97
+ thinkSpherePage.steps.switchToEditTab();
135
98
  thinkSpherePage.steps.clickOnEditQuestionIcon();
136
99
  thinkSpherePage.steps.expandCustomizeToolsAndControls();
137
100
  thinkSpherePage.steps.selectTools(newSelectedToolbarOptions, 0);
@@ -151,9 +114,9 @@ describe('Edit Question and edit item', () => {
151
114
  thinkSpherePage.steps.clickOnImageRadioButton();
152
115
  thinkSpherePage.steps.uploadWhiteBoardImage('uploads/highlightImage.jpg');
153
116
  thinkSpherePage.steps.addInputToOpacityInputField(whiteBoardImageOpacity);
154
- thinkSpherePage.imageAlternativeTextInputField().type(alternateTextForImage);
155
- cy.wait(2000);
117
+ thinkSpherePage.steps.addImageAlternativeTextInputFieldText(alternateTextForImage);
156
118
  thinkSpherePage.steps.saveAQuestionAndVerifySnackbar();
119
+ thinkSpherePage.steps.switchToPreviewTab();
157
120
  });
158
121
 
159
122
  it('When user updates solve phase data, then updated solve phase data should reflect to user when revisit to edit the question', () => {
@@ -180,6 +143,134 @@ describe('Edit Question and edit item', () => {
180
143
  thinkSpherePage.steps.clickOnEditThinkSphereItem();
181
144
  thinkSpherePage.steps.expandAdditionalSettings();
182
145
  utilities.verifyInnerText(thinkSpherePage.fontSizeDropdown(), editedFontSize);
146
+ thinkSpherePage.steps.saveAQuestionAndVerifySnackbar();
147
+ });
148
+ });
149
+
150
+ describe('Edit review question', () => {
151
+ abortEarlySetup();
152
+ before(() => {
153
+ browseItemsPage.steps.clickOnAddReviewItem();
154
+ thinkSpherePage.steps.createReviewQuestion();
155
+ thinkSpherePage.steps.switchToPreviewTab();
156
+ thinkSpherePage.steps.clickOnReviewTab();
157
+ });
158
+
159
+ it('\'Question instruction\' section should be present', () => {
160
+ thinkSpherePage.steps.verifyQuestionInstructionPreviewTexWrapperVisibility('Edit question instructions');
161
+ });
162
+
163
+ it('CSS of \'Question instruction\' section', { tags: 'css' }, () => {
164
+ utilities.verifyCSS(thinkSpherePage.questionInstructionPreviewTexWrapper(), {
165
+ 'border-radius': '12px',
166
+ 'background-color': css.color.questionInstructionBG,
167
+ 'padding': '10px 170px 10px 27px',
168
+ 'font-size': css.fontSize.heading,
169
+ 'font-weight': css.fontWeight.regular,
170
+ });
171
+ });
172
+
173
+ it('Question instruction image should visibile in the preview', () => {
174
+ thinkSpherePage.steps.verifyQuestionInstructionPreviewImageWrapperVisibility();
175
+ });
176
+
177
+ it('CSS of question instruction image section', { tags: 'css' }, () => {
178
+ utilities.verifyCSS(thinkSpherePage.questionInstructionPreviewImageWrapper(), {
179
+ 'width': '143px',
180
+ 'height': '110px',
181
+ 'border': `1px solid ${css.color.secondaryBtnBorder}`,
182
+ 'background-color': css.color.primaryBtn,
183
+ });
184
+ utilities.verifyCSS(thinkSpherePage.questionInstructionPreviewImageExpandButton(), {
185
+ 'width': '24px',
186
+ 'height': '24px',
187
+ 'box-shadow': `${css.color.boxShadow} 0px 2px 8px 0px`,
188
+ 'border': `1px solid ${css.color.figDefaultComponentBorder}`,
189
+ 'border-radius': '4px',
190
+ 'background-color': css.color.primaryBtn,
191
+ });
192
+ });
193
+
194
+ it('When user clicks on expand question instruction image then it should open in the popup', () => {
195
+ thinkSpherePage.steps.clickOnQuestionInstructionExpandImageButton();
196
+ utilities.verifyElementVisibilityState(thinkSpherePage.dialogBoxRoot(), 'visible');
197
+ thinkSpherePage.steps.verifyQuestionImagePopup();
198
+ });
199
+
200
+ it('CSS of question instruction image popup', { tags: 'css' }, () => {
201
+ utilities.verifyCSS(thinkSpherePage.dialogBoxRoot(), {
202
+ 'border-radius': '8px',
203
+ 'border': `1px solid ${css.color.secondaryBtnBorder}`,
204
+ 'box-shadow': `${css.color.dialogBoxBoxShadow} 0px 0px 10px 0px`,
205
+ });
206
+ utilities.verifyCSS(thinkSpherePage.closeExpandImagePopupButton(), {
207
+ 'background-color': css.color.primaryBtn,
208
+ 'font-size': css.fontSize.normal,
209
+ 'font-weight': css.fontWeight.semibold,
210
+ 'border': `1px solid ${css.color.secondaryBtnBorder}`,
211
+ 'color': css.color.primaryBtnBorder,
212
+ });
213
+ });
214
+
215
+ it('When user clicks on close expand image popup button then it should remove the popup', () => {
216
+ thinkSpherePage.steps.clickOnCloseExpandImagePopupButton();
217
+ utilities.verifyElementVisibilityState(thinkSpherePage.dialogBoxRoot(), 'notExist');
218
+ });
219
+
220
+ it('\'Check your math\' section header should be present', () => {
221
+ utilities.verifyElementVisibilityState(thinkSpherePage.checkYourMathHeading(), 'visible');
222
+ utilities.verifyInnerText(thinkSpherePage.checkYourMathHeading(), 'Check your math');
223
+ });
224
+
225
+ it('CSS of \'Check your math\' section header', { tags: 'css' }, () => {
226
+ utilities.verifyCSS(thinkSpherePage.checkYourMathHeading(), {
227
+ 'color': css.color.primaryBtnBorder,
228
+ 'font-size': css.fontSize.heading,
229
+ 'font-weight': css.fontWeight.semibold,
230
+ });
231
+ });
232
+
233
+ it('\'The problem is asking me to\' section header should be present', () => {
234
+ utilities.verifyElementVisibilityState(thinkSpherePage.problemAskingToMeTextWrapper(), 'visible');
235
+ utilities.verifyInnerText(thinkSpherePage.problemAskingToMeTextWrapper(), 'The problem is asking me to...');
236
+ });
237
+
238
+ it('Review question should be present', () => {
239
+ utilities.verifyElementVisibilityState(thinkSpherePage.reviewQuestionWrapper(), 'visible');
240
+ });
241
+
242
+ it('CSS of \'The problem is asking me to\' section', { tags: 'css' }, () => {
243
+ utilities.verifyCSS(thinkSpherePage.problemAskingToMeTextWrapper(), {
244
+ 'color': css.color.primaryBtnBorder,
245
+ 'font-size': css.fontSize.normal,
246
+ 'font-weight': css.fontWeight.bold,
247
+ });
248
+ utilities.verifyCSS(thinkSpherePage.reviewComponentWrapper(), {
249
+ 'border': `1px solid ${css.color.secondaryBtnBorder}`,
250
+ 'border-radius': '12px'
251
+ });
252
+ });
253
+
254
+ it('When User type in the \'The problem is asking me to\' in the plan tab, then it should render in the \'The problem is asking me to\' in the review tab', () => {
255
+ thinkSpherePage.steps.clickOnPlanTab();
256
+ thinkSpherePage.steps.verifyProblemAskingTextAreaFunctionality('This is a test text for the problem.');
257
+ thinkSpherePage.steps.clickOnReviewTab();
258
+ utilities.verifyElementVisibilityState(thinkSpherePage.problemStatementWrapper(), 'visible');
259
+ utilities.verifyInnerText(thinkSpherePage.problemStatementWrapper(), 'This is a test text for the problem.');
260
+ });
261
+
262
+ it('CSS of \'The problem is asking me to\' section statement', { tags: 'css' }, () => {
263
+ utilities.verifyCSS(thinkSpherePage.problemStatementWrapper(), {
264
+ 'color': css.color.text,
265
+ 'font-size': css.fontSize.default,
266
+ 'font-weight': css.fontWeight.regular,
267
+ });
268
+ });
269
+
270
+ it('When switch to grading view then it should show the correct answer for review question', () => {
271
+ thinkSpherePage.steps.switchToGradingView();
272
+ thinkSpherePage.steps.verifyCorrectAnswerLabel();
273
+ thinkSpherePage.steps.switchToStudentView();
183
274
  });
184
275
  });
185
276
  });