itemengine-cypress-automation 1.0.69 → 1.0.72

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettings.js +2 -2
  2. package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettingsBasic.js +1 -1
  3. package/cypress/e2e/ILC/EssayResponse/essayResponseScoringSection.js +2 -2
  4. package/cypress/e2e/ILC/FeedbackScale/feedbackScaleAdditionalSettingsBasic.js +8 -9
  5. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettings.js +1 -1
  6. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropEditTabBasic.js +1 -1
  7. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsAllOrNothingWithAlternateAnswer.js +6 -18
  8. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsScoring.js +0 -2
  9. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsWithAlternateAnswer.js +0 -4
  10. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsScoring.js +0 -2
  11. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -4
  12. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedSetCorrectAnswerCheckboxes.js +1 -0
  13. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropSetCorrectAnswerCheckboxes.js +1 -0
  14. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsScoring.js +0 -2
  15. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsWithAlternateAnswer.js +0 -4
  16. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsManualAndNonScoredScoring.js +1 -1
  17. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsScoring.js +0 -2
  18. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -4
  19. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAdditionalSettingsBasic.js +3 -3
  20. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoring.js +2 -0
  21. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoringWithAlternateAnswer.js +2 -0
  22. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownManuallyAndNonScoredScoring.js +1 -1
  23. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeights.js +5 -3
  24. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeightsWithAlternateAnswer.js +2 -0
  25. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeights.js +4 -0
  26. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeightsWithAlternateAnswer.js +2 -0
  27. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsBasic.js +2 -2
  28. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingWithAlternateAnswer.js +6 -0
  29. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsWithAlternateAnswer.js +6 -4
  30. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsWithAlternateAnswer.js +6 -3
  31. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAddResponseContainer.js +1 -1
  32. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettings.js +2 -2
  33. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsBasic.js +12 -14
  34. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsMultilineResponse.js +4 -5
  35. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsStudentResponseAreaAndLayout.js +2 -1
  36. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextManualAndNonScored.js +1 -1
  37. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsScoring.js +4 -2
  38. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsWithAlternateAnswer.js +0 -3
  39. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsScoring.js +2 -1
  40. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsWithAlternateAnswer.js +2 -2
  41. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsAdvanceSettingsForAllResponseAreas.js +17 -0
  42. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsBasic.js +3 -3
  43. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAllOrNothingWithAlternateAnswer.js +4 -0
  44. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAutoScoredScoring.js +2 -0
  45. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextCaseSensitiveAndIgnoreExtraSpacesCheckboxes.js +4 -4
  46. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextManuallyAndNonScoredScoring.js +1 -1
  47. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeights.js +4 -2
  48. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeightsWithAlternateAnswer.js +3 -1
  49. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeights.js +4 -0
  50. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeightsWithAlternateAnswer.js +2 -0
  51. package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +2 -0
  52. package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingScoring.js +2 -0
  53. package/cypress/e2e/ILC/Highlight/{highlightBasicScoringForTextSelectionTypes.js → HighlightScoring/highlightBasicScoringForTextSelectionTypes.js} +1 -1
  54. package/cypress/e2e/ILC/Highlight/HighlightScoring/{manualAndNonScored.js → manuallyAndNonScored.js} +1 -1
  55. package/cypress/e2e/ILC/Highlight/HighlightScoring/{partialDifferentWeightsCorrectEqualToAlternatePoints.js → partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js} +2 -0
  56. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsScoring.js +7 -2
  57. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsCorrectPointEqualToAlternatePoints.js +2 -0
  58. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsScoring.js +6 -1
  59. package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsBasic.js +2 -3
  60. package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsMaximumNumberOfAnswers.js +0 -2
  61. package/cypress/e2e/ILC/Highlight/highlightEditTabScoringSection.js +4 -3
  62. package/cypress/e2e/ILC/HighlightImage/highlightImageAdditionalSettings.js +4 -4
  63. package/cypress/e2e/ILC/HighlightImage/highlightImageAdditionalSettingsBasic.js +4 -10
  64. package/cypress/e2e/ILC/HighlightImage/highlightImageAllOrNothingScoring.js +3 -3
  65. package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabScoring.js +9 -5
  66. package/cypress/e2e/ILC/HighlightImage/highlightImageManuallyAndNonScoredScoring.js +1 -1
  67. package/cypress/e2e/ILC/HighlightImage/highlightImagePartialDifferentWeightsScoring.js +14 -15
  68. package/cypress/e2e/ILC/HighlightImage/highlightImagePartialDifferentWeightsWithAlternateAnswer.js +0 -3
  69. package/cypress/e2e/ILC/HighlightImage/highlightImagePartialEqualWeightsScoring.js +14 -14
  70. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsManualAndNonScoredScoring.js +1 -1
  71. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferentWeightsScoring.js +2 -3
  72. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
  73. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
  74. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
  75. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsScorings.js +2 -2
  76. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsManualAndNonScoredScoring.js +1 -1
  77. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
  78. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
  79. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
  80. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsScoring.js +2 -3
  81. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsScoring.js +2 -2
  82. package/cypress/e2e/ILC/ListMatching/listMatchingAdditionalSettingsBasic.js +2 -2
  83. package/cypress/e2e/ILC/ListMatching/listMatchingEditTabScoringTypes.js +1 -1
  84. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
  85. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +2 -1
  86. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +2 -1
  87. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/manuallyAndNonScoredScoring.js +3 -3
  88. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +1 -1
  89. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +1 -1
  90. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +4 -3
  91. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsScoring.js +14 -13
  92. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +1 -1
  93. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +2 -2
  94. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +1 -1
  95. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsScoring.js +0 -1
  96. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsAnswerNumerationAndOptionLabel.js +1 -1
  97. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsBasic.js +2 -2
  98. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsOptionStyleDropdown.js +1 -1
  99. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsSetPointsPopup.js +3 -7
  100. package/cypress/e2e/ILC/ListOrdering/listOrderingEditTabScoringSection.js +6 -6
  101. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  102. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/manuallyAndNonScoredScoring.js +1 -1
  103. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
  104. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
  105. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
  106. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsScoring.js +12 -12
  107. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
  108. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
  109. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -2
  110. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsScoring.js +13 -13
  111. package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettingsBasic.js +2 -2
  112. package/cypress/e2e/ILC/ListSorting/listSortingEditTabScoringSection.js +6 -6
  113. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionAdditionalSettingsGridOptions.js +1 -1
  114. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAdditionalSettingsBasic.js +16 -19
  115. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +3 -3
  116. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +3 -3
  117. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +3 -3
  118. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAutoScoredScoring.js +4 -4
  119. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabBasicSection.js +1 -1
  120. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabScoringSection.js +2 -2
  121. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridManuallyAndNonScoredScoring.js +3 -3
  122. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeights.js +12 -12
  123. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +25 -26
  124. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +23 -24
  125. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +25 -26
  126. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeights.js +14 -13
  127. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +23 -24
  128. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +21 -22
  129. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +23 -24
  130. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridSetCorrectAnswerSection.js +7 -7
  131. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAdditionalSettingsBasic.js +10 -10
  132. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAutoScoredScoring.js +37 -53
  133. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseConditionalCheckboxes.js +3 -3
  134. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseContainsConditionalRadioButton.js +4 -4
  135. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseEditTabScoringSection.js +7 -19
  136. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseExactConditionalRadioButton.js +4 -4
  137. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseManuallyScoredNonScoredScoringSection.js +9 -15
  138. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAdditionalSettingsBasic.js +16 -18
  139. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
  140. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  141. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +1 -1
  142. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAutoScoredScoring.js +4 -4
  143. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabBasicSection.js +1 -1
  144. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabScoringSection.js +2 -2
  145. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridManuallyAndNonScored.js +3 -3
  146. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeights.js +11 -10
  147. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +18 -18
  148. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +16 -16
  149. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +18 -18
  150. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeights.js +10 -9
  151. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +16 -16
  152. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +14 -14
  153. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +16 -17
  154. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridSetCorrectAnswerSection.js +31 -31
  155. package/cypress/e2e/ILC/UploadResponse/uploadResponseAdditionalSettings.js +60 -66
  156. package/cypress/e2e/ILC/UploadResponse/uploadResponseEditTabBasicSections.js +84 -109
  157. package/cypress/e2e/ILC/UploadResponse/uploadResponseHeaderSection.js +4 -18
  158. package/cypress/e2e/ILC/UploadResponse/uploadResponsePreview.js +119 -150
  159. package/cypress/e2e/ILC/UploadResponse/uploadResponseScoringSection.js +2 -2
  160. package/cypress/e2e/ILC/UploadResponse/uplodResponsePreviewUploadedFileProperties.js +110 -164
  161. package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettings.js +1 -1
  162. package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettingsBasic.js +11 -12
  163. package/cypress/e2e/ILC/VideoResponse/videoResponsePreviewTab.js +6 -5
  164. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettings.js +2 -2
  165. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.js +4 -0
  166. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownManualAndNonScoredScoring.js +1 -1
  167. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsScoring.js +8 -2
  168. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsScoring.js +10 -4
  169. package/package.json +1 -1
  170. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
  171. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
  172. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
  173. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingScoring.js +0 -0
  174. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
  175. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
  176. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
  177. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
  178. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
  179. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
  180. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingScoring.js +0 -0
  181. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +0 -0
  182. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
  183. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +0 -0
  184. /package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingScoring.js +0 -0
  185. /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
  186. /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
  187. /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingScoring.js +0 -0
