itemengine-cypress-automation 1.0.194-packageUpdate1-2424cfe.0 → 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
@@ -42,10 +42,10 @@ const selectors = {
42
42
  dropzoneColumnHeaderPreviewTab: () => cy.get('.preview-container [class*="ClozeWithDragAndDropstyles__HeaderContainer"]').eq(1),
43
43
  dropzoneColumnAndPromptHeaderWrapperSpecifyCorrectAnswerSection: () => cy.get('.correct-answer-accordion [class*="ClozeWithDragAndDropstyles__ResponseHeaderWrapper"]'),
44
44
  //Specify correct answer section
45
- dropzoneSpecifyCorrectAnswerSection: () => cy.get('.authoring-droppable-hotspot-wrapper:visible'),
45
+ dropzoneSpecifyCorrectAnswerSection: () => cy.get('.correct-answer-wrapper .authoring-droppable-hotspot-wrapper'),
46
+ dropzoneWrapperSpecifyCorrectAnswerSection: () => cy.get('.match-list-form-control-wrapper-preview .authoring-droppable-hotspot-wrapper'),
46
47
  optionContainerOptionsSpecifyCorrectAnswerSection: () => cy.get('.draggable-selected-item'),
47
- //Need to update this once https://redmine.zeuslearning.com/issues/568599 is resolved
48
- addPromptButton: () => cy.get('.add-option-wrapper-cls button').contains('Add option').eq(0),
48
+ addPromptButton: () => cy.get('.add-option-wrapper-cls button').contains('Add prompt'),
49
49
  deletePromptButton: () => cy.get('[aria-label*="Delete prompt "]'),
50
50
  optionNumeration: () => cy.get('.response-options-wrapper [class*="SingleOptionstyle__AdornmentDiv"]'),
51
51
  promptSpecifyCorrectAnswerSection: () => cy.get('.correct-answer-wrapper .stem-container [data-testid="question-instruction-element"]'),
@@ -1076,7 +1076,7 @@ const steps = {
1076
1076
  * @param {string} ariaLabel - The expected ARIA label of the dropzone.
1077
1077
  */
1078
1078
  verifyDropzoneAriaLabelSpecifyCorrectAnswerSection: (inputFieldIndex, ariaLabel) => {
1079
- matchingPage.dropzoneSpecifyCorrectAnswerSection()
1079
+ matchingPage.dropzoneWrapperSpecifyCorrectAnswerSection()
1080
1080
  .eq(inputFieldIndex)
1081
1081
  .should('have.attr', 'aria-label', ariaLabel);
1082
1082
  },
@@ -1459,24 +1459,19 @@ const tests = {
1459
1459
  * @throws {Error} Throws an error if the expected error message is not displayed.
1460
1460
  */
1461
1461
  verifyOptionInputFieldErrorState: (inputFieldIndex) => {
1462
- it('When user focus in and out of any of the \'Options\' input field without typing anything, an error message should be thrown', () => {
1462
+ it('When user focus in and out of any of the \'Options\' input field without typing anything, an error message should not be thrown', () => {
1463
1463
  matchingPage.optionInputField()
1464
1464
  .eq(inputFieldIndex)
1465
1465
  .click()
1466
1466
  .blur();
1467
- utilities.verifyInnerText(commonComponents.errorMessage().eq(1), 'Error: Option is required.');
1467
+ utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
1468
1468
  });
1469
1469
 
1470
- it('User should be able to enter text in options input field and \'Error: Option is required.\' error message should disappear', () => {
1470
+ it('User should be able to enter text in options input field', () => {
1471
1471
  matchingPage.optionInputField()
1472
1472
  .eq(inputFieldIndex)
1473
1473
  .type('option 1')
1474
1474
  .blur();
1475
- matchingPage.optionWrapper()
1476
- .eq(inputFieldIndex)
1477
- .within(() => {
1478
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
1479
- });
1480
1475
  });
1481
1476
  },
1482
1477
 
@@ -1593,6 +1588,7 @@ const tests = {
1593
1588
 
1594
1589
  it('When the user enters text in options input fields then the entered text should be displayed in the respective draggable options in a group in the options container of the specify correct answer section', () => {
1595
1590
  matchingPage.steps.enterTextInOptionInputField(options);
1591
+ matchingPage.steps.focusInAndFocusOutOfOptionsInputField(0)
1596
1592
  draggableOptionContainer.steps.verifyGroupedContainerContentsInSpecifyCorrectAnswerSection(0, options);
1597
1593
  });
1598
1594
 
@@ -52,7 +52,9 @@ const selectors = {
52
52
  return cy.get('[aria-labelledby*="Maximum-number-of-answers-dropdown-label"] [role="option"]')
53
53
  }
54
54
  },
55
- minMaxWarningMessage: () => cy.get('.disabled-wrapper-cls')
55
+ minMaxWarningMessage: () => cy.get('.disabled-wrapper-cls'),
56
+ correctIncorrectAnswerText: () => cy.get('[class*="AnswerTextWrapper"]'),
57
+ correctIncorrectAnswerTextWrapper: () => cy.get('[class*="StatusContainer"]')
56
58
  }
57
59
 
58
60
  const steps = {
@@ -181,6 +183,13 @@ const steps = {
181
183
  .within(() => {
182
184
  utilities.verifyElementVisibilityState(autoScoredScoringPreviewTab.correctIcon(), 'visible');
183
185
  });
186
+ multipleSelectionPage.optionsWrapperGradingView()
187
+ .eq(optionIndex)
188
+ .find('label')
189
+ .then(($label) => {
190
+ const boxShadow = $label.css('box-shadow');
191
+ expect(boxShadow).to.include(css.color.correctAnswer);
192
+ });
184
193
  },
185
194
 
186
195
  /**
@@ -193,6 +202,13 @@ const steps = {
193
202
  .within(() => {
194
203
  utilities.verifyElementVisibilityState(autoScoredScoringPreviewTab.incorrectIcon(), 'visible');
195
204
  });
205
+ multipleSelectionPage.optionsWrapperGradingView()
206
+ .eq(optionIndex)
207
+ .find('label')
208
+ .then(($label) => {
209
+ const boxShadow = $label.css('box-shadow');
210
+ expect(boxShadow).to.include(css.color.incorrectAnswer);
211
+ });
196
212
  },
197
213
 
198
214
  /**
@@ -568,6 +584,24 @@ const steps = {
568
584
  .should('have.value', points)
569
585
  .blur();
570
586
  },
587
+
588
+ /**
589
+ * @param {("correct" | "incorrect")} answerStatus - The status of the answer.
590
+ * @description Verifies the visibility and content of the correct/incorrect answer label block.
591
+ * If the answer is correct, it also verifies the visibility of the correct icon;
592
+ * otherwise, it verifies the visibility of the incorrect icon.
593
+ */
594
+ verifyCorrectIncorrectAnswerLabel: (answerStatus) => {
595
+ utilities.verifyInnerText(multipleSelectionPage.correctIncorrectAnswerText(), `Your answer is${answerStatus}`)
596
+ multipleSelectionPage.correctIncorrectAnswerTextWrapper()
597
+ .within(() => {
598
+ if (answerStatus === 'correct') {
599
+ utilities.verifyElementVisibilityState(multipleSelectionPage.correctIcon(), 'visible');
600
+ } else {
601
+ utilities.verifyElementVisibilityState(multipleSelectionPage.incorrectIcon(), 'visible');
602
+ }
603
+ });
604
+ },
571
605
  }
572
606
 
573
607
  const tests = {
@@ -189,7 +189,7 @@ const steps = {
189
189
  numberLineLabelPage.labelInputField()
190
190
  .eq(index)
191
191
  .find('strong')
192
- .should('have.text', 'This is a bold option');
192
+ .should('have.text', '​​​​​​​This is a bold option');
193
193
  },
194
194
 
195
195
  /**
@@ -198,7 +198,7 @@ const steps = {
198
198
  const originX = graphWidth / 2;
199
199
  const originY = graphHeight / 2;
200
200
  const x1Pixel = originX + startingPoint * (graphWidth / range);
201
- const rayArrowWidth = 42;
201
+ const rayArrowWidth = 18;
202
202
  const x2Pixel = direction === "left" ? rayArrowWidth : graphWidth - rayArrowWidth;
203
203
  cy.get(`.ngie-accordion .ngie-jxgbox svg [stroke-linecap="butt"][x1*="${Math.floor(x1Pixel)}"][y1*="${Math.floor(originY)}"][x2*="${Math.floor(x2Pixel)}"][y2*="${Math.floor(originY)}"]`)
204
204
  .should('be.visible');
@@ -381,7 +381,7 @@ const steps = {
381
381
  const originX = graphWidth / 2;
382
382
  const originY = graphHeight / 2;
383
383
  const x1Pixel = originX + startingPoint * (graphWidth / range);
384
- const rayArrowWidth = 42;
384
+ const rayArrowWidth = 18;
385
385
  const x2Pixel = direction === "left" ? rayArrowWidth : graphWidth - rayArrowWidth;
386
386
  cy.get('[class*="question-preview-wrapper"] .ngie-jxgbox').eq(0).find(`[stroke-linecap="butt"][x1*="${Math.floor(x1Pixel)}"][y1*="${Math.floor(originY)}"][x2*="${Math.floor(x2Pixel)}"][y2*="${Math.floor(originY)}"]`)
387
387
  .should('be.visible');
@@ -423,7 +423,7 @@ const steps = {
423
423
  const originX = graphWidth / 2;
424
424
  const originY = graphHeight / 2;
425
425
  const x1Pixel = originX + startingPoint * (graphWidth / range);
426
- const rayArrowWidth = 42;
426
+ const rayArrowWidth = 18;
427
427
  const x2Pixel = direction === "left" ? rayArrowWidth : graphWidth - rayArrowWidth;
428
428
  cy.get('[class*="question-preview-wrapper"] .ngie-jxgbox').eq(0).find(`[stroke-linecap="butt"][x1*="${Math.floor(x1Pixel)}"][y1*="${Math.floor(originY)}"][x2*="${Math.floor(x2Pixel)}"][y2*="${Math.floor(originY)}"]`)
429
429
  .should('have.css', 'stroke', css.color.correctAnswer);
@@ -465,7 +465,7 @@ const steps = {
465
465
  const originX = graphWidth / 2;
466
466
  const originY = graphHeight / 2;
467
467
  const x1Pixel = originX + startingPoint * (graphWidth / range);
468
- const rayArrowWidth = 42;
468
+ const rayArrowWidth = 18;
469
469
  const x2Pixel = direction === "left" ? rayArrowWidth : graphWidth - rayArrowWidth;
470
470
  cy.get('[class*="question-preview-wrapper"] .ngie-jxgbox').eq(0).find(`[stroke-linecap="butt"][x1*="${Math.floor(x1Pixel)}"][y1*="${Math.floor(originY)}"][x2*="${Math.floor(x2Pixel)}"][y2*="${Math.floor(originY)}"]`)
471
471
  .should('have.css', 'stroke', css.color.incorrectAnswer);
@@ -508,7 +508,7 @@ const steps = {
508
508
  const originX = graphWidth / 2;
509
509
  const originY = graphHeight / 2;
510
510
  const x1Pixel = originX + startingPoint * (graphWidth / range);
511
- const rayArrowWidth = 42;
511
+ const rayArrowWidth = 18;
512
512
  const x2Pixel = direction === "left" ? rayArrowWidth : graphWidth - rayArrowWidth;
513
513
  cy.get('[class*="question-preview-wrapper"] .ngie-jxgbox').eq(0).find(`[stroke-linecap="butt"][x1*="${Math.floor(x1Pixel)}"][y1*="${Math.floor(originY)}"][x2*="${Math.floor(x2Pixel)}"][y2*="${Math.floor(originY)}"]`)
514
514
  .should('not.exist');
@@ -653,7 +653,7 @@ const steps = {
653
653
  const originX = graphWidth / 2;
654
654
  const originY = graphHeight / 2;
655
655
  const x1Pixel = originX + startingPoint * (graphWidth / range);
656
- const rayArrowWidth = 42;
656
+ const rayArrowWidth = 18;
657
657
  const x2Pixel = direction === "left" ? rayArrowWidth : graphWidth - rayArrowWidth;
658
658
  cy.get('[class*="question-preview-wrapper"] .ngie-jxgbox').eq(1).find(`[stroke-linecap="butt"][x1*="${Math.floor(x1Pixel)}"][y1*="${Math.floor(originY)}"][x2*="${Math.floor(x2Pixel)}"][y2*="${Math.floor(originY)}"]`)
659
659
  .should('be.visible');
@@ -695,7 +695,7 @@ const steps = {
695
695
  const originX = graphWidth / 2;
696
696
  const originY = graphHeight / 2;
697
697
  const x1Pixel = originX + startingPoint * (graphWidth / range);
698
- const rayArrowWidth = 42;
698
+ const rayArrowWidth = 18;
699
699
  const x2Pixel = direction === "left" ? rayArrowWidth : graphWidth - rayArrowWidth;
700
700
  cy.get('[class*="question-preview-wrapper"] .ngie-jxgbox').eq(1).find(`[stroke-linecap="butt"][x1*="${Math.floor(x1Pixel)}"][y1*="${Math.floor(originY)}"][x2*="${Math.floor(x2Pixel)}"][y2*="${Math.floor(originY)}"]`)
701
701
  .should('have.css', 'stroke', css.color.correctAnswer);
@@ -738,7 +738,7 @@ const steps = {
738
738
  const originX = graphWidth / 2;
739
739
  const originY = graphHeight / 2;
740
740
  const x1Pixel = originX + startingPoint * (graphWidth / range);
741
- const rayArrowWidth = 42;
741
+ const rayArrowWidth = 18;
742
742
  const x2Pixel = direction === "left" ? rayArrowWidth : graphWidth - rayArrowWidth;
743
743
  cy.get('[class*="question-preview-wrapper"] .ngie-jxgbox').eq(1).find(`svg [stroke-linecap="butt"][x1*="${Math.floor(x1Pixel)}"][y1*="${Math.floor(originY)}"][x2*="${Math.floor(x2Pixel)}"][y2*="${Math.floor(originY)}"]`)
744
744
  .should('not.exist');
@@ -1366,6 +1366,34 @@ const steps = {
1366
1366
  .eq(0)
1367
1367
  .should('have.css', property, value);
1368
1368
  },
1369
+
1370
+ verifySelectedToolOptions: (selectedToolOptions) => {
1371
+ selectedToolOptions.forEach((toolOption, index) => {
1372
+ utilities.verifyElementVisibilityState(toolsAndControlsComponent.toolOptions(`${toolOption.toLowerCase()} selected`), 'visible');
1373
+ utilities.verifyInnerText(utilities.getNthElement(toolsAndControlsComponent.toolOptionsLabel(), index), toolOption);
1374
+ utilities.verifyElementVisibilityState(utilities.getNthElement(toolsAndControlsComponent.toolOptionsTickIcon(), index), 'visible');
1375
+ });
1376
+ },
1377
+
1378
+ verifyUnselectedToolOptions: (unselectedToolOptions) => {
1379
+ unselectedToolOptions.forEach((toolOption, index) => {
1380
+ utilities.verifyElementVisibilityState(toolsAndControlsComponent.toolOptions(`${toolOption.toLowerCase()} not-selected`), 'visible');
1381
+ utilities.verifyInnerText(utilities.getNthElement(toolsAndControlsComponent.toolOptionsLabel(), index + 5), toolOption);
1382
+ utilities.verifyElementVisibilityState(utilities.getNthElement(toolsAndControlsComponent.toolOptionsTickIcon(), index + 5), 'hidden');
1383
+ });
1384
+ },
1385
+
1386
+ verifyControlOptions: (controlOptions) => {
1387
+ controlOptions.forEach((controlOption, index) => {
1388
+ let formattedControlOption = controlOption;
1389
+ if (controlOption === 'Reset') {
1390
+ formattedControlOption = 'reset';
1391
+ }
1392
+ utilities.verifyElementVisibilityState(numberLinePage.controlOptions(`${formattedControlOption} selected`), 'visible');
1393
+ utilities.verifyInnerText(utilities.getNthElement(numberLinePage.controlsOptionsLabel(), index), controlOption);
1394
+ utilities.verifyElementVisibilityState(utilities.getNthElement(numberLinePage.controlsTickIcon(), index), 'visible');
1395
+ });
1396
+ }
1369
1397
  }
1370
1398
 
1371
1399
 
@@ -75,7 +75,6 @@ const selectors = {
75
75
  rulerVisibleImagePreviewTab: () => cy.get('.ngie-icon-with-label-btn g'),
76
76
  rulerHideImagePreviewTab: () => cy.get('.ngie-icon-with-label-btn [data-name="Hide cell"]'),
77
77
  previewWrapper: () => cy.get('[class*="TabsComponentstyles__PreviewWrapper"]'),
78
- cancelButton: () => cy.get('[class*="Popupstyles__ActionButtonsWrapper"] button').contains('cancel'),
79
78
  okButton: () => cy.get('[class*="Popupstyles__ActionButtonsWrapper"] button').contains('ok'),
80
79
  }
81
80
 
@@ -87,11 +86,6 @@ const steps = {
87
86
  ...measuringToolComponent.steps,
88
87
  ...opacityComponent.steps,
89
88
  ...imageActionsComponent.steps,
90
-
91
- clickOnCancelButton: () => {
92
- rulerPage.cancelButton()
93
- .click();
94
- },
95
89
 
96
90
  clickOnOkButton: () => {
97
91
  rulerPage.okButton()
@@ -60,10 +60,6 @@ const steps = {
60
60
  selectQuestionResourceToolPage.resourceAndToolOptionTitle('scientific calculator')
61
61
  .eq(0)
62
62
  .click();
63
- } else if (resourceCategory === 'geogebra scientific calculator') {
64
- selectQuestionResourceToolPage.resourceAndToolOptionTitle('scientific calculator')
65
- .eq(1)
66
- .click();
67
63
  } else {
68
64
  selectQuestionResourceToolPage.resourceAndToolOptionTitle(resourceCategory)
69
65
  .click();
@@ -494,8 +494,7 @@ const tests = {
494
494
 
495
495
  it('On reselecting correct answer option(s), \'Error: Please set a correct answer.\' validation error message should disappear', () => {
496
496
  singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(1);
497
- utilities.verifyElementVisibilityState(commonComponents.errorMessage().contains('Error: Please set a correct answer.'), 'notExist');
498
-
497
+ utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
499
498
  });
500
499
 
501
500
  autoScoredSpecifyCorrectAnswerSection.tests.verifyAutoScoredPointsErrorMessageWhenPointsFieldIsEmpty(accordionName);
@@ -5,7 +5,7 @@ import { supportedFileType } from "../fixtures/uploadResponseFileType";
5
5
  const css = Cypress.env('css');
6
6
 
7
7
  const indexOfDefaultSelectedFileTypes = [0, 1, 2, 3, 4, 5, 6, 7, 20, 21, 22, 28, 29, 30];
8
- const uploadControlsOption = ['Capture Photo', 'Google Drive', 'Drag and drop files'];
8
+ const uploadControlsOption = ['Capture Photo', 'Drag and drop files'];
9
9
 
10
10
  const selectors = {
11
11
  ...scoringSectionBaseEditTab,
@@ -145,7 +145,7 @@ const steps = {
145
145
  .should('not.exist', { timeout: 15000 });
146
146
  cy.wait(10000);
147
147
  uploadResponsePage.virusErrorMessageWrapper()
148
- .should('not.be.visible', {delay:500});
148
+ .should('not.be.visible', { delay: 500 });
149
149
  uploadResponsePage.uploadedFileLink()
150
150
  .last()
151
151
  .should('have.text', files[index]);
@@ -113,7 +113,7 @@ const steps = {
113
113
  ...selectQuestionResourceToolPage.steps,
114
114
  ...commonComponents.steps,
115
115
  /**
116
- * @param {string} recordingStatus - The expected recording status, such as 'Allow access to your camera and microphone.',
116
+ * @param {string} recordingStatus - The expected recording status, such as 'Allow camera and microphone access.',
117
117
  * 'Preparing to record', 'Recording...', 'Recording paused', or 'Saving'.
118
118
  * @throws {Error} Throws an error if an invalid recording status is provided.
119
119
  * @description this function verifies the display of recording status and associated icons in the video response interface.
@@ -124,7 +124,7 @@ const steps = {
124
124
  let expectedIconId = null;
125
125
 
126
126
  switch (recordingStatus) {
127
- case 'Allow access to your camera and microphone.':
127
+ case 'Allow camera and microphone access.':
128
128
  expectedIconId = '#Icon_awesome-microphone';
129
129
  break;
130
130
  case 'Preparing to record':
@@ -418,7 +418,7 @@ const steps = {
418
418
 
419
419
  /**
420
420
  * Selects a control button for playback on the video response page.
421
- * @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/Backward')} button - The control button to select.
421
+ * @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/backward')} button - The control button to select.
422
422
  * @throws {Error} If an invalid button is provided.
423
423
  */
424
424
  selectControlsForPlaybackToggleButton: (button) => {
@@ -458,7 +458,7 @@ const steps = {
458
458
  .click()
459
459
  .should('have.class', 'ngie-toggle-button-selected');
460
460
  break;
461
- case 'Forward/Backward':
461
+ case 'Forward/backward':
462
462
  videoResponsePage.forwardBackwardButtonControlsForPlayback()
463
463
  .click()
464
464
  .should('have.class', 'ngie-toggle-button-selected');
@@ -470,7 +470,7 @@ const steps = {
470
470
 
471
471
  /**
472
472
  * Verifies the selected state of a control button for playback on the video response page.
473
- * @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/Backward')} button - The control button to verify.
473
+ * @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/backward')} button - The control button to verify.
474
474
  * @throws {Error} If an invalid button is provided or if the button is not selected.
475
475
  */
476
476
  verifyControlsForPlaybackToggleButtonSelectedState: (button) => {
@@ -503,7 +503,7 @@ const steps = {
503
503
  videoResponsePage.fullScreenButtonControlsForPlayback()
504
504
  .should('have.class', 'ngie-toggle-button-selected');
505
505
  break;
506
- case 'Forward/Backward':
506
+ case 'Forward/backward':
507
507
  videoResponsePage.forwardBackwardButtonControlsForPlayback()
508
508
  .should('have.class', 'ngie-toggle-button-selected');
509
509
  break;
@@ -514,7 +514,7 @@ const steps = {
514
514
 
515
515
  /**
516
516
  * Deselects a control button for playback on the video response page.
517
- * @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/Backward')} button - The control button to deselect.
517
+ * @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/backward')} button - The control button to deselect.
518
518
  * @throws {Error} If an invalid button is provided.
519
519
  */
520
520
  deselectControlsForPlaybackToggleButton: (button) => {
@@ -554,7 +554,7 @@ const steps = {
554
554
  .click()
555
555
  .should('not.have.class', 'ngie-toggle-button-selected');
556
556
  break;
557
- case 'Forward/Backward':
557
+ case 'Forward/backward':
558
558
  videoResponsePage.forwardBackwardButtonControlsForPlayback()
559
559
  .click()
560
560
  .should('not.have.class', 'ngie-toggle-button-selected');
@@ -566,7 +566,7 @@ const steps = {
566
566
 
567
567
  /**
568
568
  * Verifies the deselected state of a control button for playback on the video response page.
569
- * @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/Backward')} button - The control button to verify.
569
+ * @param {('Play' | 'Pause' | 'Seek' | 'Record again' | 'Volume' | 'Playback speed' | 'Full screen' | 'Forward/backward')} button - The control button to verify.
570
570
  * @throws {Error} If an invalid button is provided or if the button is selected.
571
571
  */
572
572
  verifyControlsForPlaybackToggleButtonDeselectedState: (button) => {
@@ -599,7 +599,7 @@ const steps = {
599
599
  videoResponsePage.fullScreenButtonControlsForPlayback()
600
600
  .should('not.have.class', 'ngie-toggle-button-selected');
601
601
  break;
602
- case 'Forward/Backward':
602
+ case 'Forward/backward':
603
603
  videoResponsePage.forwardBackwardButtonControlsForPlayback()
604
604
  .should('not.have.class', 'ngie-toggle-button-selected');
605
605
  break;
@@ -748,7 +748,7 @@ const steps = {
748
748
  },
749
749
 
750
750
  /**
751
- * @param {string} recordingStatus - The expected recording status, such as 'Allow access to your camera and microphone.',
751
+ * @param {string} recordingStatus - The expected recording status, such as 'Allow camera and microphone access.',
752
752
  * 'Preparing to record', 'Recording...', 'Recording paused', or 'Saving'.
753
753
  * @throws {Error} Throws an error if an invalid recording status is provided.
754
754
  * @description this function verifies the display of recording status and associated icons in the video response interface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.194-packageUpdate1-2424cfe.0",
3
+ "version": "1.0.194",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {