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
@@ -6,12 +6,12 @@ const css = Cypress.env('css');
6
6
  const questionStems = ['Pollution caused by treating chemical waste', 'Pollution caused by cement production', 'Pollution caused by methane production', 'Pollution caused by cement and methane production'];
7
7
  const options = ['Fully agree as true', 'Fully agree as false', 'Somewhat agree', 'Somewhat disagree'];
8
8
 
9
- describe('Create Item page - Multiple Selection Grid: Set correct answer, Alternate correct answer - Edit tab cases', () => {
9
+ describe('Create Item page - Multiple Selection Grid: Set correct answer, Alternative correct answer - Edit tab cases', () => {
10
10
  before(() => {
11
11
  cy.loginAs('admin');
12
12
  });
13
13
 
14
- describe('Set Correct Answer section', () => {
14
+ describe('Specify correct answer section', () => {
15
15
  abortEarlySetup();
16
16
  before(() => {
17
17
  multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
@@ -19,7 +19,7 @@ describe('Create Item page - Multiple Selection Grid: Set correct answer, Altern
19
19
 
20
20
  multipleSelectionGridPage.tests.verifyAutoScoredSetCorrectAnswerHeaderSectionContents('multiple selection grid');
21
21
 
22
- it('In the Set Correct Answer section table, 4 columns and 2 rows with \'Question stem\' header and \'No question stem added\' should be displayed with disabled checkboxes should be displayed', () => {
22
+ it('In the Specify correct answer section table, 4 columns and 2 rows with \'Question stem\' header and \'No question stem added\' should be displayed with disabled checkboxes should be displayed', () => {
23
23
  for (let index = 0; index < 4; index++) {
24
24
  multipleSelectionGridPage.steps.verifyTableRowCheckboxesInSetCorrectAnswerTable(index, 2);
25
25
  multipleSelectionGridPage.steps.verifyDisabledTableRowCheckboxesInSetCorrectAnswerTable(index);
@@ -70,7 +70,7 @@ describe('Create Item page - Multiple Selection Grid: Set correct answer, Altern
70
70
  });
71
71
  });
72
72
 
73
- describe('Alternate correct answer', () => {
73
+ describe('Alternative correct answer', () => {
74
74
  abortEarlySetup();
75
75
  before(() => {
76
76
  multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
@@ -98,7 +98,7 @@ describe('Create Item page - Multiple Selection Grid: Set correct answer, Altern
98
98
  }
99
99
  });
100
100
 
101
- it('CSS of Alternate correct answer tab', { tags: 'css' }, () => {
101
+ it('CSS of alternative correct answer tab', { tags: 'css' }, () => {
102
102
  multipleSelectionGridPage.alternateAnswerTab(1)
103
103
  .verifyCSS(css.color.secondaryBtnActive, css.fontSize.default, css.fontWeight.bold)
104
104
  cy.log('CSS of inactive Correct answer tab')
@@ -106,11 +106,11 @@ describe('Create Item page - Multiple Selection Grid: Set correct answer, Altern
106
106
  .verifyCSS(css.color.labels, css.fontSize.default, css.fontWeight.bold)
107
107
  });
108
108
 
109
- it('Accessibility of Alternate correct answer tab', { tags: 'a11y' }, () => {
109
+ it('Accessibility of alternative correct answer tab', { tags: 'a11y' }, () => {
110
110
  cy.checkAccessibility(multipleSelectionGridPage.correctTab().parents('[class*="AlternatePointsComponentstyles__AnswerTabWrapper"]'));
111
111
  });
112
112
 
113
- it('User should be able to set alternate correct answer by checking the checkboxes besides the question stems in Alternate answer tab', () => {
113
+ it('User should be able to set alternative correct answer by checking the checkboxes besides the question stems in Alternate answer tab', () => {
114
114
  multipleSelectionGridPage.steps.allotPoints(5);
115
115
  multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSetCorrectAnswerTable([[0], [1], [0, 1], [0]]);
116
116
  });
@@ -33,8 +33,8 @@ describe('Short text response - Additional settings', () => {
33
33
  shortTextResponsePage.tests.verifyFontSizeSectionContents();
34
34
 
35
35
  //Failing due to https://redmine.zeuslearning.com/issues/526873
36
- const fontsizes = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
37
- const font = ['16px', '12px', '14px', '17px', '20px', '24px'];
36
+ const fontsizes = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
37
+ const font = ['12px', '14px', '16px', '18px', '22px', '26px'];
38
38
  fontsizes.forEach((option, count) => {
39
39
  it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview tab contents should be changed to ${option} in the \'Set Correct Answer\' section as well as in the \'Preview\' tab`, () => {
40
40
  shortTextResponsePage.fontSizeDropdown()
@@ -171,7 +171,7 @@ describe('Short text response - Additional settings', () => {
171
171
  .should('not.exist');
172
172
  shortTextResponsePage.incorrectIcon()
173
173
  .should('not.exist');
174
- shortTextResponsePage.correctIncorectAnswerLabel()
174
+ shortTextResponsePage.correctIncorrectAnswerLabel()
175
175
  .should('not.exist');
176
176
  shortTextResponsePage.correctIncorrectAnswerBorder()
177
177
  .should('not.exist');
@@ -187,7 +187,7 @@ describe('Short text response - Additional settings', () => {
187
187
  shortTextResponsePage.checkAnswerButton()
188
188
  .click();
189
189
  shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon()
190
- shortTextResponsePage.correctIncorectAnswerLabel()
190
+ shortTextResponsePage.correctIncorrectAnswerLabel()
191
191
  .should('not.exist');
192
192
  shortTextResponsePage.correctIncorrectAnswerBorder()
193
193
  .should('not.exist');
@@ -203,7 +203,7 @@ describe('Short text response - Additional settings', () => {
203
203
  shortTextResponsePage.checkAnswerButton()
204
204
  .click();
205
205
  shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon()
206
- shortTextResponsePage.correctIncorectAnswerLabel()
206
+ shortTextResponsePage.correctIncorrectAnswerLabel()
207
207
  .should('not.exist');
208
208
  shortTextResponsePage.correctIncorrectAnswerBorder()
209
209
  .should('not.exist');
@@ -218,7 +218,7 @@ describe('Short text response - Additional settings', () => {
218
218
 
219
219
  it('CSS of disabled \'Check Answer\' button', { tags: 'css' }, () => {
220
220
  shortTextResponsePage.checkAnswerButton()
221
- .verifyCSS(css.color.primaryBtnDisabled, css.fontSize.default, css.fontWeight.regular);
221
+ .verifyCSS(css.color.primaryBtnDisabled, css.fontSize.default, css.fontWeight.semibold);
222
222
  });
223
223
 
224
224
  it('Accessibility of disabled Check Answer button', { tags: 'a11y' }, () => {
@@ -259,7 +259,7 @@ describe('Short text response - Additional settings', () => {
259
259
  shortTextResponsePage.checkAnswerButton()
260
260
  .should('be.enabled');
261
261
  shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
262
- shortTextResponsePage.correctIncorectAnswerLabel()
262
+ shortTextResponsePage.correctIncorrectAnswerLabel()
263
263
  .should('not.exist');
264
264
  shortTextResponsePage.correctIncorrectAnswerBorder()
265
265
  .should('not.exist');
@@ -272,7 +272,7 @@ describe('Short text response - Additional settings', () => {
272
272
  shortTextResponsePage.checkAnswerButton()
273
273
  .click();
274
274
  shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
275
- shortTextResponsePage.correctIncorectAnswerLabel()
275
+ shortTextResponsePage.correctIncorrectAnswerLabel()
276
276
  .should('not.exist');
277
277
  shortTextResponsePage.correctIncorrectAnswerBorder()
278
278
  .should('not.exist');
@@ -300,7 +300,7 @@ describe('Short text response - Additional settings', () => {
300
300
  shortTextResponsePage.checkAnswerButton()
301
301
  .should('be.enabled');
302
302
  shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
303
- shortTextResponsePage.correctIncorectAnswerLabel()
303
+ shortTextResponsePage.correctIncorrectAnswerLabel()
304
304
  .should('not.exist');
305
305
  shortTextResponsePage.correctIncorrectAnswerBorder()
306
306
  .should('not.exist');
@@ -313,7 +313,7 @@ describe('Short text response - Additional settings', () => {
313
313
  shortTextResponsePage.checkAnswerButton()
314
314
  .click();
315
315
  shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
316
- shortTextResponsePage.correctIncorectAnswerLabel()
316
+ shortTextResponsePage.correctIncorrectAnswerLabel()
317
317
  .should('not.exist');
318
318
  shortTextResponsePage.correctIncorrectAnswerBorder()
319
319
  .should('not.exist');
@@ -0,0 +1,407 @@
1
+ import { shortTextResponsePage } from "../../../pages";
2
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+ const css = Cypress.env('css');
4
+ const grepTags = Cypress.env('grepTags');
5
+
6
+ describe('Create Item page - Short text response: Scoring Section', () => {
7
+ before(() => {
8
+ cy.loginAs('admin');
9
+ });
10
+
11
+ if (!grepTags || !grepTags.includes('smoke')) {
12
+ describe('Show correct answer', () => {
13
+ abortEarlySetup();
14
+ before(() => {
15
+ shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
16
+ });
17
+
18
+ shortTextResponsePage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet();
19
+
20
+ it('When the user has set correct answer response and alloted points \'Show correct answer\' checkbox should be displayed and it should be unchecked by default and points for the question should be displayed beside it', () => {
21
+ shortTextResponsePage.steps.switchToEditTab();
22
+ shortTextResponsePage.setCorrectAnswerResponseField()
23
+ .type('Response');
24
+ shortTextResponsePage.steps.allotPoints(20);
25
+ shortTextResponsePage.steps.switchToPreviewTab();
26
+ shortTextResponsePage.steps.uncheckShowCorrectAnswerCheckbox();
27
+ shortTextResponsePage.previewScoreLabel()
28
+ .verifyInnerText('Score:');
29
+ cy.log('Checking total points displayed')
30
+ shortTextResponsePage.previewScoreText()
31
+ .verifyInnerText('0/20');
32
+ });
33
+
34
+ it('When the user attempts question in preview tab and switches to edit tab, then on re-switching to the preview tab users response should not persist', () => {
35
+ cy.log('Attempting the question in preview tab to verify')
36
+ shortTextResponsePage.previewTabResponseField()
37
+ .type('Response')
38
+ .should('have.value', 'Response');
39
+ cy.log('Re-switching to Preview tab and checking response field')
40
+ shortTextResponsePage.steps.switchToEditTab();
41
+ shortTextResponsePage.steps.switchToPreviewTab();
42
+ shortTextResponsePage.previewTabResponseField()
43
+ .should('have.value', '');
44
+ });
45
+
46
+ it('When the user selects \'Show correct answer\' checkbox without attempting the question, correct/Incorrect answer label and border should not be displayed, correct answer container along with correct response should be displayed below the question field', () => {
47
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
48
+ shortTextResponsePage.correctIcon()
49
+ .should('not.exist');
50
+ shortTextResponsePage.incorrectIcon()
51
+ .should('not.exist');
52
+ shortTextResponsePage.correctIncorrectAnswerLabel()
53
+ .should('not.exist');
54
+ shortTextResponsePage.correctIncorrectAnswerBorder()
55
+ .should('not.exist');
56
+ shortTextResponsePage.correctIncorrectAnswerLabel()
57
+ .should('not.exist');
58
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
59
+ .should('be.visible');
60
+ shortTextResponsePage.previewTabCorrectAnswerLabel()
61
+ .verifyInnerText('Correct answer:');
62
+ shortTextResponsePage.previewTabCorrectAnswerResponse()
63
+ .verifyInnerText('Response');
64
+ shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
65
+ });
66
+ });
67
+ }
68
+
69
+ describe('Question Preview: AutoScored - All or Nothing', { tags: 'smoke' }, () => {
70
+ abortEarlySetup();
71
+ before(() => {
72
+ cy.log('Navigating to Short text response question type, adding correct answer response and points, and switching to Preview tab');
73
+ shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
74
+ shortTextResponsePage.setCorrectAnswerResponseField()
75
+ .type('Response');
76
+ shortTextResponsePage.steps.allotPoints(20);
77
+ shortTextResponsePage.steps.expandAdditonalSettings();
78
+ shortTextResponsePage.allowStudentsToCheckAnswerCheckbox()
79
+ .click();
80
+ shortTextResponsePage.steps.switchToPreviewTab();
81
+ });
82
+
83
+ it('Case: When user adds incorrect response', () => {
84
+ shortTextResponsePage.previewTabResponseField()
85
+ .type('Incorrect');
86
+ cy.log('User should be awarded 0 points');
87
+ shortTextResponsePage.previewScoreText()
88
+ .verifyInnerText('0/20');
89
+ cy.log('When the user selects \'Show correct answer\' checkbox, red cross-mark icon should be displayed besides the incorrect answer input field, incorrect answer label and border should not be displayed below the question field and the correct answer container with the correct answer should be displayed');
90
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
91
+ shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
92
+ shortTextResponsePage.correctIncorrectAnswerBorder()
93
+ .should('not.exist');
94
+ shortTextResponsePage.correctIncorrectAnswerLabel()
95
+ .should('not.exist');
96
+ cy.log('The correct answer container with the correct answer should be displayed')
97
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
98
+ .should('be.visible');
99
+ shortTextResponsePage.previewTabCorrectAnswerResponse()
100
+ .verifyInnerText('Response');
101
+ shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
102
+ cy.log('When the user clicks on \'Check answer\' button, red cross-mark icon should be displayed besides the response fields, Incorrect answer label and border should not be displayed and no correct answer container should be displayed')
103
+ shortTextResponsePage.checkAnswerButton()
104
+ .click();
105
+ shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
106
+ shortTextResponsePage.correctIncorrectAnswerBorder()
107
+ .should('not.exist');
108
+ shortTextResponsePage.correctIncorrectAnswerLabel()
109
+ .should('not.exist');
110
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
111
+ .should('not.exist');
112
+ });
113
+
114
+ shortTextResponsePage.tests.verifyCSSAndA11yOfIncorrectAnswerLabel('short text response');
115
+
116
+ it('Case: When user adds correct response', () => {
117
+ cy.log('Adding correct response')
118
+ shortTextResponsePage.previewTabResponseField()
119
+ .clear()
120
+ .type('Response');
121
+ cy.log('User should be awarded with full points')
122
+ shortTextResponsePage.previewScoreText()
123
+ .verifyInnerText('20/20');
124
+ cy.log('When the user selects the \'Show correct answer\' checkbox, green check-mark icon should be displayed besides the response field, correct answer label and border should not be displayed below the question field, correct answer container should not be displayed and user should be awarded with full points');
125
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
126
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
127
+ shortTextResponsePage.correctIncorrectAnswerBorder()
128
+ .should('not.exist');
129
+ shortTextResponsePage.correctIncorrectAnswerLabel()
130
+ .should('not.exist');
131
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
132
+ .should('not.exist');
133
+ shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
134
+ cy.log('When the user clicks on \'Check answer\' button, green check-mark icon should be displayed besides the response fields, Incorrect answer label and border should not be displayed and no correct answer container should be displayed')
135
+ shortTextResponsePage.checkAnswerButton()
136
+ .click();
137
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
138
+ shortTextResponsePage.correctIncorrectAnswerBorder()
139
+ .should('not.exist');
140
+ shortTextResponsePage.correctIncorrectAnswerLabel()
141
+ .should('not.exist');
142
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
143
+ .should('not.exist');
144
+ });
145
+
146
+ shortTextResponsePage.tests.verifyCSSAndA11yOfCorrectAnswerIcon();
147
+
148
+ shortTextResponsePage.tests.verifyCSSAndA11yOfFullScoreTextAndCorrectAnswerLabel('short text response');
149
+
150
+ shortTextResponsePage.tests.verifyMinimumScoreAwardedForIncorrectAnswer('20');
151
+ });
152
+
153
+ if (!grepTags || !grepTags.includes('smoke')) {
154
+ describe('Question Preview: AutoScored - All or Nothing with alternate answer', () => {
155
+ abortEarlySetup();
156
+ before(() => {
157
+ cy.log('Navigating to Short text response question type, adding correct answer response and alternate answer response for autoscored - all or nothing scoring, adding points and switching to Preview tab');
158
+ shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
159
+ shortTextResponsePage.setCorrectAnswerResponseField()
160
+ .type('Response 1');
161
+ shortTextResponsePage.steps.allotPoints(7);
162
+ shortTextResponsePage.alternateAnswerButton()
163
+ .click();
164
+ shortTextResponsePage.setCorrectAnswerResponseField()
165
+ .type('Response 2');
166
+ shortTextResponsePage.steps.allotPoints(3);
167
+ shortTextResponsePage.steps.expandAdditonalSettings();
168
+ shortTextResponsePage.allowStudentsToCheckAnswerCheckbox()
169
+ .click();
170
+ shortTextResponsePage.steps.switchToPreviewTab();
171
+ });
172
+
173
+ it('Alternate answer case: When Alternate Answer points are less than Correct Answer points', () => {
174
+ cy.log('The points displayed should be equal to correct answer points');
175
+ shortTextResponsePage.previewScoreText()
176
+ .verifyInnerText('0/7');
177
+ cy.log('When the user selects \'Show correct answer\' checkbox without attempting the question, correct answer container should be displayed with the correct response from the correct tab');
178
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
179
+ shortTextResponsePage.steps.verifyCorrectAnswerResponsesInCorrectAnswerContainerAndCount('Response 1');
180
+ shortTextResponsePage.correctIcon()
181
+ .should('not.exist');
182
+ shortTextResponsePage.incorrectIcon()
183
+ .should('not.exist');
184
+ shortTextResponsePage.correctIncorrectAnswerBorder()
185
+ .should('not.exist');
186
+ shortTextResponsePage.correctIncorrectAnswerLabel()
187
+ .should('not.exist');
188
+ shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
189
+
190
+ cy.log('When the user enters correct answer set response, points specified for correct answer set (full points) should be provided and on selecting \'Show correct answer\' checkbox green check-mark icon should be displayed besides response field, correct answer label and border should not be displayed and correct answer container should not be displayed')
191
+ shortTextResponsePage.previewTabResponseField()
192
+ .type('Response 1');
193
+ cy.log('User should be awarded with full points')
194
+ shortTextResponsePage.previewScoreText()
195
+ .verifyInnerText('7/7');
196
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
197
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
198
+ shortTextResponsePage.correctIncorrectAnswerBorder()
199
+ .should('not.exist');
200
+ shortTextResponsePage.correctIncorrectAnswerLabel()
201
+ .should('not.exist');
202
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
203
+ .should('not.exist');
204
+ shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
205
+
206
+ cy.log('When the user clicks on \'Check answer\' button, then green check-mark icon should be displayed besides response fields, correct answer label and border should not be displayed, correct answer container should not be displayed')
207
+ shortTextResponsePage.checkAnswerButton()
208
+ .click();
209
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
210
+ shortTextResponsePage.correctIncorrectAnswerBorder()
211
+ .should('not.exist');
212
+ shortTextResponsePage.correctIncorrectAnswerLabel()
213
+ .should('not.exist');
214
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
215
+ .should('not.exist');
216
+
217
+ cy.log('When the user enters alternate correct answer response, points specified for alternate correct answers (less than overall points) should be provided and on selecting \'Show correct answer\' checkbox green check-mark icon should be displayed besides response fields, correct answer label and border should not be displayed below the question field and correct answer container should not be displayed');
218
+ shortTextResponsePage.previewTabResponseField()
219
+ .clear()
220
+ .type('Response 2');
221
+ cy.log('User should be awarded points (less than overall) allocated for the Alternate correct answer tab');
222
+ shortTextResponsePage.previewScoreText()
223
+ .verifyInnerText('3/7');
224
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
225
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
226
+ shortTextResponsePage.correctIncorrectAnswerBorder()
227
+ .should('not.exist');
228
+ shortTextResponsePage.correctIncorrectAnswerLabel()
229
+ .should('not.exist');
230
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
231
+ .should('not.exist');
232
+ shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
233
+
234
+ cy.log('When the user clicks on \'Check answer\' button, then green check-mark icon should be displayed besides response field, correct answer label and border should not be displayed below the below the question field and correct answer container should not be displayed');
235
+ shortTextResponsePage.checkAnswerButton()
236
+ .click();
237
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
238
+ shortTextResponsePage.correctIncorrectAnswerBorder()
239
+ .should('not.exist');
240
+ shortTextResponsePage.correctIncorrectAnswerLabel()
241
+ .should('not.exist');
242
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
243
+ .should('not.exist');
244
+ });
245
+
246
+ it('Alternate answer case: When Alternate answer points are more than correct answer points', () => {
247
+ cy.log('Pre step: Switching to Edit tab and adding Alternate answer points more than correct answer points')
248
+ shortTextResponsePage.steps.switchToEditTab();
249
+ shortTextResponsePage.pointsInputField()
250
+ .clear();
251
+ shortTextResponsePage.steps.allotPoints(10);
252
+ shortTextResponsePage.steps.switchToPreviewTab();
253
+ cy.log('Total points displayed besides Show correct answer checkbox should be of Alternate answer points')
254
+ shortTextResponsePage.previewScoreText()
255
+ .verifyInnerText('0/10')
256
+ cy.log('When the user selects \'Show correct answer\' checkbox without attempting the question, correct answer container should be displayed with the correct response from the Alternate tab')
257
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
258
+ shortTextResponsePage.steps.verifyCorrectAnswerResponsesInCorrectAnswerContainerAndCount('Response 2');
259
+ shortTextResponsePage.correctIncorrectAnswerLabel()
260
+ .should('not.exist');
261
+ shortTextResponsePage.correctIcon()
262
+ .should('not.exist');
263
+ shortTextResponsePage.incorrectIcon()
264
+ .should('not.exist');
265
+ shortTextResponsePage.correctIncorrectAnswerBorder()
266
+ .should('not.exist');
267
+ shortTextResponsePage.correctIncorrectAnswerLabel()
268
+ .should('not.exist');
269
+ shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
270
+
271
+ cy.log('When the user enters correct answer set response, points specified for correct answer set should be provided and on selecting \'Show correct answer\' checkbox green check-mark icon should be displayed besides response field, correct answer label and border should not be displayed and correct answer container should not be displayed')
272
+ shortTextResponsePage.previewTabResponseField()
273
+ .type('Response 1');
274
+ shortTextResponsePage.previewScoreText()
275
+ .verifyInnerText('7/10');
276
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
277
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
278
+ shortTextResponsePage.correctIncorrectAnswerBorder()
279
+ .should('not.exist');
280
+ shortTextResponsePage.correctIncorrectAnswerLabel()
281
+ .should('not.exist');
282
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
283
+ .should('not.exist')
284
+ shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
285
+
286
+ cy.log('When the user clicks on \'Check answer\' button, then green check-mark icon should be displayed besides response field, correct answer label and border should not be displayed and correct answer container should not be displayed')
287
+ shortTextResponsePage.checkAnswerButton()
288
+ .click();
289
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
290
+ shortTextResponsePage.correctIncorrectAnswerBorder()
291
+ .should('not.exist');
292
+ shortTextResponsePage.correctIncorrectAnswerLabel()
293
+ .should('not.exist');
294
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
295
+ .should('not.exist');
296
+
297
+ cy.log('When the user enters alternate correct answer response, points specified for alternate correct answers (more than overall points) should be provided and on selecting \'Show correct answer\' checkbox green check-mark icon should be displayed besides response field, correct answer label and border should not be displayed and correct answer container should not be displayed');
298
+ shortTextResponsePage.previewTabResponseField()
299
+ .clear()
300
+ .type('Response 2');
301
+ cy.log('User should be awarded with full points');
302
+ shortTextResponsePage.previewScoreText()
303
+ .verifyInnerText('10/10');
304
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
305
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
306
+ shortTextResponsePage.correctIncorrectAnswerBorder()
307
+ .should('not.exist');
308
+ shortTextResponsePage.correctIncorrectAnswerLabel()
309
+ .should('not.exist');
310
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
311
+ .should('not.exist')
312
+ shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
313
+
314
+ cy.log('When the user clicks on \'Check answer\' button, then green check-mark icon should be displayed besides response field, correct answer label and border should not be displayed and correct answer container should not be displayed');
315
+ shortTextResponsePage.checkAnswerButton()
316
+ .click();
317
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
318
+ shortTextResponsePage.correctIncorrectAnswerBorder()
319
+ .should('not.exist');
320
+ shortTextResponsePage.correctIncorrectAnswerLabel()
321
+ .should('not.exist');
322
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
323
+ .should('not.exist');
324
+ });
325
+
326
+ it('Alternate answer case: When Alternate Answer points and Correct Answer points both are equal', () => {
327
+ cy.log('Pre step: Switching to Edit tab and alloting points of Alternate answer equal to correct answer')
328
+ shortTextResponsePage.steps.switchToEditTab();
329
+ shortTextResponsePage.pointsInputField()
330
+ .clear();
331
+ shortTextResponsePage.steps.allotPoints(7);
332
+ shortTextResponsePage.steps.switchToPreviewTab();
333
+ cy.log('Checking total points displayed')
334
+ shortTextResponsePage.previewScoreText()
335
+ .verifyInnerText('0/7');
336
+
337
+ cy.log('When the user selects the \'Show correct answer\' checkbox without attempting the question, correct answer container should be displayed with the correct response from the correct tab and Correct/Incorrect answer label and border should not be displayed')
338
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
339
+ shortTextResponsePage.steps.verifyCorrectAnswerResponsesInCorrectAnswerContainerAndCount('Response 1');
340
+ shortTextResponsePage.correctIncorrectAnswerLabel()
341
+ .should('not.exist');
342
+ shortTextResponsePage.correctIcon()
343
+ .should('not.exist');
344
+ shortTextResponsePage.incorrectIcon()
345
+ .should('not.exist');
346
+ shortTextResponsePage.correctIncorrectAnswerBorder()
347
+ .should('not.exist');
348
+ shortTextResponsePage.correctIncorrectAnswerLabel()
349
+ .should('not.exist');
350
+ shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
351
+
352
+ cy.log('When the user enters correct answer response, points specified for correct answer set (full points) should be provided and on selecting \'Show correct answer\' checkbox green check-mark icon should be displayed besides response field, correct answer label and border should not be displayed and correct answer container should not be displayed');
353
+ shortTextResponsePage.previewTabResponseField()
354
+ .type('Response 1');
355
+ cy.log('User should be awarded with full points')
356
+ shortTextResponsePage.previewScoreText()
357
+ .verifyInnerText('7/7');
358
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
359
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
360
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
361
+ .should('not.exist');
362
+ shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
363
+
364
+ cy.log('When the user clicks on \'Check answer\' button, then green check-mark icon should be displayed besides response field, correct answer label and border should not be displayed and correct answer container should not be displayed');
365
+ shortTextResponsePage.checkAnswerButton()
366
+ .click();
367
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
368
+ shortTextResponsePage.correctIncorrectAnswerBorder()
369
+ .should('not.exist');
370
+ shortTextResponsePage.correctIncorrectAnswerLabel()
371
+ .should('not.exist');
372
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
373
+ .should('not.exist');
374
+
375
+ cy.log('When the user enters alternate correct answer response, points specified for alternate correct answers (full points) should be provided and on selecting \'Show correct answer\' checkbox green check-mark icon should be displayed besides response field, correct answer label and border should not be displayed and correct answer container should not be displayed');
376
+ shortTextResponsePage.previewTabResponseField()
377
+ .clear()
378
+ .type('Response 2');
379
+ cy.log('User should be awarded with full points')
380
+ shortTextResponsePage.previewScoreText()
381
+ .verifyInnerText('7/7');
382
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
383
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
384
+ shortTextResponsePage.correctIncorrectAnswerBorder()
385
+ .should('not.exist');
386
+ shortTextResponsePage.correctIncorrectAnswerLabel()
387
+ .should('not.exist');
388
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
389
+ .should('not.exist');
390
+ shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
391
+
392
+ cy.log('When the user clicks on \'Check answer\' button, then green check-mark icon should be displayed besides response field, correct answer label and border should not be displayed and correct answer container should not be displayed');
393
+ shortTextResponsePage.checkAnswerButton()
394
+ .click();
395
+ shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
396
+ shortTextResponsePage.correctIncorrectAnswerBorder()
397
+ .should('not.exist');
398
+ shortTextResponsePage.correctIncorrectAnswerLabel()
399
+ .should('not.exist');
400
+ shortTextResponsePage.previewTabCorrectAnswerContainer()
401
+ .should('not.exist');
402
+ });
403
+
404
+ shortTextResponsePage.tests.verifyMinimumScoreAwardedForIncorrectAnswer('7');
405
+ });
406
+ }
407
+ });
@@ -10,7 +10,7 @@ describe('Create item page - Short text response: \'Case sensitive\' and \'Ignor
10
10
  describe('User can select different property (Exact or Contains text) across multiple set answer tabs (Correct answer tab and Alternate answer tabs)', () => {
11
11
  abortEarlySetup();
12
12
  before(() => {
13
- cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow students to check answer checkbox and switching to preview tab');
13
+ cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox and switching to preview tab');
14
14
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
15
15
  shortTextResponsePage.questionInstructionsInputField()
16
16
  .type('Question Instructions');
@@ -53,7 +53,7 @@ describe('Create item page - Short text response: \'Case sensitive\' and \'Ignor
53
53
  describe('\'Case sensitive\' property should be applied globally to all the set correct answer tabs (Correct answer tab and Alternate answer tabs)', () => {
54
54
  abortEarlySetup();
55
55
  before(() => {
56
- cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow students to check answer checkbox and switching to preview tab');
56
+ cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox and switching to preview tab');
57
57
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
58
58
  shortTextResponsePage.questionInstructionsInputField()
59
59
  .type('Question Instructions');
@@ -105,7 +105,7 @@ describe('Create item page - Short text response: \'Case sensitive\' and \'Ignor
105
105
  describe('\'Ignore spaces before and after\' property should be applied globally to all the set correct answer tabs (Correct answer tab and Alternate answer tabs)', () => {
106
106
  abortEarlySetup();
107
107
  before(() => {
108
- cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow students to check answer checkbox and switching to preview tab');
108
+ cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox and switching to preview tab');
109
109
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
110
110
  shortTextResponsePage.questionInstructionsInputField()
111
111
  .type('Question Instructions');
@@ -10,7 +10,7 @@ describe('Create item page - Short text response: \'Contains text\', \'Case sens
10
10
  describe('\'Contains text\' radio button is selected, \'Case sensitive\' checkbox is unchecked and \'Ignore spaces before and after\' checkbox is checked', () => {
11
11
  abortEarlySetup();
12
12
  before(() => {
13
- cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button and checking the allow students to check answer checkbox and switching to Preview tab');
13
+ cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button and checking the allow student to check answer checkbox and switching to Preview tab');
14
14
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
15
15
  shortTextResponsePage.questionInstructionsInputField()
16
16
  .type('Question Instructions');
@@ -51,7 +51,7 @@ describe('Create item page - Short text response: \'Contains text\', \'Case sens
51
51
  describe('\'Contains text\' radio button is selected, \'Case sensitive\' checkbox is checked and \'Ignore spaces before and after\' checkbox is unchecked', () => {
52
52
  abortEarlySetup();
53
53
  before(() => {
54
- cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button and checking the allow students to check answer checkbox and switching to Preview tab');
54
+ cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button and checking the allow student to check answer checkbox and switching to Preview tab');
55
55
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
56
56
  shortTextResponsePage.questionInstructionsInputField()
57
57
  .type('Question Instructions');
@@ -91,7 +91,7 @@ describe('Create item page - Short text response: \'Contains text\', \'Case sens
91
91
  describe('\'Contains text\' radio button is selected, and both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is unchecked', () => {
92
92
  abortEarlySetup();
93
93
  before(() => {
94
- cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button, unchecking the Ignore spaces before and after checkbox, checking the allow students to check answer checkbox and switching to preview tab');
94
+ cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button, unchecking the Ignore spaces before and after checkbox, checking the allow student to check answer checkbox and switching to preview tab');
95
95
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
96
96
  shortTextResponsePage.questionInstructionsInputField()
97
97
  .type('Question Instructions');
@@ -129,7 +129,7 @@ describe('Create item page - Short text response: \'Contains text\', \'Case sens
129
129
  describe('\'Contains text\' radio button is selected, and both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is checked', () => {
130
130
  abortEarlySetup();
131
131
  before(() => {
132
- cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button, checking the Case sensitive checkbox, checking the allow students to check answer checkbox and switching to preview tab');
132
+ cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button, checking the Case sensitive checkbox, checking the allow student to check answer checkbox and switching to preview tab');
133
133
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
134
134
  shortTextResponsePage.questionInstructionsInputField()
135
135
  .type('Question Instructions');