@@ -20,8 +20,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
20
20
  singleSelectionGridPage.steps.addOption()
21
21
  singleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
22
22
  singleSelectionGridPage.steps.addInputToAllOptionsFields(options);
23
- singleSelectionGridPage.steps.selectPartialEqualWeightsCheckbox();
24
- singleSelectionGridPage.steps.uncheckRoundDownScoreCheckbox()
23
+ singleSelectionGridPage.steps.selectPartialEqualWeightsCheckbox();
25
24
  singleSelectionGridPage.steps.allotPoints(20);
26
25
  singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([0, 1, 0, 1]);
27
26
  singleSelectionGridPage.steps.clickOnAddAlternateAnswerButton();
@@ -42,7 +41,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
42
41
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
43
42
  singleSelectionGridPage.incorrectIcon()
44
43
  .should('not.exist');
45
- singleSelectionGridPage.correctIncorectAnswerLabel()
44
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
46
45
  .should('not.exist');
47
46
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
48
47
 
@@ -56,7 +55,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
56
55
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
57
56
  singleSelectionGridPage.incorrectIcon()
58
57
  .should('not.exist');
59
- singleSelectionGridPage.correctIncorectAnswerLabel()
58
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
60
59
  .should('not.exist');
61
60
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
62
61
 
@@ -67,7 +66,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
67
66
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
68
67
  singleSelectionGridPage.incorrectIcon()
