itemengine-cypress-automation 1.0.70 → 1.0.73

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) hide show
  1. package/cypress/e2e/ILC/AudioResponse/{audioResponseMinimalPreviewSection.js → audioResponseMinimalPreviewSection.smoke.js} +263 -254
  2. package/cypress/e2e/ILC/AudioResponse/{audioResponseStandardPreviewSection.js → audioResponseStandardPreviewSection.smoke.js} +100 -97
  3. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsAllOrNothing.smoke.js +121 -0
  4. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/{groupedOptionsPartialScoreForEachCell.js → groupedOptionsPartialScoreForEachCell.smoke.js} +1 -1
  5. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/{groupedOptionsPartialScoreForEachResponse.js → groupedOptionsPartialScoreForEachResponse.smoke.js} +1 -1
  6. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothing.smoke.js +164 -0
  7. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/{standardTotalScoreDividedBetweenResponse.js → standardTotalScoreDividedBetweenResponse.smoke.js} +21 -18
  8. package/cypress/e2e/ILC/EditTabSettingPage/ItemPreviewSettingsTabContent.js +753 -0
  9. package/cypress/e2e/ILC/EssayResponse/essayResponseCreateCustomCategory.smoke.js +943 -0
  10. package/cypress/e2e/ILC/EssayResponse/{essayResponseCustomizeFormattingOptions1.js → essayResponseCustomizeFormattingOptions1.smoke.js} +113 -110
  11. package/cypress/e2e/ILC/EssayResponse/essayResponseEquationEditor.smoke.js +581 -0
  12. package/cypress/e2e/ILC/EssayResponse/essayResponseGradingViewAndCorrectAnswerViewContents.smoke.js +111 -0
  13. package/cypress/e2e/ILC/EssayResponse/{essayResponsePreviewContentsForAllViews.js → essayResponsePreviewContentsForAllViews.smoke.js} +6 -3
  14. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettings.js +1 -1
  15. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropEditTabBasic.js +1 -1
  16. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedEditTab.smoke.js +81 -0
  17. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/{fillInTheGapsDragAndDropGroupedOptionsAllOrNothingScoring.js → fillInTheGapsDragAndDropGroupedOptionsAllOrNothingScoring.smoke.js} +25 -22
  18. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsAllOrNothingWithAlternateAnswer.js +6 -18
  19. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsScoring.js +0 -2
  20. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsWithAlternateAnswer.js +0 -4
  21. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsScoring.js +0 -2
  22. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedSetCorrectAnswerCheckboxes.js +1 -0
  23. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropSetCorrectAnswerCheckboxes.js +1 -0
  24. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsScoring.js +0 -2
  25. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsWithAlternateAnswer.js +0 -4
  26. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsManualAndNonScoredScoring.js +1 -1
  27. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsScoring.js +0 -2
  28. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -4
  29. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAdditionalSettingsBasic.js +3 -3
  30. package/cypress/e2e/ILC/FillInTheGapsDropdown/{fillInTheGapsDropdownAllOrNothingScoring.js → fillInTheGapsDropdownAllOrNothingScoring.smoke.js} +18 -14
  31. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoringWithAlternateAnswer.js +2 -0
  32. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownManuallyAndNonScoredScoring.js +1 -1
  33. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeights.js +5 -3
  34. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeightsWithAlternateAnswer.js +2 -0
  35. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeights.js +4 -0
  36. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeightsWithAlternateAnswer.js +2 -0
  37. package/cypress/e2e/ILC/{fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAddResponseContainer.js → FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAddResponseContainer.smoke.js} +80 -74
  38. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsBasic.js +2 -2
  39. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.smoke.js +361 -0
  40. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingWithAlternateAnswer.js +6 -0
  41. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditAriaLabelCheckbox.smoke.js +137 -0
  42. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownImageProperties.smoke.js +171 -0
  43. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsWithAlternateAnswer.js +6 -4
  44. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsWithAlternateAnswer.js +6 -3
  45. package/cypress/e2e/ILC/{fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPreviewTab.js → FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPreviewTab.smoke.js} +1 -1
  46. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAddResponseContainer.js +1 -1
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettings.js +2 -2
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsBasic.js +12 -14
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsMultilineResponse.js +4 -5
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsStudentResponseAreaAndLayout.js +2 -1
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageText/{fillInTheGapsOverImageTextAllOrNothingScoring.js → fillInTheGapsOverImageTextAllOrNothingScoring.smoke.js} +32 -29
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageText/{fillInTheGapsOverImageTextCheckAnswerForAllViews.js → fillInTheGapsOverImageTextCheckAnswerForAllViews.smoke.js} +5 -3
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditAriaLabelCheckbox.smoke.js +137 -0
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditTabBasicSection.smoke.js +146 -0
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextManualAndNonScored.js +1 -1
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsScoring.js +4 -2
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsWithAlternateAnswer.js +0 -3
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsScoring.js +2 -1
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsWithAlternateAnswer.js +2 -2
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageText/{fillInTheGapsOverImageTextPreviewContentsForAllViews.js → fillInTheGapsOverImageTextPreviewContentsForAllViews.smoke.js} +5 -3
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageText/{fillInTheGapsOverImageTextPreviewTab.js → fillInTheGapsOverImageTextPreviewTab.smoke.js} +1 -1
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageText/{fillInTheGapsOverImageTextShowCorrectAnswerForAllView.js → fillInTheGapsOverImageTextShowCorrectAnswerForAllView.smoke.js} +6 -4
  63. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsAdvanceSettingsForAllResponseAreas.js +17 -0
  64. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsBasic.js +3 -3
  65. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAllOrNothingWithAlternateAnswer.js +4 -0
  66. package/cypress/e2e/ILC/FillInTheGapsText/{fillInTheGapsTextAutoScoredScoring.js → fillInTheGapsTextAutoScoredScoring.smoke.js} +14 -9
  67. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextCaseSensitiveAndIgnoreExtraSpacesCheckboxes.js +4 -4
  68. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextManuallyAndNonScoredScoring.js +1 -1
  69. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeights.js +4 -2
  70. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeightsWithAlternateAnswer.js +3 -1
  71. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeights.js +4 -0
  72. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeightsWithAlternateAnswer.js +2 -0
  73. package/cypress/e2e/ILC/Highlight/HighlightScoring/{allOrNothingScoring.js → allOrNothingScoring.smoke.js} +36 -34
  74. package/cypress/e2e/ILC/Highlight/HighlightScoring/highlightBasicScoringForTextSelectionTypes.smoke.js +462 -0
  75. package/cypress/e2e/ILC/Highlight/highlightColorLibraryFlyout.smoke.js +148 -0
  76. package/cypress/e2e/ILC/Highlight/highlightQuestionInstructionsAndQuestion.smoke.js +185 -0
  77. package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabBasic.smoke.js +138 -0
  78. package/cypress/e2e/ILC/HighlightImage/{highlightImagePreviewTab.js → highlightImagePreviewTab.smoke.js} +1 -1
  79. package/cypress/e2e/ILC/HighlightImage/{highlightImageToolsFunctionalityPreviewTab.js → highlightImageToolsFunctionalityPreviewTab.smoke.js} +4 -4
  80. package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsAllOrNothingScoring.smoke.js +122 -0
  81. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsManualAndNonScoredScoring.js +1 -1
  82. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferentWeightsScoring.js +2 -3
  83. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
  84. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
  85. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
  86. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsScorings.js +2 -2
  87. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsManualAndNonScoredScoring.js +1 -1
  88. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
  89. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
  90. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
  91. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsScoring.js +2 -3
  92. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsScoring.js +2 -2
  93. package/cypress/e2e/ILC/ListMatching/listMatchingAdditionalSettingsBasic.js +2 -2
  94. package/cypress/e2e/ILC/ListMatching/{listMatchingAlternateAnswer.js → listMatchingAlternateAnswer.smoke.js} +47 -43
  95. package/cypress/e2e/ILC/ListMatching/listMatchingEditTabScoringTypes.js +1 -1
  96. package/cypress/e2e/ILC/ListMatching/listMatchingGroupedOptionsSection.smoke.js +211 -0
  97. package/cypress/e2e/ILC/ListMatching/listMatchingQuestionInstructionsAndStemsSection.smoke.js +254 -0
  98. package/cypress/e2e/ILC/ListMatching/listMatchingStandardOptionsSetCorrectAnswerCheckboxesPreviewTab.smoke.js +191 -0
  99. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
  100. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +2 -1
  101. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +2 -1
  102. package/cypress/e2e/ILC/ListOrdering/{Scoring/allOrNothingScoring.js → ListOrderingScoring/allOrNothingScoring.smoke.js} +34 -32
  103. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/manuallyAndNonScoredScoring.js +3 -3
  104. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +1 -1
  105. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +1 -1
  106. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +4 -3
  107. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsScoring.js +14 -13
  108. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +1 -1
  109. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +2 -2
  110. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +1 -1
  111. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsScoring.js +0 -1
  112. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsAnswerNumerationAndOptionLabel.js +1 -1
  113. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsBasic.js +2 -2
  114. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsOptionStyleDropdown.js +1 -1
  115. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsSetPointsPopup.js +3 -7
  116. package/cypress/e2e/ILC/ListOrdering/listOrderingEditTabScoringSection.js +6 -6
  117. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  118. package/cypress/e2e/ILC/ListSorting/{Scoring/allOrNothingScoring.js → ListSortingScoring/allOrNothingScoring.smoke.js} +41 -38
  119. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/manuallyAndNonScoredScoring.js +1 -1
  120. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
  121. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
  122. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
  123. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsScoring.js +12 -12
  124. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
  125. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
  126. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -2
  127. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsScoring.js +13 -13
  128. package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettingsBasic.js +2 -2
  129. package/cypress/e2e/ILC/ListSorting/listSortingEditTabScoringSection.js +6 -6
  130. package/cypress/e2e/ILC/ListSorting/listSortingSetCorrectAnswerCheckboxes.smoke.js +269 -0
  131. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionAdditionalSettingsGridOptions.js +1 -1
  132. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAdditionalSettingsBasic.js +16 -19
  133. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +3 -3
  134. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +3 -3
  135. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +3 -3
  136. package/cypress/e2e/ILC/MultipleSelectionGrid/{multipleSelectionGridAutoScoredScoring.js → multipleSelectionGridAutoScoredScoring.smoke.js} +40 -38
  137. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabBasicSection.js +1 -1
  138. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabScoringSection.js +2 -2
  139. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridManuallyAndNonScoredScoring.js +3 -3
  140. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeights.js +12 -12
  141. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +25 -26
  142. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +23 -24
  143. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +25 -26
  144. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeights.js +14 -13
  145. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +23 -24
  146. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +21 -22
  147. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +23 -24
  148. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridSetCorrectAnswerSection.js +7 -7
  149. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAdditionalSettingsBasic.js +10 -10
  150. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAutoScoredScoring.smoke.js +407 -0
  151. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseConditionalCheckboxes.js +3 -3
  152. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseContainsConditionalRadioButton.js +4 -4
  153. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseEditTabScoringSection.js +7 -19
  154. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseExactConditionalRadioButton.js +4 -4
  155. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseManuallyScoredNonScoredScoringSection.js +9 -15
  156. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAdditionalSettingsBasic.js +16 -18
  157. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
  158. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  159. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +1 -1
  160. package/cypress/e2e/ILC/SingleSelectionGrid/{singleSelectionGridAutoScoredScoring.js → singleSelectionGridAutoScoredScoring.smoke.js} +36 -33
  161. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabBasicSection.js +1 -1
  162. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabScoringSection.js +2 -2
  163. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridManuallyAndNonScored.js +3 -3
  164. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeights.js +11 -10
  165. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +18 -18
  166. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +16 -16
  167. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +18 -18
  168. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeights.js +10 -9
  169. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +16 -16
  170. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +14 -14
  171. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +16 -17
  172. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridSetCorrectAnswerSection.js +31 -31
  173. package/cypress/e2e/ILC/UploadResponse/{uploadResponsePreview.js → uploadResponsePreview.smoke.js} +64 -59
  174. package/cypress/e2e/ILC/VideoResponse/{videoResponsePreviewTab.js → videoResponsePreviewTab.smoke.js} +290 -281
  175. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettings.js +2 -2
  176. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownManualAndNonScoredScoring.js +1 -1
  177. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsScoring.js +8 -2
  178. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsScoring.js +10 -4
  179. package/cypress/pages/components/additionalSettingsPanel.js +0 -27
  180. package/cypress/pages/components/autoScoredSetCorrectAnswerSection.js +1 -1
  181. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +321 -0
  182. package/cypress/pages/components/createQuestionBasePage.js +1 -7
  183. package/cypress/pages/components/essayResponseCommonComponents.js +0 -6
  184. package/cypress/pages/components/fillInTheGapsCommonComponents.js +0 -13
  185. package/cypress/pages/components/index.js +2 -1
  186. package/cypress/pages/components/mcqAdditionalSettingsBase.js +0 -10
  187. package/cypress/pages/components/scoringSectionBase.js +3 -2
  188. package/cypress/pages/createItemPage.js +3 -79
  189. package/cypress/pages/dialogBoxBase.js +8 -23
  190. package/cypress/pages/index.js +1 -4
  191. package/cypress/pages/itemPreviewSettingsPage.js +446 -0
  192. package/cypress/pages/multipleSelectionPage.js +113 -64
  193. package/cypress/pages/selectQuestionResourceToolPage.js +0 -5
  194. package/cypress/pages/shortTextResponsePage.js +0 -6
  195. package/cypress/pages/singleSelectionPage.js +0 -1
  196. package/package.json +2 -2
  197. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsAllOrNothing.js +0 -116
  198. package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothing.js +0 -160
  199. package/cypress/e2e/ILC/EssayResponse/essayResponseCreateCustomCategory.js +0 -932
  200. package/cypress/e2e/ILC/EssayResponse/essayResponseEquationEditor.js +0 -572
  201. package/cypress/e2e/ILC/EssayResponse/essayResponseGradingViewAndCorrectAnswerViewContents.js +0 -106
  202. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedEditTab.js +0 -76
  203. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditAriaLabelCheckbox.js +0 -134
  204. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditTabBasicSection.js +0 -133
  205. package/cypress/e2e/ILC/Highlight/HighlightScoring/highlightBasicScoringForTextSelectionTypes.js +0 -457
  206. package/cypress/e2e/ILC/Highlight/highlightColorLibraryFlyout.js +0 -143
  207. package/cypress/e2e/ILC/Highlight/highlightQuestionInstructionsAndQuestion.js +0 -178
  208. package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabBasic.js +0 -125
  209. package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsAllOrNothingScoring.js +0 -117
  210. package/cypress/e2e/ILC/ListMatching/listMatchingGroupedOptionsSection.js +0 -207
  211. package/cypress/e2e/ILC/ListMatching/listMatchingQuestionInstructionsAndStemsSection.js +0 -246
  212. package/cypress/e2e/ILC/ListMatching/listMatchingStandardOptionsSetCorrectAnswerCheckboxesPreviewTab.js +0 -185
  213. package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettings.js +0 -820
  214. package/cypress/e2e/ILC/ListSorting/listSortingAutoScoredScoring.js +0 -936
  215. package/cypress/e2e/ILC/ListSorting/listSortingSetCorrectAnswerCheckboxes.js +0 -263
  216. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAutoScoredScoring.js +0 -418
  217. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.js +0 -352
  218. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditAriaLabelCheckbox.js +0 -134
  219. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownImageProperties.js +0 -156
  220. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
  221. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
  222. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
  223. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
  224. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
  225. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
  226. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
  227. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
  228. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
  229. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingScoring.js +0 -0
  230. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +0 -0
  231. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
  232. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +0 -0
  233. /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
  234. /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
