itemengine-cypress-automation 1.0.193 → 1.0.194

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. package/cypress/e2e/ILC/AudioPlayerNew/audioOverviewAndTranscript.js +6 -6
  2. package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +4 -4
  3. package/cypress/e2e/ILC/AudioPlayerNew/compactAudioPlayerStyle.js +4 -4
  4. package/cypress/e2e/ILC/AudioPlayerNew/customizePlayerLayoutSettings.js +27 -12
  5. package/cypress/e2e/ILC/AudioPlayerNew/standardAudioPlayerStyle.js +7 -7
  6. package/cypress/e2e/ILC/AudioPlayerNew/uploadAndAddAudioFile.js +1 -1
  7. package/cypress/e2e/ILC/AudioResponseNew/customizePlaybackControls.js +2 -2
  8. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +9 -8
  9. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +1 -1
  10. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +7 -7
  11. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +2 -2
  12. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +2 -2
  13. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +11 -9
  14. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -1
  15. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions1.smoke.js +1 -0
  16. package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +1 -1
  17. package/cypress/e2e/ILC/FeedbackScaleNew/numbersFeedbackScaleStyle.js +2 -2
  18. package/cypress/e2e/ILC/FeedbackScaleNew/textFeedbackScaleStyle.js +4 -6
  19. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownSettings.js +3 -0
  20. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +1 -1
  21. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +11 -11
  22. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/clickAndDrop.js +1 -1
  23. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +4 -4
  24. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  25. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/responseLevelAlternateAnswersBasicScoring.js +6 -4
  26. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -3
  27. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +2 -1
  28. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +2 -1
  29. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
  30. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
  31. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -1
  32. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +2 -1
  33. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +2 -1
  34. package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +2 -1
  35. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -3
  36. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -3
  37. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +4 -3
  38. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +6 -5
  39. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +6 -5
  40. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
  41. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +2 -1
  42. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -2
  43. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +3 -2
  44. package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  45. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -3
  46. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +4 -4
  47. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +4 -4
  48. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
  49. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
  50. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +4 -4
  51. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
  52. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
  53. package/cypress/e2e/ILC/Matching/additionalSettings.js +4 -4
  54. package/cypress/e2e/ILC/Matching/draggableOptions.js +1 -1
  55. package/cypress/e2e/ILC/Matching/specifyCorrectAnswerSection.js +1 -1
  56. package/cypress/e2e/ILC/Matching/studentViewSettings.js +3 -3
  57. package/cypress/e2e/ILC/Matching/studentViewSettingsForGroupedLayout.js +4 -4
  58. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +0 -4
  59. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +78 -86
  60. package/cypress/e2e/ILC/MultipleSelection/checkAnswerFunctionalityForAllViews.smoke.js +1 -6
  61. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +12 -12
  62. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +9 -5
  63. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -2
  64. package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +9 -21
  65. package/cypress/e2e/ILC/NumberLineLabel/editTabBasicSection.js +6 -5
  66. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/numberLineSection.js +2 -2
  67. package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +5 -5
  68. package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +2 -2
  69. package/cypress/e2e/ILC/Ruler/rulerHeaderSection.js +12 -21
  70. package/cypress/e2e/ILC/ShortTextResponseNew/responseAnswersAndAcceptedStudentInput.js +13 -13
  71. package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +5 -5
  72. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +7 -7
  73. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +3 -3
  74. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +5 -4
  75. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +5 -5
  76. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +5 -5
  77. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +1 -1
  78. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +30 -30
  79. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +2 -2
  80. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  81. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +1 -1
  82. package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +1 -1
  83. package/cypress/e2e/ILC/TextSelection/Scoring/manuallyAndNonScored.js +1 -1
  84. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsBasic.js +1 -1
  85. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  86. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  87. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  88. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsBasic.js +1 -1
  89. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  90. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  91. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  92. package/cypress/e2e/ILC/TextSelection/headerSection.js +0 -2
  93. package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +9 -9
  94. package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +4 -5
  95. package/cypress/e2e/ILC/UploadResponse/studentViewSettingsSection.js +1 -1
  96. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +19 -19
  97. package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControlsCompactRecorderStyle.js +1 -1
  98. package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControlsStandardRecorderStyle.js +8 -8
  99. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +3 -3
  100. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -3
  101. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +2 -2
  102. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosFourFunctionCalculatorPreviewContents.smoke.js +1 -1
  103. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosGraphingCalculatorPreviewContents.smoke.js +1 -1
  104. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosMatrixCalculatorPreviewContents.smoke.js +1 -1
  105. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosScientificCalculatorEditTabBasicSection.js +6 -6
  106. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosScientificCalculatorPreviewContents.smoke.js +1 -1
  107. package/cypress/e2e/ThirdPartyQuestions/DesmosGraphing/additionalSettings.js +5 -7
  108. package/cypress/e2e/ThirdPartyQuestions/DesmosGraphing/studentViewSettings.js +6 -33
  109. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/3DGraphingCalculatorEditTabBasicSection.js +3 -3
  110. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/3DGraphingCalculatorPreviewTabContents.smoke.js +2 -2
  111. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/casCalculatorEditTabBasicSection.js +3 -3
  112. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/casCalculatorPreviewTabContents.smoke.js +1 -1
  113. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/geometryCalculatorEditTabBasicSection.js +4 -4
  114. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/geometryCalculatorPreviewTabContents.smoke.js +2 -2
  115. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/graphingCalculatorEditTabBasicSection.js +3 -3
  116. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/graphingCalculatorPreviewTabContents.smoke.js +2 -2
  117. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/probablityCalculatorEditTabBasicSection.js +3 -3
  118. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/probablityCalculatorPreviewTabContents.smoke.js +1 -1
  119. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/scientificCalculatorEditTabBasicSection.js +3 -3
  120. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/scientificCalculatorPreviewTabContents.smoke.js +2 -2
  121. package/cypress/e2e/ThirdPartyQuestions/GeogebraActivity/additionalSettings.js +4 -4
  122. package/cypress/e2e/ThirdPartyQuestions/GeogebraActivity/headerSection.js +0 -2
  123. package/cypress/e2e/ThirdPartyQuestions/GeogebraActivity/insertResourceLink.js +1 -1
  124. package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +1 -1
  125. package/cypress/fixtures/theme/ilc.json +8 -2
  126. package/cypress/fixtures/uploads/sample1.txt +4 -0
  127. package/cypress/fixtures/uploads/sample2.txt +13 -0
  128. package/cypress/fixtures/uploads/sample300kb.txt +1 -0
  129. package/cypress/pages/audioPlayerPage.js +3 -2
  130. package/cypress/pages/chartsLinePage.js +2 -1
  131. package/cypress/pages/components/ariaLabelSectionComponent.js +1 -0
  132. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +2 -2
  133. package/cypress/pages/components/colorPopupComponent.js +1 -1
  134. package/cypress/pages/components/draggableOptionContainer.js +2 -2
  135. package/cypress/pages/components/editCategoryFlyout.js +26 -17
  136. package/cypress/pages/components/enableOuterBorderComponent.js +5 -5
  137. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +2 -1
  138. package/cypress/pages/components/imageCanvasComponent.js +14 -8
  139. package/cypress/pages/components/layoutSectionComponent.js +1 -1
  140. package/cypress/pages/components/maximumCapacityPerDropzoneComponent.js +1 -1
  141. package/cypress/pages/components/numberLineCommonComponent.js +2 -2
  142. package/cypress/pages/components/questionInputFieldComponent.js +1 -1
  143. package/cypress/pages/components/specifyRowsAndColumnsComponent.js +1 -0
  144. package/cypress/pages/desmosGraphingPage.js +1 -1
  145. package/cypress/pages/desmosToolPage.js +16 -4
  146. package/cypress/pages/drawingResponsePage.js +3 -3
  147. package/cypress/pages/essayResponsePage.js +1 -0
  148. package/cypress/pages/feedbackScalePage.js +13 -3
  149. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +19 -11
  150. package/cypress/pages/geoGebraActivityPage.js +12 -3
  151. package/cypress/pages/geoGebraToolsPage.js +1 -1
  152. package/cypress/pages/graphingPage.js +7 -8
  153. package/cypress/pages/matchingPage.js +8 -12
  154. package/cypress/pages/multipleSelectionPage.js +35 -1
  155. package/cypress/pages/numberLineLabelPage.js +1 -1
  156. package/cypress/pages/numberLinePage.js +36 -8
  157. package/cypress/pages/rulerPage.js +0 -6
  158. package/cypress/pages/selectQuestionResourceToolPage.js +0 -4
  159. package/cypress/pages/singleSelectionPage.js +1 -2
  160. package/cypress/pages/uploadResponsePage.js +2 -2
  161. package/cypress/pages/videoResponsePage.js +11 -11
  162. package/package.json +1 -1
  163. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +0 -366
  164. package/cypress/e2e/ILC/UploadResponse/uploadResponseAdditionalSettings.js +0 -41
  165. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingForAllViews.smoke.js +0 -0
  166. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingGroupedScoring.js +0 -0
  167. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +0 -0
  168. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +0 -0
  169. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +0 -0
  170. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/manuallyAndNonScored.js +0 -0
  171. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -0
  172. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsBasic.js +0 -0
  173. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +0 -0
  174. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +0 -0
  175. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsBasic.js +0 -0
  176. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +0 -0
  177. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +0 -0
  178. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +0 -0
  179. /package/cypress/e2e/ILC/UploadResponse/{uploadResponseEditTabBasicSections.js → editTabBasicSection.js} +0 -0
  180. /package/cypress/e2e/ILC/UploadResponse/{uploadResponseHeaderSection.js → headerSection.js} +0 -0
  181. /package/cypress/e2e/ILC/UploadResponse/{uplodResponsePreviewUploadedFileProperties.js → uploadedFileProperties.js} +0 -0
@@ -148,10 +148,10 @@ describe('Create item page - Text entry math: Question instructions, Options sec
148
148
  textEntryMathWithImagePage.steps.verifyCanvasSelectedMenuText('Select');
149
149
  });
150
150
 
151
- it(`When user selects text container, then 9 options ${textContainerPointerStyles} should be displayed and by default ${textContainerPointerStyles[7]} should be selected`, () => {
151
+ it(`When user selects text container, then 9 options ${textContainerPointerStyles} should be displayed and by default ${textContainerPointerStyles[0]} should be selected`, () => {
152
152
  textEntryMathWithImagePage.steps.selectResponseArea(1);
153
153
  utilities.verifyElementCount(textEntryMathWithImagePage.responseAreaStyle(), 9);
154
- textEntryMathWithImagePage.steps.verifyResponseAreaPointerStyle(textContainerPointerStyles[7], 1);
154
+ textEntryMathWithImagePage.steps.verifyResponseAreaPointerStyle(textContainerPointerStyles[0], 1);
155
155
  });
156
156
 
157
157
  it('CSS of text container', { tags: 'css' }, () => {
@@ -167,16 +167,16 @@ describe('Create item page - Text entry math: Question instructions, Options sec
167
167
  textEntryMathWithImagePage.steps.verifyPointerStyleTooltip();
168
168
  });
169
169
 
170
- it(`When the user has selected a text container and chooses ${textContainerPointerStyles[0]}, then selected text container should have the specified effect applied, and the other text containers should remain unaffected.`, () => {
171
- textEntryMathWithImagePage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[0]);
172
- textEntryMathWithImagePage.steps.verifyResponseAreaPointerStyle(textContainerPointerStyles[0], 1);
173
- textEntryMathWithImagePage.steps.verifyResponseAreaPointerStyle(textContainerPointerStyles[7], 0);
170
+ it(`When the user has selected a text container and chooses ${textContainerPointerStyles[7]}, then selected text container should have the specified effect applied, and the other text containers should remain unaffected.`, () => {
171
+ textEntryMathWithImagePage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[7]);
172
+ textEntryMathWithImagePage.steps.verifyResponseAreaPointerStyle(textContainerPointerStyles[7], 1);
173
+ textEntryMathWithImagePage.steps.verifyResponseAreaPointerStyle(textContainerPointerStyles[0], 0);
174
174
  });
175
175
 
176
176
  it(`When the user chooses ${textContainerPointerStyles[5]}, then selected text containers should have the specified effect applied, and the other drop zones should remain unaffected.`, () => {
177
177
  textEntryMathWithImagePage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[5]);
178
178
  textEntryMathWithImagePage.steps.verifyResponseAreaPointerStyle(textContainerPointerStyles[5], 1);
179
- textEntryMathWithImagePage.steps.verifyResponseAreaPointerStyle(textContainerPointerStyles[7], 0);
179
+ textEntryMathWithImagePage.steps.verifyResponseAreaPointerStyle(textContainerPointerStyles[0], 0);
180
180
  });
181
181
  });