69
68
  .should('not.exist');
70
- singleSelectionGridPage.correctIncorectAnswerLabel()
69
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
71
70
  .should('not.exist');
72
71
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
73
72
 
@@ -79,7 +78,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
79
78
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
80
79
  singleSelectionGridPage.incorrectIcon()
81
80
  .should('not.exist');
82
- singleSelectionGridPage.correctIncorectAnswerLabel()
81
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
83
82
  .should('not.exist');
84
83
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
85
84
 
@@ -90,7 +89,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
90
89
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
91
90
  singleSelectionGridPage.incorrectIcon()
92
91
  .should('not.exist');
93
- singleSelectionGridPage.correctIncorectAnswerLabel()
92
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
94
93
  .should('not.exist');
95
94
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
96
95
 
@@ -102,7 +101,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
102
101
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
103
102
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 1);
104
103
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
105
- singleSelectionGridPage.correctIncorectAnswerLabel()
104
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
106
105
  .should('not.exist');
107
106
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
108
107
 
@@ -114,7 +113,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
114
113
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 1);
115
114
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
116
115
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
117
- singleSelectionGridPage.correctIncorectAnswerLabel()
116
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
118
117
  .should('not.exist');
119
118
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
120
119
 
@@ -126,7 +125,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
126
125
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
127
126
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
128
127
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
129
- singleSelectionGridPage.correctIncorectAnswerLabel()
128
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
130
129
  .should('not.exist');
131
130
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
132
131
 
@@ -138,7 +137,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
138
137
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 2);
139
138
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 2);
140
139
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
141
- singleSelectionGridPage.correctIncorectAnswerLabel()
140
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
142
141
  .should('not.exist');
143
142
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
144
143
 
@@ -149,7 +148,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
149
148
  .verifyInnerText('15/20');
150
149
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
151
150
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
152
- singleSelectionGridPage.correctIncorectAnswerLabel()
151
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
153
152
  .should('not.exist');
154
153
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
155
154
 
@@ -161,7 +160,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
161
160
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
162
161
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
163
162
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(3, 1);
164
- singleSelectionGridPage.correctIncorectAnswerLabel()
163
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
165
164
  .should('not.exist');
166
165
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
167
166
 
@@ -172,7 +171,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
172
171
  .verifyInnerText('0/20');
173
172
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
174
173
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 0, 1, 2]);
175
- singleSelectionGridPage.correctIncorectAnswerLabel()
174
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
176
175
  .should('not.exist');
177
176
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
178
177
 
@@ -183,7 +182,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
183
182
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 0, 1, 2]);
184
183
  singleSelectionGridPage.correctIcon()
185
184
  .should('not.exist');
186
- singleSelectionGridPage.correctIncorectAnswerLabel()
185
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
187
186
  .should('not.exist');
188
187
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
189
188
 
@@ -206,7 +205,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
206
205
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
207
206
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
208
207
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(2, 2);
209
- singleSelectionGridPage.correctIncorectAnswerLabel()
208
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
210
209
  .should('not.exist');
211
210
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
212
211
 
@@ -218,7 +217,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
218
217
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
219
218
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(2, 2);
220
219
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(3, 1);
221
- singleSelectionGridPage.correctIncorectAnswerLabel()
220
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
222
221
  .should('not.exist');
223
222
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
224
223
  });