@@ -1,13 +1,14 @@
1
1
  import { audioResponsePage } from "../../../pages/audioResponsePage";
2
2
  import abortEarlySetup from "../../../support/helpers/abortEarly";
3
3
  const css = Cypress.env('css');
4
+ const grepTags = Cypress.env('grepTags');
4
5
 
5
6
  describe('Preview tab of Audio Response', () => {
6
7
  before(() => {
7
8
  cy.loginAs('admin');
8
9
  });
9
10
 
10
- describe('Preview tab of Minimal recorder style with recording overlay', () => {
11
+ describe('Preview tab of Minimal recorder style with recording overlay', { tags: 'smoke' }, () => {
11
12
  abortEarlySetup();
12
13
  before(() => {
13
14
  cy.log('Navigating to Audio Response question type');
@@ -306,95 +307,97 @@ describe('Preview tab of Audio Response', () => {
306
307
  });
307
308
  });
308
309
 
309
- describe('Preview tab of Minimal recorder style without recording overlay', () => {
310
- abortEarlySetup();
311
- before(() => {
312
- cy.log('Navigating to Audio Response question type');
313
- audioResponsePage.steps.navigateToCreateQuestion('audio response');
314
- cy.log('Setting Maximum recording length to 10 seconds');
315
- audioResponsePage.steps.setMaximumRecorderLength(10);
316
- cy.log('Switching to Minimal recorder style deselect recording overlay option, and switching to Preview tab');
317
- audioResponsePage.steps.switchToMinimalRecorderStyle();
318
- audioResponsePage.steps.expandCustomizeRecorderAndPlaybackControlsAccordion();
319
- audioResponsePage.recordingOverlayOptionButton()
320
- .click();
321
- audioResponsePage.steps.switchToPreviewTab();
322
- });
323
-
324
- it('When the user clicks on the \'Record\' icon, the recording should start and \'Record\' button should get replaced with Stop button. \'Playback\' button should be disabled. Recording overlay should not be displayed', () => {
325
- audioResponsePage.minimalPreviewRecordButton()
326
- .click();
327
- cy.log('Starting a recording and letting it record until Maximum recording length is reached');
328
- audioResponsePage.minimalPreviewStopRecordingButton()
329
- .verifyInnerText('Stop')
330
- .should('be.visible')
331
- .and('be.enabled')
332
- .find('svg')
333
- .should('be.visible');
334
- audioResponsePage.minimalPreviewPlaybackButton()
335
- .should('be.disabled')
336
- .and('be.visible')
337
- .verifyInnerText('Playback')
338
- .find('svg')
339
- .should('be.visible');
340
- audioResponsePage.minimalPreviewRecordingOverlay()
341
- .should('not.exist');
342
- });
343
-
344
- it('When recording is inprogress, user should not be able to pause the recording as the recording overlay is not displayed', () => {
345
- audioResponsePage.minimalPreviewPauseRecordingButton()
346
- .should('not.exist');
347
- });
348
-
349
- it('When recording is inprogress and the user clicks on \'Stop\' button, recording should stop and \'Your response has been recorded\' help text message should be displayed in preview. Stop button should get replaced with Retake button and Playback button should be enabled. Overlay should not be displayed in player', () => {
350
- audioResponsePage.minimalPreviewStopRecordingButton()
351
- .click();
352
- audioResponsePage.minimalPreviewRecorderHelpText()
353
- .should('have.text', 'Your response has been recorded');
354
- audioResponsePage.minimalPreviewRetakeButton()
355
- .should('be.enabled')
356
- .and('be.visible')
357
- .verifyInnerText('Retake')
358
- .find('svg')
359
- .should('be.visible');
360
- audioResponsePage.minimalPreviewPlaybackButton()
361
- .should('be.enabled')
362
- .and('be.visible')
363
- .verifyInnerText('Playback')
364
- .find('svg')
365
- .should('be.visible');
366
- audioResponsePage.minimalPreviewRecordingOverlay()
367
- .should('not.exist');
368
- audioResponsePage.minimalPreviewPlaybackOverlay()
369
- .should('not.exist');
370
- });
371
-
372
- it('When recording is inprogress, recording should stop at recording length and \'Stop\' button should get replaced with Retake button. Playback button should be displayed in enabled state. \Your response has been recorded\' help message should be displayed in preview. Overlay should not be displayed in player', () => {
373
- cy.log('Pre-step : Switching to edit tab and back to preview tab to reset the recording, and then starting a new record response');
374
- audioResponsePage.steps.resetQuestionPreview();
375
- audioResponsePage.minimalPreviewRecordButton()
376
- .click();
377
- cy.log('Starting a recording and letting it record until Maximum recording length is reached');
378
- audioResponsePage.minimalPreviewRecorderHelpText()
379
- .should('have.text', 'Your response has been recorded');
380
- audioResponsePage.minimalPreviewRetakeButton()
381
- .should('be.visible')
382
- .and('be.enabled');
383
- audioResponsePage.minimalPreviewStopRecordingButton()
384
- .should('not.exist');
385
- audioResponsePage.minimalPreviewPlaybackButton()
386
- .should('be.visible')
387
- .and('be.enabled');
388
- audioResponsePage.minimalPreviewPlaybackOverlay()
389
- .should('not.exist');
390
- audioResponsePage.minimalPreviewRecordingOverlay()
391
- .should('not.exist');
392
- cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
393
- audioResponsePage.steps.switchToEditTab();
394
- });
395
- });
396
-
397
- describe('Minimal recorder style- Playback player with playback overlay', () => {
310
+ if (!grepTags || !grepTags.includes('smoke')) {
311
+ describe('Preview tab of Minimal recorder style without recording overlay', () => {
312
+ abortEarlySetup();
313
+ before(() => {
314
+ cy.log('Navigating to Audio Response question type');
315
+ audioResponsePage.steps.navigateToCreateQuestion('audio response');
316
+ cy.log('Setting Maximum recording length to 10 seconds');
317
+ audioResponsePage.steps.setMaximumRecorderLength(10);
318
+ cy.log('Switching to Minimal recorder style deselect recording overlay option, and switching to Preview tab');
319
+ audioResponsePage.steps.switchToMinimalRecorderStyle();
320
+ audioResponsePage.steps.expandCustomizeRecorderAndPlaybackControlsAccordion();
321
+ audioResponsePage.recordingOverlayOptionButton()
322
+ .click();
323
+ audioResponsePage.steps.switchToPreviewTab();
324
+ });
325
+
326
+ it('When the user clicks on the \'Record\' icon, the recording should start and \'Record\' button should get replaced with Stop button. \'Playback\' button should be disabled. Recording overlay should not be displayed', () => {
327
+ audioResponsePage.minimalPreviewRecordButton()
328
+ .click();
329
+ cy.log('Starting a recording and letting it record until Maximum recording length is reached');
330
+ audioResponsePage.minimalPreviewStopRecordingButton()
331
+ .verifyInnerText('Stop')
332
+ .should('be.visible')
333
+ .and('be.enabled')
334
+ .find('svg')
335
+ .should('be.visible');
336
+ audioResponsePage.minimalPreviewPlaybackButton()
337
+ .should('be.disabled')
338
+ .and('be.visible')
339
+ .verifyInnerText('Playback')
340
+ .find('svg')
341
+ .should('be.visible');
342
+ audioResponsePage.minimalPreviewRecordingOverlay()
343
+ .should('not.exist');
344
+ });
345
+
346
+ it('When recording is inprogress, user should not be able to pause the recording as the recording overlay is not displayed', () => {
347
+ audioResponsePage.minimalPreviewPauseRecordingButton()
348
+ .should('not.exist');
349
+ });
350
+
351
+ it('When recording is inprogress and the user clicks on \'Stop\' button, recording should stop and \'Your response has been recorded\' help text message should be displayed in preview. Stop button should get replaced with Retake button and Playback button should be enabled. Overlay should not be displayed in player', () => {
352
+ audioResponsePage.minimalPreviewStopRecordingButton()
353
+ .click();
354
+ audioResponsePage.minimalPreviewRecorderHelpText()
355
+ .should('have.text', 'Your response has been recorded');
356
+ audioResponsePage.minimalPreviewRetakeButton()
357
+ .should('be.enabled')
358
+ .and('be.visible')
359
+ .verifyInnerText('Retake')
360
+ .find('svg')
361
+ .should('be.visible');
362
+ audioResponsePage.minimalPreviewPlaybackButton()
363
+ .should('be.enabled')
364
+ .and('be.visible')
365
+ .verifyInnerText('Playback')
366
+ .find('svg')
367
+ .should('be.visible');
368
+ audioResponsePage.minimalPreviewRecordingOverlay()
369
+ .should('not.exist');
370
+ audioResponsePage.minimalPreviewPlaybackOverlay()
371
+ .should('not.exist');
372
+ });
373
+
374
+ it('When recording is inprogress, recording should stop at recording length and \'Stop\' button should get replaced with Retake button. Playback button should be displayed in enabled state. \Your response has been recorded\' help message should be displayed in preview. Overlay should not be displayed in player', () => {
375
+ cy.log('Pre-step : Switching to edit tab and back to preview tab to reset the recording, and then starting a new record response');
376
+ audioResponsePage.steps.resetQuestionPreview();
377
+ audioResponsePage.minimalPreviewRecordButton()
378
+ .click();
379
+ cy.log('Starting a recording and letting it record until Maximum recording length is reached');
380
+ audioResponsePage.minimalPreviewRecorderHelpText()
381
+ .should('have.text', 'Your response has been recorded');
382
+ audioResponsePage.minimalPreviewRetakeButton()
383
+ .should('be.visible')
384
+ .and('be.enabled');
385
+ audioResponsePage.minimalPreviewStopRecordingButton()
386
+ .should('not.exist');
387
+ audioResponsePage.minimalPreviewPlaybackButton()
388
+ .should('be.visible')
389
+ .and('be.enabled');
390
+ audioResponsePage.minimalPreviewPlaybackOverlay()
391
+ .should('not.exist');
392
+ audioResponsePage.minimalPreviewRecordingOverlay()
393
+ .should('not.exist');
394
+ cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
395
+ audioResponsePage.steps.switchToEditTab();
396
+ });
397
+ });
398
+ }
399
+
400
+ describe('Minimal recorder style- Playback player with playback overlay', { tags: 'smoke' }, () => {
398
401
  abortEarlySetup();
399
402
  before(() => {
400
403
  cy.log('Navigating to Audio Response question type');
@@ -774,168 +777,174 @@ describe('Preview tab of Audio Response', () => {
774
777
  });
775
778
  });
776
779
 
777
- describe('Minimal recorder style- Playback player without playback overlay', () => {
778
- abortEarlySetup();
779
- before(() => {
780
- cy.log('Navigating to Audio Response question type');
781
- audioResponsePage.steps.navigateToCreateQuestion('audio response');
782
- cy.log('Setting Maximum recording length to 10 seconds and selecting minimal recorder style');
783
- audioResponsePage.steps.setMaximumRecorderLength(10);
784
- audioResponsePage.steps.switchToMinimalRecorderStyle();
785
- audioResponsePage.steps.expandCustomizeRecorderAndPlaybackControlsAccordion();
786
- audioResponsePage.playbackOverlayOptionButton()
787
- .click();
788
- cy.log('Switch to Preview tab');
789
- audioResponsePage.steps.switchToPreviewTab();
790
- audioResponsePage.minimalPreviewRecordButton()
791
- .click();
792
- cy.log('Starting a recording and letting it record until Maximum recording length is reached');
793
- audioResponsePage.minimalPreviewRecorderHelpText()
794
- .should('have.text', 'Your response has been recorded');
795
- });
796
-
797
-
798
- it('When the user clicks on \'Playback\' button, playback of saved recording should start and Playback button should get replaced with stop button. Playback overlay should not be displayed', () => {
799
- audioResponsePage.minimalPreviewPlaybackButton()
800
- .click()
801
- .should('not.exist');
802
- audioResponsePage.minimalPreviewStopPlaybackButton()
803
- .should('be.visible')
804
- .and('be.enabled')
805
- .verifyInnerText('Stop')
806
- .find('svg')
807
- .should('be.visible');
808
- audioResponsePage.minimalPreviewPlaybackOverlay()
809
- .should('not.exist');
810
- });
811
-
812
- it('When user clicks on \'Stop\' button, playback should stop and Stop button should get replaced with Playback button.', () => {
813
- audioResponsePage.minimalPreviewStopPlaybackButton()
814
- .click()
815
- .should('not.exist');
816
- audioResponsePage.minimalPreviewPlaybackButton()
817
- .should('be.visible')
818
- .and('be.enabled');
819
- audioResponsePage.minimalPreviewPlaybackOverlay()
820
- .should('not.exist');
821
- cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
822
- audioResponsePage.steps.switchToEditTab();
823
- });
824
- });
825
-
826
- describe('Preview tab of Minimal recorder style- Retake my audio response with recording overlay', () => {
827
- abortEarlySetup();
828
- before(() => {
829
- cy.log('Navigating to Audio Response question type');
830
- audioResponsePage.steps.navigateToCreateQuestion('audio response');
831
- cy.log('Setting Maximum recording length to 10 seconds and selecting minimal recorder style');
832
- audioResponsePage.steps.setMaximumRecorderLength(10);
833
- audioResponsePage.steps.switchToMinimalRecorderStyle();
834
- cy.log('Switch to Preview tab');
835
- audioResponsePage.steps.switchToPreviewTab();
836
- audioResponsePage.minimalPreviewRecordButton()
837
- .click();
838
- cy.log('Starting a recording and letting it record until Maximum recording length is reached');
839
- audioResponsePage.minimalPreviewRecorderHelpText()
840
- .should('have.text', 'Your response has been recorded');
841
- });
842
-
843
- it('When the user clicks on \'Retake\' button, \'Retake\' popup should be displayed along with \'Are you sure you want to overwrite the existing audio recording?\' message', () => {
844
- audioResponsePage.minimalPreviewRetakeButton()
845
- .click();
846
- audioResponsePage.dialogBox()
847
- .should('be.visible');
848
- audioResponsePage.dialogBoxTitle()
849
- .verifyInnerText('Retake');
850
- audioResponsePage.retakePopupContent()
851
- .verifyInnerText('Are you sure you want to overwrite the existing audio recording?');
852
- audioResponsePage.confirmRetakeButton()
853
- .should('be.visible')
854
- .and('be.enabled')
855
- .verifyInnerText('Confirm');
856
- audioResponsePage.cancelRetakeButton()
857
- .should('be.visible')
858
- .and('be.enabled')
859
- .verifyInnerText('Cancel');
860
- });
861
-
862
- it('When the user clicks on Cancel button, popup should close and previous state persist', () => {
863
- audioResponsePage.cancelRetakeButton()
864
- .click();
865
- audioResponsePage.dialogBox()
866
- .should('not.exist');
867
- audioResponsePage.minimalPreviewRetakeButton()
868
- .should('be.visible');
869
- audioResponsePage.minimalPreviewPlaybackButton()
870
- .should('be.visible');
871
- audioResponsePage.minimalPreviewRecorderHelpText()
872
- .should('have.text', 'Your response has been recorded');
873
- });
874
-
875
- it('When the user clicks on Confirm button of the retake popup, the previous recording should get deleted and a new recording should begin. When recording is inprogress, recording overlay should be displayed', () => {
876
- audioResponsePage.minimalPreviewRetakeButton()
877
- .click();
878
- audioResponsePage.confirmRetakeButton()
879
- .click();
880
- audioResponsePage.dialogBox()
881
- .should('not.exist');
882
- audioResponsePage.minimalPreviewRecordingOverlay()
883
- .should('be.visible');
884
- audioResponsePage.minimalPreviewRecorderFlyoutHelpText()
885
- .verifyInnerText('Recording...');
886
- audioResponsePage.minimalPreviewStopRecordingButton()
887
- .should('be.visible')
888
- .and('be.enabled');
889
- audioResponsePage.minimalPreviewPlaybackButton()
890
- .should('be.visible')
891
- .and('be.disabled');
892
- cy.log('Letting it record until Maximum recording length of 10 seconds is reached');
893
- audioResponsePage.minimalPreviewRecorderHelpText()
894
- .should('have.text', 'Your response has been recorded');
895
- cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
896
- audioResponsePage.steps.switchToEditTab();
897
- });
898
- });
899
-
900
- describe('Preview tab of Minimal recorder style- Retake my audio response without recording overlay', () => {
901
- abortEarlySetup();
902
- before(() => {
903
- cy.log('Navigating to Audio Response question type');
904
- audioResponsePage.steps.navigateToCreateQuestion('audio response');
905
- cy.log('Setting Maximum recording length to 10 seconds and selecting minimal recorder style');
906
- audioResponsePage.steps.setMaximumRecorderLength(10);
907
- audioResponsePage.steps.switchToMinimalRecorderStyle();
908
- cy.log('Expand \'Customize recorder and playback controls (for student player)\' accordion and deselect recording overlay, then switching to preview tab');
909
- audioResponsePage.customizeRecorderAndPlaybackControlsAccordionLabel()
910
- .click();
911
- audioResponsePage.recordingOverlayOptionButton()
912
- .click();
913
- audioResponsePage.steps.switchToPreviewTab();
914
- audioResponsePage.minimalPreviewRecordButton()
915
- .click();
916
- cy.log('Starting a recording and letting it record until Maximum recording length of 10 seconds is reached');
917
- audioResponsePage.minimalPreviewRecorderHelpText()
918
- .should('have.text', 'Your response has been recorded');
919
- });
920
-
921
- it('When the user clicks on Confirm button of the retake popup, the previous recording should get deleted and a new recording should begin. When recording is inprogress, recording overlay should not be displayed', () => {
922
- audioResponsePage.minimalPreviewRetakeButton()
923
- .click();
924
- audioResponsePage.confirmRetakeButton()
925
- .click();
926
- audioResponsePage.dialogBox()
927
- .should('not.exist');
928
- audioResponsePage.minimalPreviewStopRecordingButton()
929
- .should('be.visible')
930
- .and('be.enabled');
931
- audioResponsePage.minimalPreviewPlaybackButton()
932
- .should('be.visible')
933
- .and('be.disabled');
934
- audioResponsePage.minimalPreviewRecordingOverlay()
935
- .should('not.exist');
936
- cy.log('Letting it record until Maximum recording length of 10 seconds is reached');
937
- audioResponsePage.minimalPreviewRecorderHelpText()
938
- .should('have.text', 'Your response has been recorded');
939
- });
940
- });
780
+ if (!grepTags || !grepTags.includes('smoke')) {
781
+ describe('Minimal recorder style- Playback player without playback overlay', () => {
782
+ abortEarlySetup();
783
+ before(() => {
784
+ cy.log('Navigating to Audio Response question type');
785
+ audioResponsePage.steps.navigateToCreateQuestion('audio response');
786
+ cy.log('Setting Maximum recording length to 10 seconds and selecting minimal recorder style');
787
+ audioResponsePage.steps.setMaximumRecorderLength(10);
788
+ audioResponsePage.steps.switchToMinimalRecorderStyle();
789
+ audioResponsePage.steps.expandCustomizeRecorderAndPlaybackControlsAccordion();
790
+ audioResponsePage.playbackOverlayOptionButton()
791
+ .click();
792
+ cy.log('Switch to Preview tab');
793
+ audioResponsePage.steps.switchToPreviewTab();
794
+ audioResponsePage.minimalPreviewRecordButton()
795
+ .click();
796
+ cy.log('Starting a recording and letting it record until Maximum recording length is reached');
797
+ audioResponsePage.minimalPreviewRecorderHelpText()
798
+ .should('have.text', 'Your response has been recorded');
799
+ });
800
+
801
+
802
+ it('When the user clicks on \'Playback\' button, playback of saved recording should start and Playback button should get replaced with stop button. Playback overlay should not be displayed', () => {
803
+ audioResponsePage.minimalPreviewPlaybackButton()
804
+ .click()
805
+ .should('not.exist');
806
+ audioResponsePage.minimalPreviewStopPlaybackButton()
807
+ .should('be.visible')
808
+ .and('be.enabled')
809
+ .verifyInnerText('Stop')
810
+ .find('svg')
811
+ .should('be.visible');
812
+ audioResponsePage.minimalPreviewPlaybackOverlay()
813
+ .should('not.exist');
814
+ });
815
+
816
+ it('When user clicks on \'Stop\' button, playback should stop and Stop button should get replaced with Playback button.', () => {
817
+ audioResponsePage.minimalPreviewStopPlaybackButton()
818
+ .click()
819
+ .should('not.exist');
820
+ audioResponsePage.minimalPreviewPlaybackButton()
821
+ .should('be.visible')
822
+ .and('be.enabled');
823
+ audioResponsePage.minimalPreviewPlaybackOverlay()
824
+ .should('not.exist');
825
+ cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
826
+ audioResponsePage.steps.switchToEditTab();
827
+ });
828
+ });
829
+ }
830
+
831
+ if (!grepTags || !grepTags.includes('smoke')) {
832
+ describe('Preview tab of Minimal recorder style- Retake my audio response with recording overlay', () => {
833
+ abortEarlySetup();
834
+ before(() => {
835
+ cy.log('Navigating to Audio Response question type');
836
+ audioResponsePage.steps.navigateToCreateQuestion('audio response');
837
+ cy.log('Setting Maximum recording length to 10 seconds and selecting minimal recorder style');
838
+ audioResponsePage.steps.setMaximumRecorderLength(10);
839
+ audioResponsePage.steps.switchToMinimalRecorderStyle();
840
+ cy.log('Switch to Preview tab');
841
+ audioResponsePage.steps.switchToPreviewTab();
842
+ audioResponsePage.minimalPreviewRecordButton()
843
+ .click();
844
+ cy.log('Starting a recording and letting it record until Maximum recording length is reached');
845
+ audioResponsePage.minimalPreviewRecorderHelpText()
846
+ .should('have.text', 'Your response has been recorded');
847
+ });
848
+
849
+ it('When the user clicks on \'Retake\' button, \'Retake\' popup should be displayed along with \'Are you sure you want to overwrite the existing audio recording?\' message', () => {
850
+ audioResponsePage.minimalPreviewRetakeButton()
851
+ .click();
852
+ audioResponsePage.dialogBox()
853
+ .should('be.visible');
854
+ audioResponsePage.dialogBoxTitle()
855
+ .verifyInnerText('Retake');
856
+ audioResponsePage.retakePopupContent()
857
+ .verifyInnerText('Are you sure you want to overwrite the existing audio recording?');
858
+ audioResponsePage.confirmRetakeButton()
859
+ .should('be.visible')
860
+ .and('be.enabled')
861
+ .verifyInnerText('Confirm');
862
+ audioResponsePage.cancelRetakeButton()
863
+ .should('be.visible')
864
+ .and('be.enabled')
865
+ .verifyInnerText('Cancel');
866
+ });
867
+
868
+ it('When the user clicks on Cancel button, popup should close and previous state persist', () => {
869
+ audioResponsePage.cancelRetakeButton()
870
+ .click();
871
+ audioResponsePage.dialogBox()
872
+ .should('not.exist');
873
+ audioResponsePage.minimalPreviewRetakeButton()
874
+ .should('be.visible');
875
+ audioResponsePage.minimalPreviewPlaybackButton()
876
+ .should('be.visible');
877
+ audioResponsePage.minimalPreviewRecorderHelpText()
878
+ .should('have.text', 'Your response has been recorded');
879
+ });
880
+
881
+ it('When the user clicks on Confirm button of the retake popup, the previous recording should get deleted and a new recording should begin. When recording is inprogress, recording overlay should be displayed', () => {
882
+ audioResponsePage.minimalPreviewRetakeButton()
883
+ .click();
884
+ audioResponsePage.confirmRetakeButton()
885
+ .click();
886
+ audioResponsePage.dialogBox()
887
+ .should('not.exist');
888
+ audioResponsePage.minimalPreviewRecordingOverlay()
889
+ .should('be.visible');
890
+ audioResponsePage.minimalPreviewRecorderFlyoutHelpText()
891
+ .verifyInnerText('Recording...');
892
+ audioResponsePage.minimalPreviewStopRecordingButton()
893
+ .should('be.visible')
894
+ .and('be.enabled');
895
+ audioResponsePage.minimalPreviewPlaybackButton()
896
+ .should('be.visible')
897
+ .and('be.disabled');
898
+ cy.log('Letting it record until Maximum recording length of 10 seconds is reached');
899
+ audioResponsePage.minimalPreviewRecorderHelpText()
900
+ .should('have.text', 'Your response has been recorded');
901
+ cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
902
+ audioResponsePage.steps.switchToEditTab();
903
+ });
904
+ });
905
+ }
906
+
907
+ if (!grepTags || !grepTags.includes('smoke')) {
908
+ describe('Preview tab of Minimal recorder style- Retake my audio response without recording overlay', () => {
909
+ abortEarlySetup();
910
+ before(() => {
911
+ cy.log('Navigating to Audio Response question type');
912
+ audioResponsePage.steps.navigateToCreateQuestion('audio response');
913
+ cy.log('Setting Maximum recording length to 10 seconds and selecting minimal recorder style');
914
+ audioResponsePage.steps.setMaximumRecorderLength(10);
915
+ audioResponsePage.steps.switchToMinimalRecorderStyle();
916
+ cy.log('Expand \'Customize recorder and playback controls (for student player)\' accordion and deselect recording overlay, then switching to preview tab');
917
+ audioResponsePage.customizeRecorderAndPlaybackControlsAccordionLabel()
918
+ .click();
919
+ audioResponsePage.recordingOverlayOptionButton()
920
+ .click();
921
+ audioResponsePage.steps.switchToPreviewTab();
922
+ audioResponsePage.minimalPreviewRecordButton()
923
+ .click();
924
+ cy.log('Starting a recording and letting it record until Maximum recording length of 10 seconds is reached');
925
+ audioResponsePage.minimalPreviewRecorderHelpText()
926
+ .should('have.text', 'Your response has been recorded');
927
+ });
928
+
929
+ it('When the user clicks on Confirm button of the retake popup, the previous recording should get deleted and a new recording should begin. When recording is inprogress, recording overlay should not be displayed', () => {
930
+ audioResponsePage.minimalPreviewRetakeButton()
931
+ .click();
932
+ audioResponsePage.confirmRetakeButton()
933
+ .click();
934
+ audioResponsePage.dialogBox()
935
+ .should('not.exist');
936
+ audioResponsePage.minimalPreviewStopRecordingButton()
937
+ .should('be.visible')
938
+ .and('be.enabled');
939
+ audioResponsePage.minimalPreviewPlaybackButton()
940
+ .should('be.visible')
941
+ .and('be.disabled');
942
+ audioResponsePage.minimalPreviewRecordingOverlay()
943
+ .should('not.exist');
944
+ cy.log('Letting it record until Maximum recording length of 10 seconds is reached');
945
+ audioResponsePage.minimalPreviewRecorderHelpText()
946
+ .should('have.text', 'Your response has been recorded');
947
+ });
948
+ });
949
+ }
941
950
  });