182
182
 
@@ -227,8 +227,8 @@ describe('Create item page - Text entry math: Question instructions, Options sec
227
227
  textEntryMathWithImagePage.steps.verifyColorPopupIsDisplayed();
228
228
  });
229
229
 
230
- textEntryMathWithImagePage.tests. verifyColorPopupSelectColorTitle();
231
-
230
+ textEntryMathWithImagePage.tests.verifyColorPopupSelectColorTitle();
231
+
232
232
  textEntryMathWithImagePage.tests.verifySaturationAndOpacityGradientPalette('rgb(0, 0, 46)');
233
233
 
234
234
  textEntryMathWithImagePage.tests.verifyColorHuePaletteAndHexInputField('rgb(0, 0, 255)', '#00002E');
@@ -278,7 +278,7 @@ describe('Create item page - Text entry math: Question instructions, Options sec
278
278
  textEntryMathWithImagePage.tests.verifyImageAlignmentEditTabFunctionality();
279
279
 
280
280
  textEntryMathWithImagePage.tests.verifyImageOpacityEditTabFunctionality();
281
-
281
+
282
282
  textEntryMathWithImagePage.tests.verifyFillImageToCanvasEditTabFunctionality();
283
283
  });
284
284
 
@@ -318,10 +318,10 @@ describe('Create item page - Text entry math: Question instructions, Options sec
318
318
  it('When user selects a text container and changes text container pointer style in edit tab, then changes in text container pointer should be reflected in preview tab', () => {
319
319
  textEntryMathWithImagePage.steps.switchToEditTab();
320
320
  textEntryMathWithImagePage.steps.selectResponseArea(0);
321
- textEntryMathWithImagePage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[1]);
321
+ textEntryMathWithImagePage.steps.selectResponseAreaPointerStyle(textContainerPointerStyles[7]);
322
322
  textEntryMathWithImagePage.steps.switchToPreviewTab();
323
- textEntryMathWithImagePage.steps.verifyResponsePointerStyleInPreviewTab(textContainerPointerStyles[1], 0);
324
- textEntryMathWithImagePage.steps.verifyResponsePointerStyleInPreviewTab(textContainerPointerStyles[8], 1);
323
+ textEntryMathWithImagePage.steps.verifyResponsePointerStyleInPreviewTab(textContainerPointerStyles[7], 0);
324
+ textEntryMathWithImagePage.steps.verifyResponsePointerStyleInPreviewTab(textContainerPointerStyles[0], 1);
325
325
  });
326
326
 
327
327
  it('When user insert text and changes color for text in edit tab, then inserted text should be displayed in canvas in preview tab', () => {
@@ -387,29 +387,29 @@ describe('Create item page - Text entry math: Question instructions, Options sec
387
387
  });
388
388
 
389
389
  it('When the user has uploaded canvas image, then switching to the preview tab should display canvas image with same dimensions', () => {
390
- textEntryMathWithImagePage.steps.switchToPreviewTab();
391
- textEntryMathWithImagePage.steps.verifyImageIsUploadedInPreviewTab();
392
- utilities.verifyElementVisibilityState( textEntryMathWithImagePage.canvasImageInPreviewTab(), 'visible');
393
- textEntryMathWithImagePage.steps.verifyCanvasWidthInPreviewTab(768);
394
- textEntryMathWithImagePage.steps.verifyCanvasHeightInPreviewTab(432);
390
+ textEntryMathWithImagePage.steps.switchToPreviewTab();
391
+ textEntryMathWithImagePage.steps.verifyImageIsUploadedInPreviewTab();
392
+ utilities.verifyElementVisibilityState(textEntryMathWithImagePage.canvasImageInPreviewTab(), 'visible');
393
+ textEntryMathWithImagePage.steps.verifyCanvasWidthInPreviewTab(768);
394
+ textEntryMathWithImagePage.steps.verifyCanvasHeightInPreviewTab(432);
395
395
  });
396
396
 
397
397
  it('When user updates width and height in edit tab, then updated changes should be reflected in preview tab', () => {
398
- textEntryMathWithImagePage.steps.switchToEditTab();
399
- textEntryMathWithImagePage.steps.unlockAspectRatio();
400
- textEntryMathWithImagePage.steps.updateCanvasWidth(800);
401
- textEntryMathWithImagePage.steps.updateCanvasHeight(450);
402
- textEntryMathWithImagePage.steps.switchToPreviewTab();
403
- textEntryMathWithImagePage.steps.verifyCanvasWidthInPreviewTab(800);
404
- textEntryMathWithImagePage.steps.verifyCanvasHeightInPreviewTab(450);
398
+ textEntryMathWithImagePage.steps.switchToEditTab();
399
+ textEntryMathWithImagePage.steps.unlockAspectRatio();
400
+ textEntryMathWithImagePage.steps.updateCanvasWidth(800);
401
+ textEntryMathWithImagePage.steps.updateCanvasHeight(450);
402
+ textEntryMathWithImagePage.steps.switchToPreviewTab();
403
+ textEntryMathWithImagePage.steps.verifyCanvasWidthInPreviewTab(800);
404
+ textEntryMathWithImagePage.steps.verifyCanvasHeightInPreviewTab(450);
405
405
  });
406
406
 
407
407
  it('When user resets image dimensions in edit tab, then updated changes should be reflected in preview tab', () => {
408
- textEntryMathWithImagePage.steps.switchToEditTab();
409
- textEntryMathWithImagePage.steps.resetDimensions();
410
- textEntryMathWithImagePage.steps.switchToPreviewTab();
411
- textEntryMathWithImagePage.steps.verifyCanvasWidthInPreviewTab(768);
412
- textEntryMathWithImagePage.steps.verifyCanvasHeightInPreviewTab(432);
408
+ textEntryMathWithImagePage.steps.switchToEditTab();
409
+ textEntryMathWithImagePage.steps.resetDimensions();
410
+ textEntryMathWithImagePage.steps.switchToPreviewTab();
411
+ textEntryMathWithImagePage.steps.verifyCanvasWidthInPreviewTab(768);
412
+ textEntryMathWithImagePage.steps.verifyCanvasHeightInPreviewTab(432);
413
413
  });
414
414
 
415
415
  textEntryMathWithImagePage.tests.verifyImageAlternativeTextPreviewTabFunctionality();
@@ -1,7 +1,7 @@
1
1
  import { textSelectionPage } from "../../../../pages";
2
2
  import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
3
  const paragraphTextArray = ['All animals have a unique role to play in maintaining the balance of nature.', 'A lot of animal species exist in both, land and water. As a result, each of them has a purpose for their existence.', 'The animals divide into specific groups in biology. Amphibians are those which can live on both, land and water.', 'Mammals are ones which give birth to their offspring in the womb and have mammary glands.', 'Birds are creatures with feathers, beaks, and the ability to lay eggs.', 'Many animal species are undocumented even today.', 'Research is going on to discover new species in the far corners of the earth']
4
-
4
+ //Note: Remove // from all files without attempt case after https://redmine.zeuslearning.com/issues/565569 gets resolved
5
5
  describe('Create Item page - Text selection: Preview tab Scoring Section - All or nothing scoring with alternate answer', () => {
6
6
  before(() => {
7
7
  cy.loginAs('admin');
@@ -31,7 +31,7 @@ describe('Create Item page - Text selection: Preview tab Scoring Section - All o
31
31
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[1]);
32
32
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
33
33
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
34
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
34
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
35
35
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
36
36
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[2]);
37
37
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -31,7 +31,7 @@ describe('Create Item page - Text selection: Preview tab Scoring Section - All o
31
31
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[1]);
32
32
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
33
33
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
34
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
34
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
35
35
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
36
36
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
37
37
  cy.log('Post step: Unchecking the show correct answer checkbox')
@@ -31,7 +31,7 @@ describe('Create Item page - Text selection: Preview tab Scoring Section - All o
31
31
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[1]);
32
32
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
33
33
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
34
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
34
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
35
35
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
36
36
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
37
37
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -41,7 +41,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
41
41
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(customTextSelectionArray[1]);
42
42
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(customTextSelectionArray[0]);
43
43
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(customTextSelectionArray[1]);
44
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
44
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
45
45
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
46
46
  });
47
47
 
@@ -74,7 +74,7 @@ describe('Create Item page - Text selection: Manually and non scored', () => {
74
74
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[1]);
75
75
  textSelectionPage.steps.verifyOptionIsNotSelectedInPreviewTab(paragraphTextArray[2]);
76
76
  textSelectionPage.steps.verifyOptionIsNotSelectedInPreviewTab(paragraphTextArray[3]);
77
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
77
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
78
78
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
79
79
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
80
80
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -33,7 +33,7 @@ describe('Create item page - Text selection: Partial different weights', () => {
33
33
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
34
34
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
35
35
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[2]);
36
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
36
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
37
37
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
38
38
  });
39
39
 
@@ -38,7 +38,7 @@ describe('Create item page - Text selection: Partial different with alternative
38
38
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
39
39
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
40
40
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[4]);
41
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
41
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
42
42
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[2]);
43
43
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[3]);
44
44
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[4]);
@@ -38,7 +38,7 @@ describe('Create item page - Text selection: Partial different with alternative
38
38
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
39
39
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
40
40
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[4]);
41
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
41
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
42
42
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
43
43
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
44
44
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[2]);
@@ -38,7 +38,7 @@ describe('Create item page - Text selection: Partial different with alternative
38
38
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
39
39
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
40
40
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[4]);
41
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
41
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
42
42
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
43
43
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
44
44
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[2]);
@@ -30,7 +30,7 @@ describe('Create item page - Text selection: Partial equal weights', () => {
30
30
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[1]);
31
31
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
32
32
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
33
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
33
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
34
34
  textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
35
35
  });
36
36
 