@@ -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 - Single Selection Grid: Set correct answer, Alternate correct answer - Edit tab cases', () => {
9
+ describe('Create Item page - Single Selection Grid: Specify correct answer section, 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 section', () => {
15
15
  abortEarlySetup();
16
16
  before(() => {
17
17
  singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
@@ -19,7 +19,7 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
19
19
 
20
20
  singleSelectionGridPage.tests.verifyAutoScoredSetCorrectAnswerHeaderSectionContents('single 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 radio buttons should be displayed', () => {
22
+ it('In the Specify correct answer section section table, 4 columns and 2 rows with \'Question stem\' header and \'No question stem added\' should be displayed with disabled radio buttons should be displayed', () => {
23
23
  for (let index = 0; index < 4; index++) {
24
24
  singleSelectionGridPage.steps.verifyTableRowRadioButtonsInSetCorrectAnswerTable(index, 2);
25
25
  singleSelectionGridPage.steps.verifyDisabledTableRowRadioButtonsInSetCorrectAnswerTable(index);
@@ -30,7 +30,7 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
30
30
  .verifyInnerText('Question stem');
31
31
  });
32
32
 
33
- it('When user adds question stems and options then the radio buttons should be enabled and user should be able to set correct answer by checking the radio button besides the question stems in the table', () => {
33
+ it('When user adds question stems and options then the radio buttons should be enabled and user should be able to specify correct answer by checking the radio button besides the question stems in the table', () => {
34
34
  cy.log('Pre-step: Adding question instructions, question stem and options')
35
35
  singleSelectionGridPage.steps.addQuestionInstructions()
36
36
  singleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
@@ -50,14 +50,14 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
50
50
 
51
51
  //Note: a11y checked in header section file
52
52
 
53
- it('When user clicks on Add alternate answer button without selecting options for all question stems then a warning popup should be displayed', () => {
54
- singleSelectionGridPage.steps.clickOnAddAlternateAnswerButton()
53
+ it('When user clicks on Add alternative answer button without selecting options for all question stems then a warning popup should be displayed', () => {
54
+ singleSelectionGridPage.steps.clickOnAddAlternativeAnswerButton()
55
55
  dialogBoxBase.dialogBox()
56
56
  .should('exist');
57
57
  dialogBoxBase.steps.closeWarningPopup();
58
58
  });
59
59
 
60
- it('When user closes the warning popup Please set correct answer error message should be displayed as user has partially selected correct answer', () => {
60
+ it('When user closes the warning popup Please specify correct answer error message should be displayed as user has partially selected correct answer', () => {
61
61
  singleSelectionGridPage.errorMessage()
62
62
  .eq(1)
63
63
  .verifyInnerText('Error: Please set a correct answer.')
@@ -73,16 +73,16 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
73
73
  });
74
74
  });
75
75
 
76
- describe('Alternate correct answer', () => {
76
+ describe('Alternative correct answer', () => {
77
77
  abortEarlySetup();
78
78
  before(() => {
79
79
  singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
80
80
  singleSelectionGridPage.steps.addQuestionInstructions()
81
81
  });
82
82
 
83
- singleSelectionGridPage.tests.verifyAutoScoredAlternateAnswer();
83
+ singleSelectionGridPage.tests.verifyAutoScoredAlternativeAnswer();
84
84
 
85
- it('When user has added points and selected correct answer in the Correct tab, then the user should be able to add alternate answer for the question using \'Add Alternate Answer\' button', () => {
85
+ it('When user has added points and selected correct answer in the Correct tab, then the user should be able to add alternative answer for the question using \'Add Alternative Answer\' button', () => {
86
86
  cy.log('Pre step: Adding 2 options')
87
87
  singleSelectionGridPage.steps.addOption();
88
88
  singleSelectionGridPage.steps.addOption();
@@ -90,10 +90,10 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
90
90
  singleSelectionGridPage.steps.addInputToAllOptionsFields(options);
91
91
  singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([1, 3, 2, 1]);
92
92
  singleSelectionGridPage.steps.allotPoints(10);
93
- singleSelectionGridPage.steps.addAlternateTab(1);
93
+ singleSelectionGridPage.steps.addAlternativeTab(1);
94
94
  });
95
95
 
96
- it('When user adds Alternate answer tab then the question stems and option stems should be prefilled and the radio buttons should be deselected', () => {
96
+ it('When user adds Alternative answer tab then the question stems and option stems should be prefilled and the radio buttons should be deselected', () => {
97
97
  singleSelectionGridPage.steps.verifyQuestionStemsInSetCorrectAnswerTable(questionStems);
98
98
  singleSelectionGridPage.steps.verifyTableHeaderContentsInSetCorrectAnswerTable(options);
99
99
  for (let index = 0; index < 4; index++) {
@@ -101,31 +101,31 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
101
101
  }
102
102
  });
103
103
 
104
- it('CSS of Alternate correct answer tab', { tags: 'css' }, () => {
105
- singleSelectionGridPage.alternateAnswerTab(1)
104
+ it('CSS of Alternative correct answer tab', { tags: 'css' }, () => {
105
+ singleSelectionGridPage.alternativeAnswerTab(1)
106
106
  .verifyCSS(css.color.secondaryBtnActive, css.fontSize.default, css.fontWeight.bold)
107
107
  cy.log('CSS of inactive Correct answer tab')
108
108
  singleSelectionGridPage.correctTab()
109
109
  .verifyCSS(css.color.labels, css.fontSize.default, css.fontWeight.bold)
110
110
  });
111
111
 
112
- it('Accessibility of Alternate correct answer tab', { tags: 'a11y' }, () => {
113
- cy.checkAccessibility(singleSelectionGridPage.correctTab().parents('[class*="AlternatePointsComponentstyles__AnswerTabWrapper"]'));
112
+ it('Accessibility of Alternative correct answer tab', { tags: 'a11y' }, () => {
113
+ cy.checkAccessibility(singleSelectionGridPage.correctTab().parents('[class*="AlternativePointsComponentstyles__AnswerTabWrapper"]'));
114
114
  });
115
115
 
116
- it('User should be able to set alternate correct answer by checking the radio buttons besides the question stems in Alternate answer tab', () => {
116
+ it('User should be able to set alternative correct answer by checking the radio buttons besides the question stems in Alternative answer tab', () => {
117
117
  singleSelectionGridPage.steps.allotPoints(5);
118
118
  singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([0, 1, 2, 3]);
119
119
  });
120
120
 
121
- it('User should be able to add another alternate answer for the question using \'Add Alternate Answer\' button and the name for this new tab should be \'Alternate 2\'', () => {
122
- singleSelectionGridPage.steps.addAlternateTab(2);
121
+ it('User should be able to add another alternative answer for the question using \'Add Alternative Answer\' button and the name for this new tab should be \'Alternative 2\'', () => {
122
+ singleSelectionGridPage.steps.addAlternativeTab(2);
123
123
  });
124
124
 
125
- singleSelectionGridPage.tests.verifyWarningPopupAndTabNavigationWhenNoPointsAddedInAlternateTab();
125
+ singleSelectionGridPage.tests.verifyWarningPopupAndTabNavigationWhenNoPointsAddedInAlternativeTab();
126
126
 
127
127
  //Failing due to https://redmine.zeuslearning.com/issues/532359
128
- it('When user partially selects correct answer the Please set correct answer error message should not disappear', () => {
128
+ it('When user partially selects correct answer the Please specify correct answer error message should not disappear', () => {
129
129
  singleSelectionGridPage.steps.selectOptionFromSetCorrectAnswerTable(0, 1);
130
130
  singleSelectionGridPage.steps.selectOptionFromSetCorrectAnswerTable(1, 0);
131
131
  singleSelectionGridPage.errorMessage()
@@ -142,27 +142,27 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
142
142
  .should('not.exist');
143
143
  });
144
144
 
145
- it('When the user clicks on the \'Close\' button alongside alternate answer tab, alternate answer tab should get removed and the name of the alternate answer tabs should get updated accordingly', () => {
146
- cy.log('Set correct answer and points in alternate 2 tab, then switch to Alternate 1 tab and click delete icon button');
145
+ it('When the user clicks on the \'Close\' button alongside alternative answer tab, alternative answer tab should get removed and the name of the alternative answer tabs should get updated accordingly', () => {
146
+ cy.log('specify correct answer and points in alternative 2 tab, then switch to Alternative 1 tab and click delete icon button');
147
147
  singleSelectionGridPage.steps.allotPoints(7);
148
148
  singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([1, 0, 1, 3]);
149
- singleSelectionGridPage.steps.navigateToAlternateTab(1);
150
- singleSelectionGridPage.steps.deleteAlternateTab();
151
- singleSelectionGridPage.alternateAnswerTab(2)
149
+ singleSelectionGridPage.steps.navigateToAlternativeTab(1);
150
+ singleSelectionGridPage.steps.deleteAlternativeTab();
151
+ singleSelectionGridPage.alternativeAnswerTab(2)
152
152
  .should('not.exist');
153
- singleSelectionGridPage.alternateAnswerTab(1)
154
- .verifyInnerText('Alternate 1');
153
+ singleSelectionGridPage.alternativeAnswerTab(1)
154
+ .verifyInnerText('Alternative 1');
155
155
  });
156
156
 
157
157
  //Failing due to https://redmine.zeuslearning.com/issues/531902
158
- it('On deleting option set as correct answer option in Alternate answer tab, \'Error: Please set a correct answer.\' validation error message should be thrown along with an error icon on the \'Alternate 1\' tab', () => {
158
+ it('On deleting option set as correct answer option in Alternative answer tab, \'Error: Please set a correct answer.\' validation error message should be thrown along with an error icon on the \'Alternative 1\' tab', () => {
159
159
  singleSelectionGridPage.steps.deleteOption(0)
160
160
  singleSelectionGridPage.errorMessage()
161
161
  .verifyInnerText('Error: Please set a correct answer.');
162
162
  singleSelectionGridPage.steps.verifySetCorrectAnswerErrorIconIsDisplayed()
163
163
  });
164
164
 
165
- it('On reselecting correct answer option in Alternate answer tab, \'Error: Please set a correct answer.\' validation error message should disappear', () => {
165
+ it('On reselecting correct answer option in Alternative answer tab, \'Error: Please set a correct answer.\' validation error message should disappear', () => {
166
166
  singleSelectionGridPage.steps.selectOptionFromSetCorrectAnswerTable(1, 2);
167
167
  singleSelectionGridPage.steps.verifyErrorMessageIsNotDisplayed();
168
168
  singleSelectionGridPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
@@ -174,7 +174,7 @@ describe('Create Item page - Single Selection Grid: Set correct answer, Alternat
174
174
  singleSelectionGridPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
175
175
  });
176
176
 
177
- it('When the user is on \'Alternate 1\' tab then on deleting option set as correct answer option only in the Correct answer tab, tab should be switched from \'Alternate 1\' to \'CORRECT\' tab and \'Error: Please set a correct answer.\' validation error message should be thrown alongwith an error icon besides the \'Correct\' tab', () => {
177
+ it('When the user is on \'Alternative 1\' tab then on deleting option set as correct answer option only in the Correct answer tab, tab should be switched from \'Alternative 1\' to \'CORRECT\' tab and \'Error: Please set a correct answer.\' validation error message should be thrown alongwith an error icon besides the \'Correct\' tab', () => {
178
178
  singleSelectionGridPage.steps.deleteOption(1)
179
179
  singleSelectionGridPage.steps.verifyActiveStateOfCorrectTab()
180
180
  singleSelectionGridPage.steps.verifySetCorrectAnswerErrorIconIsDisplayed()
@@ -1,5 +1,6 @@
1
1
  import abortEarlySetup from "../../../support/helpers/abortEarly";
2
2
  import { uploadResponsePage } from "../../../pages";
3
+ import utilities from "../../../support/helpers/utilities";
3
4
  const css = Cypress.env('css');
4
5
 
5
6
  describe('Create question page - Upload Response: Additional Settings', () => {
@@ -16,14 +17,16 @@ describe('Create question page - Upload Response: Additional Settings', () => {
16
17
  uploadResponsePage.tests.verifyAdditonalSettingsAccordionProperties();
17
18
 
18
19
  it('\'File settings and layout\' label should be displayed', () => {
19
- uploadResponsePage.fileSettingsAndLayoutLabel()
20
- .verifyInnerText('File settings and layout')
21
- .and('be.visible');
20
+ utilities.verifyInnerText(uploadResponsePage.fileSettingsAndLayoutLabel(), 'File settings and layout');
21
+ utilities.verifyElementVisibilityState(uploadResponsePage.fileSettingsAndLayoutLabel(), 'visible');
22
22
  });
23
23
 
24
24
  it('CSS of \'File settings and layout\' section', { tags: 'css' }, () => {
25
- uploadResponsePage.fileSettingsAndLayoutLabel()
26
- .verifyCSS(css.color.sectionHeading, css.fontSize.default, css.fontWeight.semibold);
25
+ utilities.verifyCSS(uploadResponsePage.fileSettingsAndLayoutLabel(), {
26
+ 'color': css.color.sectionHeading,
27
+ 'font-size': css.fontSize.default,
28
+ 'font-weight': css.fontWeight.semibold
29
+ });
27
30
  });
28
31
 
29
32
  it('Accessibility of \'File settings and layout\' section', { tags: 'a11y' }, () => {
@@ -41,21 +44,19 @@ describe('Create question page - Upload Response: Additional Settings', () => {
41
44
  });
42
45
 
43
46
  it('\'Allow students to capture photos\' checkbox label and checkbox should be displayed and by default it should be checked', () => {
44
- uploadResponsePage.allowStudentsToCapturePhotosLabel()
45
- .verifyInnerText('Allow students to capture photos');
46
- uploadResponsePage.allowStudentsToCapturePhotosCheckbox()
47
- .should('be.checked')
48
- .parent()
49
- .should('be.visible');
47
+ utilities.verifyInnerText(uploadResponsePage.allowStudentsToCapturePhotosLabel(), 'Allow students to capture photos');
48
+ uploadResponsePage.steps.verifyCapturePhotosCheckboxIsCheckedAndVisible();
50
49
  });
51
50
 
52
51
  it('CSS of \'Allow students to capture photos\' section - checked state', { tags: 'css' }, () => {
53
- uploadResponsePage.allowStudentsToCapturePhotosLabel()
54
- .verifyCSS(css.color.labelText, css.fontSize.normal, css.fontWeight.regular);
55
- uploadResponsePage.allowStudentsToCapturePhotosCheckbox()
56
- .parent()
57
- .find('svg')
58
- .should('have.css', 'color', css.color.activeButtons);
52
+ utilities.verifyCSS(uploadResponsePage.allowStudentsToCapturePhotosLabel(), {
53
+ 'color': css.color.labelText,
54
+ 'font-size': css.fontSize.normal,
55
+ 'font-weight': css.fontWeight.regular
56
+ });
57
+ utilities.verifyCSS(uploadResponsePage.allowStudentsToCapturePhotosCheckbox().parent().find('svg'), {
58
+ 'color': css.color.activeButtons
59
+ });
59
60
  });
60
61
 
61
62
  it('Accessibility of \'Allow students to capture photos\' section - checked state', { tags: 'a11y' }, () => {
@@ -64,37 +65,32 @@ describe('Create question page - Upload Response: Additional Settings', () => {
64
65
 
65
66
  it('When the \'Allow students to capture photos\' checkbox is checked then in the preview tab, the upload response area text should be \"Drag & Drop files here or browse files on your device, Google Drive or capture an image\"', () => {
66
67
  uploadResponsePage.steps.switchToPreviewTab();
67
- uploadResponsePage.uploadCloudIcon()
68
- .should('be.visible');
69
- uploadResponsePage.dragAndDropFilesText()
70
- .verifyInnerText('Drag & Drop files here');
71
- uploadResponsePage.fileUploadOptionsLabel()
72
- .should('have.text', 'or browse files on your device, Google Drive or capture an image');
68
+ utilities.verifyElementVisibilityState(uploadResponsePage.uploadCloudIcon(), 'visible');
69
+ utilities.verifyInnerText(uploadResponsePage.dragAndDropFilesText(), 'Drag & Drop files here');
70
+ uploadResponsePage.steps.verifyTextInUploadResponseArea('or browse files on your device, Google Drive or capture an image')
73
71
  });
74
72
 
75
73
  it('When the user unchecks the \'Allow students to capture photos\' checkbox, then in the Preview tab the upload response area text should be \"Drag & Drop files here or browse files on your device or Google Drive\"', () => {
76
74
  cy.log('Switching to Edit tab.');
77
75
  uploadResponsePage.steps.switchToEditTab();
78
- uploadResponsePage.allowStudentsToCapturePhotosCheckbox()
79
- .click()
80
- .should('not.be.checked');
76
+ uploadResponsePage.steps.uncheckCapturePhotosCheckbox();
81
77
  cy.log('Switching to Preview tab.');
82
78
  uploadResponsePage.steps.switchToPreviewTab();
83
- uploadResponsePage.dragAndDropFilesText()
84
- .verifyInnerText('Drag & Drop files here');
85
- uploadResponsePage.fileUploadOptionsLabel()
86
- .should('have.text', 'or browse files on your device or Google Drive ');
79
+ utilities.verifyInnerText(uploadResponsePage.dragAndDropFilesText(), 'Drag & Drop files here');
80
+ uploadResponsePage.steps.verifyTextInUploadResponseArea('or browse files on your device or Google Drive ')
87
81
  });
88
82
 
89
83
  it('CSS of \'Allow students to capture photos\' section - unchecked state', { tags: 'css' }, () => {
90
84
  cy.log('Pre-step: Switching back to Edit tab.');
91
85
  uploadResponsePage.steps.switchToEditTab();
92
- uploadResponsePage.allowStudentsToCapturePhotosLabel()
93
- .verifyCSS(css.color.labelText, css.fontSize.normal, css.fontWeight.regular);
94
- uploadResponsePage.allowStudentsToCapturePhotosCheckbox()
95
- .parent()
96
- .find('svg')
97
- .should('have.css', 'fill', css.color.uncheckedCheckbox);
86
+ utilities.verifyCSS(uploadResponsePage.allowStudentsToCapturePhotosLabel(), {
87
+ 'color': css.color.labelText,
88
+ 'font-size': css.fontSize.normal,
89
+ 'font-weight': css.fontWeight.regular
90
+ });
91
+ utilities.verifyCSS(uploadResponsePage.allowStudentsToCapturePhotosCheckbox().parent().find('svg'), {
92
+ 'fill': css.color.uncheckedCheckbox
93
+ });
98
94
  uploadResponsePage.steps.switchToPreviewTab();
99
95
  });
100
96
 
@@ -108,17 +104,13 @@ describe('Create question page - Upload Response: Additional Settings', () => {
108
104
  it('When the user checks the \'Allow students to capture photos\' checkbox again, then in the Preview tab the upload response area text should be \"Drag & Drop files here or browse files on your device or Google Drive or capture an image\"', () => {
109
105
  cy.log('Pre-step: Switching back to Edit tab.');
110
106
  uploadResponsePage.steps.switchToEditTab();
111
- uploadResponsePage.allowStudentsToCapturePhotosCheckbox()
112
- .click()
113
- .should('be.checked');
107
+ uploadResponsePage.steps.checkCapturePhotosCheckbox();
114
108
  cy.log('Switching to Preview tab.');
115
109
  uploadResponsePage.steps.switchToPreviewTab();
116
- uploadResponsePage.dragAndDropFilesText()
117
- .verifyInnerText('Drag & Drop files here')
118
- .and('be.visible');
119
- uploadResponsePage.fileUploadOptionsLabel()
120
- .should('have.text', 'or browse files on your device, Google Drive or capture an image')
121
- .and('be.visible');
110
+ utilities.verifyInnerText(uploadResponsePage.dragAndDropFilesText(), 'Drag & Drop files here');
111
+ utilities.verifyElementVisibilityState(uploadResponsePage.dragAndDropFilesText(), 'visible');
112
+ uploadResponsePage.steps.verifyTextInUploadResponseArea('or browse files on your device, Google Drive or capture an image');
113
+ utilities.verifyElementVisibilityState(uploadResponsePage.fileUploadOptionsLabel(), 'visible');
122
114
  });
123
115
  });
124
116
 
@@ -131,9 +123,9 @@ describe('Create question page - Upload Response: Additional Settings', () => {
131
123
  uploadResponsePage.steps.expandAdditonalSettings();
132
124
  });
133
125
 
134
- const fontsizes = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
135
- const font = ['16px', '12px', '14px', '17px', '20px', '24px'];
136
- const questionInstructionsTextFontSizes = { 'Default': '16px', 'Small': '12px', 'Normal': '14px', 'Large': '17px', 'Extra large': '20px', 'Huge': '24px' };
126
+ const fontsizes = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
127
+ const font = ['12px', '14px', '16px', '18px', '22px', '26px'];
128
+ const questionInstructionsTextFontSizes = { 'Tiny': '12px', 'Small': '14px','Default': '16px', 'Normal': '18px', 'Big': '22px', 'Huge': '26px' };
137
129
  const dragAndDropFilesTextFontSizes = { 'Default': '24px', 'Small': '18px', 'Normal': '21px', 'Large': '25.5px', 'Extra large': '30px', 'Huge': '36px' };
138
130
  const fileUploadOptionsLabelFontSizes = { 'Default': '18px', 'Small': '13.5px', 'Normal': '15.75px', 'Large': '19.125px', 'Extra large': '22.5px', 'Huge': '27px' };
139
131
  const supportedFileFormatLabelFontSizes = { 'Default': '14px', 'Small': '10.5px', 'Normal': '12.25px', 'Large': '14.875px', 'Extra large': '17.5px', 'Huge': '21px' };
@@ -143,28 +135,30 @@ describe('Create question page - Upload Response: Additional Settings', () => {
143
135
 
144
136
  fontsizes.forEach((option, count) => {
145
137
  it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size for the entire question in the student player should be changed to ${option} in the \'Preview\' tab`, () => {
146
- uploadResponsePage.fontSizeDropdown()
147
- .click();
148
- uploadResponsePage.fontSizeListOptions(count)
149
- .click();
150
- uploadResponsePage.fontSizeDropdown()
151
- .verifyInnerText(`${option}`);
138
+ uploadResponsePage.steps.selectFontSizeOptionFromFontSizeDropdown(count);
139
+ utilities.verifyInnerText(uploadResponsePage.fontSizeDropdown(), `${option}`);
152
140
  cy.log('Switching to Preview tab.');
153
141
  uploadResponsePage.steps.switchToPreviewTab();
154
- uploadResponsePage.questionInstructionsText()
155
- .should('have.css', 'font-size', questionInstructionsTextFontSizes[option]);
156
- uploadResponsePage.dragAndDropFilesText()
157
- .should('have.css', 'font-size', dragAndDropFilesTextFontSizes[option]);
158
- uploadResponsePage.fileUploadOptionsLabel()
159
- .should('have.css', 'font-size', fileUploadOptionsLabelFontSizes[option]);
160
- uploadResponsePage.supportedFileFormatLabel()
161
- .should('have.css', 'font-size', supportedFileFormatLabelFontSizes[option]);
162
- uploadResponsePage.uploadedFileCount()
163
- .should('have.css', 'font-size', uploadedFileCountFontSizes[option]);
142
+ utilities.verifyCSS(uploadResponsePage.questionInstructionsText(), {
143
+ 'font-size': questionInstructionsTextFontSizes[option]
144
+ });
145
+ utilities.verifyCSS(uploadResponsePage.dragAndDropFilesText(), {
146
+ 'font-size': dragAndDropFilesTextFontSizes[option]
147
+ });
148
+ utilities.verifyCSS(uploadResponsePage.fileUploadOptionsLabel(), {
149
+ 'font-size': fileUploadOptionsLabelFontSizes[option]
150
+ });
151
+ utilities.verifyCSS(uploadResponsePage.supportedFileFormatLabel(), {
152
+ 'font-size': supportedFileFormatLabelFontSizes[option]
153
+ });
154
+ utilities.verifyCSS(uploadResponsePage.uploadedFileCount(), {
155
+ 'font-size': uploadedFileCountFontSizes[option]
156
+ });
164
157
  cy.log('Uploading file to check font-size of the file name.')
165
158
  uploadResponsePage.steps.fileUploadAndVerify(['sample.zip']);
166
- uploadResponsePage.uploadedFileLink()
167
- .should('have.css', 'font-size', font[0]);
159
+ utilities.verifyCSS(uploadResponsePage.uploadedFileLink(), {
160
+ 'font-size': font[0]
161
+ });
168
162
  cy.log('Post step: switching to edit tab to select another font size option')
169
163
  uploadResponsePage.steps.switchToEditTab();
170
164
  });