@@ -38,7 +38,7 @@ describe('Create item page - Text selection: Partial equal with alternative answ
38
38
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
39
39
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
40
40
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[4]);
41
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
41
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
42
42
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[2]);
43
43
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[3]);
44
44
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[4]);
@@ -38,7 +38,7 @@ describe('Create item page - Text selection: Partial equal with alternative answ
38
38
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
39
39
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
40
40
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[4]);
41
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
41
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
42
42
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
43
43
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
44
44
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[2]);
@@ -38,7 +38,7 @@ describe('Create item page - Text selection: Partial equal with alternative answ
38
38
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
39
39
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
40
40
  textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[4]);
41
- textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
41
+ //textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
42
42
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
43
43
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
44
44
  textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[2]);
@@ -45,8 +45,6 @@ describe('Create item page - Text selection: Header section and Saving question'
45
45
  dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton();
46
46
 
47
47
  it('Validation error messages should be displayed below required input fields', () => {
48
- textSelectionPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
49
- textSelectionPage.steps.verifyPointsFieldErrorMessageIsNotDisplayed();
50
48
  textSelectionPage.steps.verifySpecifyCorrectAnswerErrorIconIsVisible();
51
49
  textSelectionPage.steps.verifySpecifyCorrectAnswerErrorMessage();
52
50
  });
@@ -10,7 +10,7 @@ describe('Create Item page - Text selection: Student view settings', () => {
10
10
  cy.loginAs('admin');
11
11
  });
12
12
 
13
- describe('Enable outer border : Edit tab', () => {
13
+ describe('Enable outer border for question: Edit tab', () => {
14
14
  abortEarlySetup();
15
15
  before(() => {
16
16
  textSelectionPage.steps.navigateToCreateQuestion('text selection');
@@ -22,7 +22,7 @@ describe('Create Item page - Text selection: Student view settings', () => {
22
22
  textSelectionPage.tests.verifyEnableOuterBorderContents();
23
23
  });
24
24
 
25
- describe('Enable outer border : Preview tab', () => {
25
+ describe('Enable outer border for question: Preview tab', () => {
26
26
  abortEarlySetup();
27
27
  before(() => {
28
28
  textSelectionPage.steps.navigateToCreateQuestion('text selection');
@@ -30,26 +30,26 @@ describe('Create Item page - Text selection: Student view settings', () => {
30
30
  textSelectionPage.steps.switchToPreviewTab();
31
31
  });
32
32
 
33
- it('When the \'Enable outer border\' checkbox is in checked state, an outer border over the question preview should be visible', () => {
33
+ it('When the "Enable outer border for question" checkbox is in checked state, an outer border over the question preview should be visible', () => {
34
34
  textSelectionPage.steps.verifyQuestionTextOuterBorderIsDisplayedInPreviewTab();
35
35
  });
36
36
 
37
- it('When the user unchecks the \'Enable outer border\' checkbox, then the outer border over the question preview should not be displayed', () => {
37
+ it('When the user unchecks the "Enable outer border for question" checkbox, then the outer border over the question preview should not be displayed', () => {
38
38
  textSelectionPage.steps.switchToEditTab();
39
39
  textSelectionPage.steps.uncheckEnableOuterBorderCheckbox();
40
40
  textSelectionPage.steps.switchToPreviewTab();
41
41
  textSelectionPage.steps.verifyQuestionTextOuterBorderIsNotDisplayedInPreviewTab();
42
42
  });
43
43
 
44
- it('CSS of \'Enable outer border\' checkbox - unchecked state', { tags: 'css' }, () => {
44
+ it('CSS of "Enable outer border for question" checkbox - unchecked state', { tags: 'css' }, () => {
45
45
  textSelectionPage.steps.switchToEditTab();
46
46
  utilities.verifyCSS(textSelectionPage.enableOuterBorderCheckbox().parent().find('svg'), {
47
47
  'fill': css.color.uncheckedCheckbox
48
48
  });
49
49
  });
50
50
 
51
- it('Accessibility of \'Enable outer border\' checkbox - unchecked state', { tags: 'a11y' }, () => {
52
- cy.checkAccessibility(textSelectionPage.enableOuterBorderCheckbox().parents('[data-ngie-testid="enable-outer-border-checkbox"]'));
51
+ it('Accessibility of "Enable outer border for question" checkbox - unchecked state', { tags: 'a11y' }, () => {
52
+ cy.checkAccessibility(textSelectionPage.enableOuterBorderCheckbox().parents('[data-ngie-testid="enable-outer-border-for-question-checkbox"]'));
53
53
  });
54
54
  });
55
55
 
@@ -166,7 +166,7 @@ describe('Create Item page - Text selection: Student view settings', () => {
166
166
  textSelectionPage.steps.checkShowAvailableOptionsToStudentsCheckbox();
167
167
  });
168
168
 
169
- it('CSS of \'Enable outer border\' label and checkbox - checked state', { tags: 'css' }, () => {
169
+ it('CSS of "Enable outer border for question" label and checkbox - checked state', { tags: 'css' }, () => {
170
170
  utilities.verifyCSS(textSelectionPage.showAvailableOptionsToStudentsCheckbox().parent().find('svg g g').eq(0), {
171
171
  'fill': css.color.activeButtons
172
172
  });
@@ -339,7 +339,7 @@ describe('Create Item page - Text selection: Student view settings', () => {
339
339
  it('When the user selects \'No limit\' from the \'Maximum number of possible selections\' dropdown, then the user should be able to set n number of options in a dropzone in the specify correct answer section', () => {
340
340
  textSelectionPage.steps.expandMaxNumberOfPossibleSelectionsDropdown();
341
341
  textSelectionPage.steps.selectOptionFromMaxNumberOfPossibleSelectionsDropdown('no limit');
342
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[0]);
342
+ textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[3]);
343
343
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
344
344
  });
345
345
  });
@@ -5,7 +5,7 @@ import { dialogBoxBase, multipleSelectionPage, rulerPage } from "../../../pages"
5
5
 
6
6
  const css = Cypress.env('css');
7
7
 
8
- const tools = ['Ruler', 'Protractor', 'Reading ruler', 'Simple Calculator', 'Scientific Calculator'];
8
+ const tools = ['Ruler', 'Protractor', 'Reading ruler', 'Simple Calculator', 'Scientific Calculator', 'Compass'];
9
9
  const lengthOfRuler = ['15 cm', '30 cm', '40 cm'];
10
10
  const rotationOptions = ['None', 'Allow rotation', 'Allow rotation and display angle'];
11
11
  const unitOfMeasurementOptions = ['Centimeter', 'Inch', 'Pixel', 'Both centimeter and inch', 'Custom image'];
@@ -62,7 +62,7 @@ describe('Create Item page: Tool settings', () => {
62
62
  it(`When \'Tool settings\' accordion is expanded, then \'Add tools\' and \'Select the tools that will be displayed to the students.\' labels should be displayed. Three tools ${tools} should be displayed with their labels, icons, drag handle button and edit icon. By default tools should not be selected`, () => {
63
63
  utilities.verifyInnerText(toolSettingsComponent.addToolsLabel(), 'Add tools');
64
64
  utilities.verifyInnerText(toolSettingsComponent.toolSettingsHelpText(), 'Select the tools that will be displayed to the students.');
65
- utilities.verifyElementCount(toolSettingsComponent.toolButton(), 5);
65
+ utilities.verifyElementCount(toolSettingsComponent.toolButton(), 6);
66
66
  tools.forEach((toolName, toolIndex) => {
67
67
  toolSettingsComponent.steps.verifyToolButton(toolIndex, toolName);
68
68
  });
@@ -183,11 +183,11 @@ describe('Create Item page: Tool settings', () => {
183
183
  rulerPage.steps.verifyDefaultOpacityLabelSliderAndInputField();
184
184
  });
185
185
 
186
- it('\'Ruler Color\' label and 6 solid color should be displayed and by default \'White\' color radio button should be selected', () => {
186
+ it('\'Ruler Color\' label and 6 solid color should be displayed and by default \'Purple\' color radio button should be selected', () => {
187
187
  utilities.verifyInnerText(rulerPage.toolColorLabel(), 'Ruler Color');
188
188
  utilities.verifyElementVisibilityState(rulerPage.toolColorLabel(), 'visible');
189
189
  rulerPage.steps.verifyToolColorBlocksVisibility();
190
- rulerPage.steps.verifyToolColorSelectedState(0);
190
+ rulerPage.steps.verifyToolColorSelectedState(1);
191
191
  });
192
192
 
193
193
  it('\'Ruler visibility\' label should be displayed', () => {
@@ -196,7 +196,6 @@ describe('Create Item page: Tool settings', () => {
196
196
  });
197
197
 
198
198
  it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be checked', () => {
199
- toolSettingsComponent.steps.clickOnToolEditIcon(0);
200
199
  utilities.verifyElementVisibilityState(rulerPage.addShowHideButtonCheckbox(), 'exist');
201
200
  rulerPage.steps.verifyAddShowHideButtonCheckboxUnchecked()
202
201
  rulerPage.steps.verifyAddShowHideButtonLabel();
@@ -19,7 +19,7 @@ describe('Create question page - Upload Response: Additional Settings', () => {
19
19
 
20
20
  uploadResponsePage.tests.verifyStudentViewSettingsLabelAndCSS();
21
21
 
22
- it('\'Upload controls\' label and three options should be displayed with their labels and by default all of them should be selected', () => {
22
+ it('\'Upload controls\' label and two options, "Capture Photo" and "Drag and drop files" should be displayed with their labels and by default both should be selected', () => {
23
23
  utilities.verifyInnerText(uploadResponsePage.uploadControlsLabel(), 'Upload controls');
24
24
  utilities.verifyElementVisibilityState(uploadResponsePage.uploadControlsLabel(), 'visible');
25
25
  uploadResponsePage.steps.verifyUploadControlsButton();
@@ -61,7 +61,7 @@ describe('Preview of Video response for compact recorder style', () => {
61
61
  videoResponsePage.steps.verifyRecordingStatusCompactPreview('Recording...')
62
62
  cy.log('Waiting 2 seconds to check updated timer');
63
63
  videoResponsePage.steps.addWaitToRecord(2000);
64
- videoResponsePage.steps.verifyRecordingTime('00:04', '05:00');
64
+ videoResponsePage.steps.verifyRecordingTime('0:04', '5:00');
65
65
  });
66
66
 
67
67
  it('CSS of \'Preview\' section once recording starts', { tags: 'css' }, () => {
@@ -110,7 +110,7 @@ describe('Preview of Video response for compact recorder style', () => {
110
110
  videoResponsePage.steps.verifyRecordingStatusCompactPreview('Recording...');
111
111
  videoResponsePage.steps.addWaitToRecord(4000);
112
112
  videoResponsePage.steps.pauseRecordingCompactPreview();
113
- videoResponsePage.steps.verifyRecordingTimeCompactPreview('00:05', '05:00');
113
+ videoResponsePage.steps.verifyRecordingTimeCompactPreview('0:05', '5:00');
114
114
  videoResponsePage.steps.verifyRecordingStatusCompactPreview('Recording paused');
115
115
  utilities.verifyElementVisibilityState(videoResponsePage.resumeRecordingButtonCompactPreview(), 'visible');
116
116
  utilities.verifyElementVisibilityState(videoResponsePage.stopRecordingButtonCompactPreview(), 'visible');
@@ -157,7 +157,7 @@ describe('Preview of Video response for compact recorder style', () => {
157
157
  videoResponsePage.steps.waitForRecordingToStartCompactPreview();
158
158
  videoResponsePage.steps.addWaitToRecord(3000);
159
159
  videoResponsePage.steps.stopRecordingCompactPreview();
160
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:00', '00:04');
160
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:00', '0:04');
161
161
  utilities.verifyElementVisibilityState(videoResponsePage.stopRecordingButtonCompactPreview(), 'notExist');
162
162
  utilities.verifyElementVisibilityState(videoResponsePage.retakeButtonCompactPreview(), 'visible');
163
163
  utilities.verifyElementVisibilityState(videoResponsePage.playPlaybackButtonCompactPreview(), 'visible');
@@ -207,7 +207,7 @@ describe('Preview of Video response for compact recorder style', () => {
207
207
  videoResponsePage.steps.waitForRecordingToStartCompactPreview();
208
208
  videoResponsePage.steps.addWaitToRecord(39000);
209
209
  cy.log('Starting a recording and letting it record until maximum recording duration is reached');
210
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:00', '00:40');
210
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:00', '0:40');
211
211
  utilities.verifyElementVisibilityState(videoResponsePage.stopRecordingButtonCompactPreview(), 'notExist');
212
212
  utilities.verifyElementVisibilityState(videoResponsePage.retakeButtonCompactPreview(), 'visible');
213
213
  utilities.verifyElementVisibilityState(videoResponsePage.playPlaybackButtonCompactPreview(), 'visible');
@@ -222,7 +222,7 @@ describe('Preview of Video response for compact recorder style', () => {
222
222
  videoResponsePage.steps.waitForRecordingToStartCompactPreview();
223
223
  videoResponsePage.steps.addWaitToRecord(29000);
224
224
  cy.log('Starting a recording and letting it record until maximum recording duration is reached');
225
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:00', '00:30')
225
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:00', '0:30')
226
226
  cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
227
227
  videoResponsePage.steps.switchToEditTab();
228
228
  });
@@ -243,7 +243,7 @@ describe('Preview of Video response for compact recorder style', () => {
243
243
  videoResponsePage.steps.verifyRecordingStatusCompactPreview('Recording...');
244
244
  videoResponsePage.steps.addWaitToRecord(4000);
245
245
  videoResponsePage.steps.pauseRecordingFlyoutButtonCompactPreview();
246
- videoResponsePage.steps.verifyRecordingTimeCompactPreview('00:05', '05:00');
246
+ videoResponsePage.steps.verifyRecordingTimeCompactPreview('0:05', '5:00');
247
247
  videoResponsePage.steps.verifyRecordingStatusCompactPreview('Recording paused');
248
248
  utilities.verifyElementVisibilityState(videoResponsePage.resumeRecordingButtonCompactPreview(), 'visible');
249
249
  utilities.verifyElementVisibilityState(videoResponsePage.stopRecordingButtonCompactPreview(), 'visible');
@@ -269,7 +269,7 @@ describe('Preview of Video response for compact recorder style', () => {
269
269
  videoResponsePage.steps.waitForRecordingToStartCompactPreview();
270
270
  videoResponsePage.steps.addWaitToRecord(3000);
271
271
  videoResponsePage.steps.stopRecordingFlyoutButtonCompactPreview();
272
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:00', '00:04');
272
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:00', '0:04');
273
273
  utilities.verifyElementVisibilityState(videoResponsePage.stopRecordingButtonCompactPreview(), 'notExist');
274
274
  utilities.verifyElementVisibilityState(videoResponsePage.retakeButtonCompactPreview(), 'visible');
275
275
  utilities.verifyElementVisibilityState(videoResponsePage.playPlaybackButtonCompactPreview(), 'visible');
@@ -299,7 +299,7 @@ describe('Preview of Video response for compact recorder style', () => {
299
299
  utilities.verifyElementVisibilityState(videoResponsePage.playbackSpeedButton(), 'visible');
300
300
  utilities.verifyElementVisibilityState(videoResponsePage.playbackProgressBar(), 'visible');
301
301
  utilities.verifyElementVisibilityState(videoResponsePage.playbackTimeCompactPreview(), 'visible');
302
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:00', '00:05');
302
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:00', '0:05');
303
303
  });
304
304
 
305
305
  it('The progress bar should have a slider so that user can click/drag to seek the video.', () => {
@@ -355,7 +355,7 @@ describe('Preview of Video response for compact recorder style', () => {
355
355
  it('When the user clicks on \'Play\' button, then the video should start playing. Timer should display the amount of video that has been played and the total video length in (mm:ss)/(mm:ss) format.', () => {
356
356
  videoResponsePage.steps.startPlaybackCompactPreview();
357
357
  videoResponsePage.steps.waitForPlaybackToBeginCompactPreview();
358
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:03', '00:10');
358
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:03', '0:10');
359
359
  });
360
360
 
361
361
  it('CSS of \'Preview\' section if playback is initiated', { tags: 'css' }, () => {
@@ -393,9 +393,9 @@ describe('Preview of Video response for compact recorder style', () => {
393
393
  videoResponsePage.steps.recordAndSaveVideoCompactPreview(10000);
394
394
  videoResponsePage.steps.startPlaybackCompactPreview();
395
395
  videoResponsePage.steps.waitForPlaybackToBeginCompactPreview();
396
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:05', '00:10');
396
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:05', '0:10');
397
397
  videoResponsePage.steps.pauseAndVerifyProgressBarSliderPositionCompactPreview();
398
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:05', '00:10');
398
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:05', '0:10');
399
399
  utilities.verifyElementVisibilityState(videoResponsePage.playPlaybackButtonCompactPreview(), 'visible');
400
400
  utilities.verifyElementVisibilityState(videoResponsePage.pausePlaybackButtonCompactPreview(), 'notExist');
401
401
  utilities.verifyElementVisibilityState(videoResponsePage.playPlaybackFlyoutButton(), 'visible');
@@ -439,7 +439,7 @@ describe('Preview of Video response for compact recorder style', () => {
439
439
  });
440
440
 
441
441
  it('When the video playback is completed, the \'Pause\' button should get replaced with \'Play\' button', () => {
442
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:10', '00:10');
442
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:10', '0:10');
443
443
  utilities.verifyElementVisibilityState(videoResponsePage.playPlaybackButtonCompactPreview(), 'visible');
444
444
  utilities.verifyElementVisibilityState(videoResponsePage.pausePlaybackButtonCompactPreview(), 'notExist');
445
445
  videoResponsePage.steps.verifyProgressBarSliderPosition(99);
@@ -466,7 +466,7 @@ describe('Preview of Video response for compact recorder style', () => {
466
466
  it('When the user clicks on \'Play\' button, then the video should start playing. Timer should display the amount of video that has been played and the total video length in (mm:ss)/(mm:ss) format.', () => {
467
467
  videoResponsePage.steps.startPlaybackFlyoutButtonCompactPreview();
468
468
  videoResponsePage.steps.waitForPlaybackToBeginCompactPreview();
469
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:03', '00:10');
469
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:03', '0:10');
470
470
  });
471
471
 
472
472
  it('When the video player is in playback state and the user clicks on \'Pause\' button, then playback should get paused. Progress bar and timer should not update further and the \'Pause\' button should get replaced with \'Play\' button', () => {
@@ -474,9 +474,9 @@ describe('Preview of Video response for compact recorder style', () => {
474
474
  videoResponsePage.steps.recordAndSaveVideoCompactPreview(10000);
475
475
  videoResponsePage.steps.startPlaybackFlyoutButtonCompactPreview();
476
476
  videoResponsePage.steps.waitForPlaybackToBeginCompactPreview();
477
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:05', '00:10');
477
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:05', '0:10');
478
478
  videoResponsePage.steps.pausePlaybackFlyoutButtonCompactPreview();
479
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:05', '00:10');
479
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:05', '0:10');
480
480
  utilities.verifyElementVisibilityState(videoResponsePage.playPlaybackButtonCompactPreview(), 'visible');
481
481
  utilities.verifyElementVisibilityState(videoResponsePage.pausePlaybackButtonCompactPreview(), 'notExist');
482
482
  utilities.verifyElementVisibilityState(videoResponsePage.playPlaybackFlyoutButton(), 'visible');
@@ -557,13 +557,13 @@ describe('Preview of Video response for compact recorder style', () => {
557
557
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
558
558
  utilities.verifyElementVisibilityState(videoResponsePage.retakeButtonCompactPreview(), 'visible');
559
559
  utilities.verifyElementVisibilityState(videoResponsePage.playPlaybackButtonCompactPreview(), 'visible');
560
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:00', '00:10');
560
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:00', '0:10');
561
561
  });
562
562
 
563
563
  it('When the user clicks on Confirm button of the retake popup, the previous recording should get deleted and a new recording should begin', () => {
564
564
  videoResponsePage.steps.retakeRecordingCompactPreview();
565
565
  videoResponsePage.steps.confirmRetake();
566
- videoResponsePage.steps.verifyRecordingTimeCompactPreview('00:04', '05:00');
566
+ videoResponsePage.steps.verifyRecordingTimeCompactPreview('0:04', '5:00');
567
567
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
568
568
  videoResponsePage.steps.verifyRecordingStatusCompactPreview('Recording...');
569
569
  });
@@ -590,13 +590,13 @@ describe('Preview of Video response for compact recorder style', () => {
590
590
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
591
591
  utilities.verifyElementVisibilityState(videoResponsePage.retakeButtonCompactPreview(), 'visible');
592
592
  utilities.verifyElementVisibilityState(videoResponsePage.playPlaybackButtonCompactPreview(), 'visible');
593
- videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('00:00', '00:10');
593
+ videoResponsePage.steps.verifyVideoPlaybackTimerCompactPreview('0:00', '0:10');
594
594
  });
595
595
 
596
596
  it('When the user clicks on Confirm button of the retake popup, the previous recording should get deleted and a new recording should begin', () => {
597
597
  videoResponsePage.steps.retakeRecordingFlyoutButtonCompactPreview();
598
598
  videoResponsePage.steps.confirmRetake();
599
- videoResponsePage.steps.verifyRecordingTimeCompactPreview('00:04', '05:00');
599
+ videoResponsePage.steps.verifyRecordingTimeCompactPreview('0:04', '5:00');
600
600
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
601
601
  videoResponsePage.steps.verifyRecordingStatusCompactPreview('Recording...');
602
602
  });
@@ -32,7 +32,7 @@ describe('Create Item page - Video response: Customize playback controls (for st
32
32
  utilities.verifyInnerText(videoResponsePage.controlsForPlaybackLabel(), 'Controls for playback');
33
33
  });
34
34
 
35
- it('\'Controls for playback\' options - "Play", "Pause", "Seek", "Record again", "Volume", "Playback speed", "Full screen" and "Forward/Backward" should be displayed. By default, all options except for "Forward/Backward" should be in selected state', () => {
35
+ it('\'Controls for playback\' options - "Play", "Pause", "Seek", "Record again", "Volume", "Playback speed", "Full screen" and "Forward/backward" should be displayed. By default, all options except for "Forward/backward" should be in selected state', () => {
36
36
  utilities.verifyElementVisibilityState(videoResponsePage.playButtonControlsForPlayback(), 'visible');
37
37
  utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 0), 'Play');
38
38
  utilities.verifyElementVisibilityState(videoResponsePage.pauseButtonControlsForPlayback(), 'visible');