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
@@ -164,44 +164,44 @@ describe('Create item page - List sorting: Partial equal weights scoring', () =>
164
164
  listSortingPage.steps.switchToPreviewTab();
165
165
  });
166
166
 
167
- it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
168
- listSortingPage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
167
+ it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
169
168
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
170
169
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 1);
171
170
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 2);
172
171
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
173
172
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
174
- listSortingPage.steps.verifyPreviewTabScoreText(7, 14.5);
175
- listSortingPage.steps.resetQuestionPreview();
173
+ listSortingPage.steps.verifyPreviewTabScoreText(7.26, 14.5);
176
174
  listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
175
+ listSortingPage.steps.resetQuestionPreview();
177
176
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
178
177
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 1);
179
178
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
180
179
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
181
180
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
182
- listSortingPage.steps.verifyPreviewTabScoreText(14, 14.5);
183
- listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
181
+ listSortingPage.steps.verifyPreviewTabScoreText(14.5, 14.5);
182
+ listSortingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
184
183
  });
185
184
 
186
- it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
187
- listSortingPage.steps.switchToEditTab()
188
- listSortingPage.steps.uncheckRoundDownScoreCheckbox()
185
+ it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
186
+ listSortingPage.steps.switchToEditTab();
187
+ listSortingPage.steps.expandRoundingDropdown();
188
+ listSortingPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
189
189
  listSortingPage.steps.switchToPreviewTab();
190
190
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
191
191
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 1);
192
192
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 2);
193
193
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
194
194
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
195
- listSortingPage.steps.verifyPreviewTabScoreText(7.26, 14.5);
196
- listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
195
+ listSortingPage.steps.verifyPreviewTabScoreText(7, 14.5);
197
196
  listSortingPage.steps.resetQuestionPreview();
197
+ listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
198
198
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
199
199
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 1);
200
200
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
201
201
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
202
202
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
203
- listSortingPage.steps.verifyPreviewTabScoreText(14.5, 14.5);
204
- listSortingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
203
+ listSortingPage.steps.verifyPreviewTabScoreText(14, 14.5);
204
+ listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
205
205
  });
206
206
  });
207
207
  });
@@ -4,8 +4,8 @@ import utilities from "../../../support/helpers/utilities";
4
4
  const css = Cypress.env('css');
5
5
 
6
6
  const optionStyleDropdownOptions = ['None', 'Numerical', 'Uppercase alphabet', 'Lowercase alphabet'];
7
- const fontSizeDropdownOptions = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
8
- const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
7
+ const fontSizeDropdownOptions = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
8
+ const fontSizes = ['12px', '14px', '16px', '18px', '22px', '26px'];
9
9
  let options = ['plant', 'sprout', 'flower', 'seed'];
10
10
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
11
11
 
@@ -104,15 +104,15 @@ describe('Create Item page - List sorting: Edit tab scoring types and set correc
104
104
  'font-weight': css.fontWeight.semibold
105
105
  });
106
106
  utilities.verifyCSS(listSortingPage.rounddownScoreCheckboxLabel(), {
107
- 'color': css.color.labelText,
107
+ 'color': css.color.labels,
108
108
  'font-size': css.fontSize.normal,
109
- 'font-weight': css.fontWeight.regular
109
+ 'font-weight': css.fontWeight.semibold
110
110
  });
111
111
  });
112
112
 
113
113
  it('Accessibility of \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input field and \'Round down score\' checkbox', { tags: 'a11y' }, () => {
114
114
  cy.checkAccessibility(listSortingPage.penaltyPointsInputField().parents('.points-container'));
115
- cy.checkAccessibility(listSortingPage.rounddownScoreCheckbox().parents('.round-down-score-wrapper'));
115
+ cy.checkAccessibility(listSortingPage.roundingDropdown().parents('.round-down-score-wrapper'));
116
116
  });
117
117
 
118
118
  it('When the user switches to \'All or nothing\' scoring, the \'Points per response\' label and the points displayed for individual responses should not be displayed and the points displayed in \'Points\' input field should remain unchanged', () => {
@@ -201,16 +201,16 @@ describe('Create Item page - List sorting: Edit tab scoring types and set correc
201
201
  'font-weight': css.fontWeight.semibold
202
202
  });
203
203
  utilities.verifyCSS(listSortingPage.rounddownScoreCheckboxLabel(), {
204
- 'color': css.color.labelText,
204
+ 'color': css.color.labels,
205
205
  'font-size': css.fontSize.normal,
206
- 'font-weight': css.fontWeight.regular
206
+ 'font-weight': css.fontWeight.semibold
207
207
  });
208
208
  });
209
209
 
210
210
  it('Accessibility of \'Points per response\', \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input fields and \'Round down score\' checkbox', { tags: 'a11y' }, () => {
211
211
  cy.checkAccessibility(listSortingPage.pointsInputField());
212
212
  cy.checkAccessibility(listSortingPage.penaltyPointsInputField().parents('.points-container'));
213
- cy.checkAccessibility(listSortingPage.rounddownScoreCheckbox().parents('.round-down-score-wrapper'));
213
+ cy.checkAccessibility(listSortingPage.roundingDropdown().parents('.round-down-score-wrapper'));
214
214
  });
215
215
 
216
216
  it('When the user switches to \'All or nothing\' scoring, the points added for individual responses in Partial - different weights scoring should get summed up in the All or nothing scoring Points input field', () => {
@@ -0,0 +1,269 @@
1
+ import { listSortingPage } from "../../../pages/listSortingPage";
2
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+ import utilities from "../../../support/helpers/utilities";
4
+ const css = Cypress.env('css');
5
+ const grepTags = Cypress.env('grepTags');
6
+ let options = ['plant', 'sprout', 'flower', 'seed'];
7
+ let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
8
+
9
+ describe('Create Item page -list sorting: Randomize options functionality, Hide drag Handle functionality', () => {
10
+ before(() => {
11
+ cy.loginAs('admin');
12
+ });
13
+
14
+ if (!grepTags || !grepTags.includes('smoke')) {
15
+ describe('Randomize options - Functionality : Edit tab', () => {
16
+ abortEarlySetup();
17
+ before(() => {
18
+ cy.log('Navigating to List sorting question type');
19
+ listSortingPage.steps.navigateToCreateQuestion('list sorting');
20
+ cy.log('Adding question instructions, setting correct answer order and adding points');
21
+ cy.barsPreLoaderWait();
22
+ listSortingPage.steps.addQuestionInstructions();
23
+ listSortingPage.steps.addInputToOptionsInputField(options);
24
+ listSortingPage.steps.allotPoints('20');
25
+ });
26
+
27
+ it('\'Randomize options\' checkbox and label should be displayed and by default it should be unchecked', () => {
28
+ utilities.verifyInnerText(listSortingPage.randomizeOptionsCheckboxLabel(), 'Randomize options');
29
+ utilities.verifyElementVisibilityState(listSortingPage.randomizeOptionsCheckboxLabel(), 'visible');
30
+ listSortingPage.steps.verifyRandomizeOptionsCheckboxUnchecked();
31
+ });
32
+
33
+ it('CSS of \'Randomize options\'', { tags: 'css' }, () => {
34
+ utilities.verifyCSS(listSortingPage.randomizeOptionsCheckboxLabel(), {
35
+ 'color': css.color.labelText,
36
+ 'font-size': css.fontSize.normal,
37
+ 'font-weight': css.fontWeight.regular
38
+ });
39
+ });
40
+
41
+ it('Accessibility of \'Randomize options\'', { tags: 'a11y' }, () => {
42
+ cy.checkAccessibility(listSortingPage.randomizeOptionsCheckbox().parents('[data-ngie-testid="randomize-options-checkbox"]'));
43
+ });
44
+
45
+ it('When the \'Randomize options\' functionality is disabled, the options in the set correct answer source section should be displayed in the order in which the user has set them in the \'Options\' section', () => {
46
+ listSortingPage.steps.verifyRandomizeOptionsCheckboxUnchecked();
47
+ listSortingPage.steps.verifySourceOptionsTextContentInSetCorrectAnswerSection(options);
48
+ });
49
+
50
+ it('When the user enables the \'Randomize options\' functionality, then the options in the set correct answer source section should be in the order in which the user has set them in the \'Options\' section', () => {
51
+ listSortingPage.steps.checkRandomizeOptionsCheckbox();
52
+ listSortingPage.steps.verifySourceOptionsTextContentInSetCorrectAnswerSection(options);
53
+ cy.log('Post step: Uncheck Randomize options checkbox')
54
+ listSortingPage.steps.uncheckRandomizeOptionsCheckbox();
55
+ });
56
+
57
+ it('When user sets the order in the target section when \'Randomize options\' functionality is enabled then the options in the set correct answer source section should be in the order in which the user has set them', () => {
58
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('seed', 0);
59
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('sprout', 1);
60
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 2);
61
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('flower', 3);
62
+ listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
63
+ listSortingPage.steps.checkRandomizeOptionsCheckbox();
64
+ listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
65
+ });
66
+
67
+ it('CSS of \'Randomize options\' functionality - checked state', { tags: 'css' }, () => {
68
+ utilities.verifyCSS(listSortingPage.randomizeOptionsCheckbox().parents('[data-ngie-testid="randomize-options-checkbox"]').find('g').eq(1), {
69
+ 'fill': css.color.activeButtons
70
+ });
71
+ });
72
+
73
+ it('Accessibility of \'Randomize options\' functionality - checked state', { tags: 'a11y' }, () => {
74
+ cy.checkAccessibility(listSortingPage.randomizeOptionsCheckbox().parents('[data-ngie-testid="randomize-options-checkbox"]'))
75
+ });
76
+ });
77
+ }
78
+
79
+ describe('Randomize options - Functionality : Preview tab', { tags: 'smoke' }, () => {
80
+ let optionsArray = [];
81
+ abortEarlySetup();
82
+ before(() => {
83
+ cy.log('Navigating to list sorting question type');
84
+ listSortingPage.steps.navigateToCreateQuestion('list sorting');
85
+ cy.log('Adding question instructions, setting correct answer order and adding points');
86
+ cy.barsPreLoaderWait();
87
+ listSortingPage.steps.addQuestionInstructions();
88
+ listSortingPage.steps.addInputToOptionsInputField(options);
89
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('seed', 0);
90
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('sprout', 1);
91
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 2);
92
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('flower', 3);
93
+ listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
94
+ listSortingPage.steps.allotPoints('20');
95
+ });
96
+
97
+ it('When the \'Randomize options\' functionality is disabled, options in the preview tab should be displayed in the order in which the user has set them in the \'Options\' section', () => {
98
+ listSortingPage.steps.verifyRandomizeOptionsCheckboxUnchecked()
99
+ listSortingPage.steps.switchToPreviewTab();
100
+ listSortingPage.steps.verifySourceOptionsTextContentInPreviewTab(options);
101
+ });
102
+
103
+ it('When the user enables the \'Randomize options\' functionality, then options in preview tab should be displayed in a random order', () => {
104
+ listSortingPage.steps.switchToEditTab()
105
+ listSortingPage.steps.checkRandomizeOptionsCheckbox()
106
+ listSortingPage.steps.switchToPreviewTab();
107
+ listSortingPage.steps.verifyRandomizeOptionOrder(options);
108
+ optionsArray = listSortingPage.steps.getOptionsArray();
109
+ });
110
+
111
+ it('When the user switches to \'Edit tab\' and does not modify any question properties, then the order of the options should not change in the preview tab', () => {
112
+ listSortingPage.steps.switchToEditTab();
113
+ listSortingPage.steps.switchToPreviewTab();
114
+ listSortingPage.steps.verifySourceOptionsTextContentInPreviewTab(optionsArray);
115
+ });
116
+
117
+ it('When the user switches to \'Edit tab\' and modifies any of question properties, then the order of the options should change and the options should be displayed in the order in which the user has set them in the preview tab', () => {
118
+ listSortingPage.steps.switchToEditTab();
119
+ listSortingPage.steps.clearPointsField();
120
+ listSortingPage.steps.allotPoints(12);
121
+ listSortingPage.steps.switchToPreviewTab();
122
+ listSortingPage.steps.verifyRandomizeOptionOrder(options);
123
+ listSortingPage.steps.verifyOptionsAreRerandomized(optionsArray);
124
+ });
125
+
126
+ it('When the user disables the \'Randomize options\' functionality, then the options in the preview tab should be displayed in the order in which the user has set them in the \'Options\' section', () => {
127
+ listSortingPage.steps.switchToEditTab()
128
+ listSortingPage.steps.uncheckRandomizeOptionsCheckbox()
129
+ listSortingPage.steps.switchToPreviewTab();
130
+ listSortingPage.steps.verifySourceOptionsTextContentInPreviewTab(options);
131
+ });
132
+ });
133
+
134
+ if (!grepTags || !grepTags.includes('smoke')) {
135
+ describe('Hide drag handle - Functionality: Edit tab', () => {
136
+ abortEarlySetup();
137
+ before(() => {
138
+ cy.log('Navigating to list sorting question type');
139
+ listSortingPage.steps.navigateToCreateQuestion('list sorting');
140
+ cy.log('Adding question instructions, setting correct answer order and adding points');
141
+ cy.barsPreLoaderWait();
142
+ listSortingPage.steps.addQuestionInstructions();
143
+ listSortingPage.steps.addInputToOptionsInputField(options);
144
+ listSortingPage.steps.allotPoints('20');
145
+ });
146
+
147
+ it('When the \'Hide drag handle\' functionality is disabled, then the options displayed in response container of the \'Set correct answer\' section should have a drag handle', () => {
148
+ listSortingPage.steps.verifyHideDragHandleCheckboxUnchecked();
149
+ for (let index = 0; index < 4; index++) {
150
+ listSortingPage.steps.verifyDragHandleButtonOfOptionInSetCorrectAnswerSection(index)
151
+ }
152
+ });
153
+
154
+ it('When the \'Hide drag handle\' functionality is disabled, and the user sets answer in the \'Set correct answer\' section should not have a drag handle', () => {
155
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('seed', 0);
156
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('sprout', 1);
157
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 2);
158
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('flower', 3);
159
+ listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
160
+ for (let index = 0; index < 4; index++) {
161
+ listSortingPage.steps.verifyDragHandleButtonDoesNotExistInSetCorrectAnswerSection(index)
162
+ }
163
+ });
164
+
165
+ it('When the user enables the \'Hide drag handle\' functionality, then the options displayed in response container of the \'Set correct answer\' section should not have a drag handle', () => {
166
+ listSortingPage.steps.switchToEditTab();
167
+ listSortingPage.steps.checkHideDragHandleCheckbox();
168
+ for (let index = 0; index < 4; index++) {
169
+ listSortingPage.steps.verifyDragHandleButtonDoesNotExistInSetCorrectAnswerSection(index);
170
+ }
171
+ });
172
+
173
+ it('CSS of \'Hide drag handle\' functionality - checked state', { tags: 'css' }, () => {
174
+ utilities.verifyCSS(listSortingPage.hideDragHandleCheckbox().parents('[data-ngie-testid="hide-drag-handle-checkbox"]').find('g').eq(1), {
175
+ 'fill': css.color.activeButtons
176
+ });
177
+ });
178
+
179
+ it('Accessibility of \'Hide drag handle\' functionality - checked state', { tags: 'a11y' }, () => {
180
+ cy.checkAccessibility(listSortingPage.hideDragHandleCheckbox().parents('[data-ngie-testid="hide-drag-handle-checkbox"]'));
181
+ });
182
+
183
+ it('When user sets an answer in \'Set correct answer\' section when \'Hide drag handle\' functionality is enabled then drag handle buttons should not be displayed', () => {
184
+ listSortingPage.steps.clickAndDropOptionFromTargetToSourceInSetCorrectAnswerSection('seed', 0);
185
+ listSortingPage.steps.clickAndDropOptionFromTargetToSourceInSetCorrectAnswerSection('sprout', 1);
186
+ listSortingPage.steps.clickAndDropOptionFromTargetToSourceInSetCorrectAnswerSection('plant', 2);
187
+ listSortingPage.steps.clickAndDropOptionFromTargetToSourceInSetCorrectAnswerSection('flower', 3);
188
+ listSortingPage.steps.verifySourceOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
189
+ for (let index = 0; index < 4; index++) {
190
+ listSortingPage.steps.verifyDragHandleButtonDoesNotExistInSetCorrectAnswerSection(index)
191
+ }
192
+ });
193
+
194
+ it('When the \'Hide drag handle\' functionality is disabled again, then the options displayed in response container of the \'Set correct answer\' section should have a drag handle', () => {
195
+ listSortingPage.steps.uncheckHideDragHandleCheckbox();
196
+ for (let index = 0; index < 4; index++) {
197
+ listSortingPage.steps.verifyDragHandleButtonOfOptionInSetCorrectAnswerSection(index)
198
+ }
199
+ });
200
+ });
201
+ }
202
+
203
+ if (!grepTags || !grepTags.includes('smoke')) {
204
+ describe('Hide drag handle - Functionality: Preview tab', () => {
205
+ abortEarlySetup();
206
+ before(() => {
207
+ cy.log('Navigating to list sorting question type');
208
+ listSortingPage.steps.navigateToCreateQuestion('list sorting');
209
+ cy.log('Adding question instructions, setting correct answer order and adding points');
210
+ cy.barsPreLoaderWait();
211
+ listSortingPage.steps.addQuestionInstructions();
212
+ listSortingPage.steps.addInputToOptionsInputField(options);
213
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('seed', 0);
214
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('sprout', 1);
215
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 2);
216
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('flower', 3);
217
+ listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
218
+ listSortingPage.steps.allotPoints('20');
219
+ });
220
+
221
+ it('When the \'Hide drag handle\' functionality is disabled, then the draggable options displayed in response container of the preview tab should have a drag handle', () => {
222
+ listSortingPage.steps.switchToPreviewTab();
223
+ for (let index = 0; index < 4; index++) {
224
+ listSortingPage.steps.verifyDragHandleButtonOfOptionInPreviewTab(index);
225
+ }
226
+ });
227
+
228
+ it('When user sets the order in the target section when \'Randomize options\' functionality is disabled then the options in the preview tab target section should not have drag handles', () => {
229
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
230
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 1);
231
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
232
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
233
+ listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(correctAnswerArray);
234
+ for (let index = 0; index < 4; index++) {
235
+ listSortingPage.steps.verifyDragHandleButtonDoesNotExistInPreviewTab(index)
236
+ }
237
+ });
238
+
239
+ it('When the \'Hide drag handle\' functionality is enabled, then the draggable options displayed in response container of the preview tab should not have a drag handle', () => {
240
+ listSortingPage.steps.switchToEditTab();
241
+ listSortingPage.steps.checkHideDragHandleCheckbox();
242
+ listSortingPage.steps.switchToPreviewTab();
243
+ for (let index = 0; index < 4; index++) {
244
+ listSortingPage.steps.verifyDragHandleButtonDoesNotExistInPreviewTab(index);
245
+ }
246
+ });
247
+
248
+ it('When user sets the order in the target section when \'Randomize options\' functionality is enabled then the options in the set correct answer source section then drag handles should not be displayed', () => {
249
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
250
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 1);
251
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
252
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
253
+ listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(correctAnswerArray);
254
+ for (let index = 0; index < 4; index++) {
255
+ listSortingPage.steps.verifyDragHandleButtonDoesNotExistInPreviewTab(index)
256
+ }
257
+ });
258
+
259
+ it('When the \'Hide drag handle\' functionality is disabled again, then the options displayed in response container of the \'Preview tab\' section should have a drag handle', () => {
260
+ listSortingPage.steps.switchToEditTab();
261
+ listSortingPage.steps.uncheckHideDragHandleCheckbox();
262
+ listSortingPage.steps.switchToPreviewTab();
263
+ for (let index = 0; index < 4; index++) {
264
+ listSortingPage.steps.verifyDragHandleButtonOfOptionInPreviewTab(index)
265
+ }
266
+ });
267
+ });
268
+ }
269
+ });
@@ -7,7 +7,7 @@ const options = ['Is mammal', 'Lays eggs', 'Can fly'];
7
7
 
8
8
  const gridStyleDropdownOptions = ['With border', 'Row dividers', 'No border', 'Inline', 'Inline - row dividers'];
9
9
  const questionStemNumerationOptions = ['None', 'Numerical', 'Uppercase alphabet', 'Lowercase alphabet'];
10
- const fontSizeDropdownOptions = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
10
+ const fontSizeDropdownOptions = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
11
11
  const numbers = ['1', '2', '3', '4'];
12
12
  const lowercase = ['a', 'b', 'c', 'd'];
13
13
  const uppercase = ['A', 'B', 'C', 'D'];
@@ -4,9 +4,7 @@ const css = Cypress.env('css');
4
4
 
5
5
  const questionStems = ['Bat', 'Ostrich', 'Platypus', 'Eagle'];
6
6
  const options = ['Is mammal', 'Lays eggs', 'Can fly'];
7
-
8
- const fontSizeDropdownOptions = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
9
- const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
7
+ const fontSizes = { 'Tiny': '12px', 'Small': '14px', 'Default': '16px', 'Normal': '18px', 'Big': '22px', 'Huge': '26px' };
10
8
 
11
9
  describe('Create Item page - Multiple Selection Grid: Additional settings', () => {
12
10
  before(() => {
@@ -60,22 +58,21 @@ describe('Create Item page - Multiple Selection Grid: Additional settings', () =
60
58
  multipleSelectionGridPage.steps.addInputToTitleForOptionsInputField('Title for options')
61
59
  });
62
60
 
63
- //Failing due to https://redmine.zeuslearning.com/issues/534772
64
- fontSizeDropdownOptions.forEach((option, fontsIndex) => {
65
- it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview (options, question instructions question stems) should be changed to ${option} in the set correct answer table`, () => {
61
+ Object.keys(fontSizes).forEach((option, fontsIndex) => {
62
+ it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview (options, question instructions question stems) should be changed to ${fontSizes[option]} in the set correct answer table`, () => {
66
63
  multipleSelectionGridPage.steps.selectFontSizeOptionFromFontSizeDropdown(fontsIndex)
67
64
  multipleSelectionGridPage.fontSizeDropdown()
68
65
  .verifyInnerText(`${option}`);
69
66
  multipleSelectionGridPage.setCorrectAnswerTableHeader()
70
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
67
+ .should('have.css', 'font-size', fontSizes[option]);
71
68
  multipleSelectionGridPage.questionStemNumeration()
72
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
69
+ .should('have.css', 'font-size', fontSizes[option]);
73
70
  multipleSelectionGridPage.setCorrectAnswertableQuestionStem()
74
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
71
+ .should('have.css', 'font-size', fontSizes[option]);
75
72
  multipleSelectionGridPage.setCorrectAnswerTableQuestionStemTitle()
76
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
73
+ .should('have.css', 'font-size', fontSizes[option]);
77
74
  multipleSelectionGridPage.setCorrectAnswerTableOptionsTitle()
78
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
75
+ .should('have.css', 'font-size', fontSizes[option]);
79
76
  });
80
77
  });
81
78
  });
@@ -95,24 +92,24 @@ describe('Create Item page - Multiple Selection Grid: Additional settings', () =
95
92
  multipleSelectionGridPage.steps.addInputToTitleForOptionsInputField('Title for options');
96
93
  });
97
94
 
98
- fontSizeDropdownOptions.forEach((option, fontsIndex) => {
99
- it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview (options, question instructions question stems) should be changed to ${option} in the preview tab Answer table`, () => {
95
+ Object.keys(fontSizes).forEach((option, fontsIndex) => {
96
+ it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview (options, question instructions question stems) should be changed to ${fontSizes[option]} in the preview tab Answer table`, () => {
100
97
  multipleSelectionGridPage.steps.selectFontSizeOptionFromFontSizeDropdown(fontsIndex)
101
98
  multipleSelectionGridPage.fontSizeDropdown()
102
99
  .verifyInnerText(`${option}`);
103
100
  multipleSelectionGridPage.steps.switchToPreviewTab();
104
101
  multipleSelectionGridPage.questionInstructionsText()
105
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
102
+ .should('have.css', 'font-size', fontSizes[option]);
106
103
  multipleSelectionGridPage.previewTabAnswerTableHeader()
107
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
104
+ .should('have.css', 'font-size', fontSizes[option]);
108
105
  multipleSelectionGridPage.previewTabQuestionStemNumeration()
109
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
106
+ .should('have.css', 'font-size', fontSizes[option]);
110
107
  multipleSelectionGridPage.previewTabAnswertableQuestionStem()
111
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
108
+ .should('have.css', 'font-size', fontSizes[option]);
112
109
  multipleSelectionGridPage.previewTabAnswerTableQuestionStemTitle()
113
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
110
+ .should('have.css', 'font-size', fontSizes[option]);
114
111
  multipleSelectionGridPage.previewTabAnswerTableOptionsTitle()
115
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
112
+ .should('have.css', 'font-size', fontSizes[option]);
116
113
  multipleSelectionGridPage.steps.switchToEditTab();
117
114
  });
118
115
  });
@@ -43,7 +43,7 @@ describe('Create Item page - Multiple Selection Grid: Preview tab Scoring Sectio
43
43
  multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [2]);
44
44
  multipleSelectionGridPage.incorrectIcon()
45
45
  .should('not.exist');
46
- multipleSelectionGridPage.correctIncorectAnswerLabel()
46
+ multipleSelectionGridPage.correctIncorrectAnswerLabel()
47
47
  .should('not.exist');
48
48
  multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
49
49
 
@@ -72,7 +72,7 @@ describe('Create Item page - Multiple Selection Grid: Preview tab Scoring Sectio
72
72
  multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct');
73
73
  multipleSelectionGridPage.steps.verifyCorrectAttemptBorder();
74
74
 
75
- cy.log('When the user selects alternate correct answer options, full points specified for alternate correct answer should be provided and on selecting Show correct answer checkbox green check-mark icons should be displayed besides alternate correct answer options and label \'Correct answer\' should be displayed below the table')
75
+ cy.log('When the user selects alternative correct answer options, full points specified for alternative correct answer should be provided and on selecting Show correct answer checkbox green check-mark icons should be displayed besides alternative correct answer options and label \'Correct answer\' should be displayed below the table')
76
76
  multipleSelectionGridPage.steps.resetQuestionPreview()
77
77
  multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInPreviewTabAnswerTable([[1], [0, 2], [0, 1], [2]]);
78
78
  multipleSelectionGridPage.previewScoreText()
@@ -87,7 +87,7 @@ describe('Create Item page - Multiple Selection Grid: Preview tab Scoring Sectio
87
87
 
88
88
  multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
89
89
 
90
- cy.log('When the user clicks on \'Check answer\' button, then green check-mark icons should be displayed besides selected alternate correct answer options and label \'Correct answer\' should be displayed below the table')
90
+ cy.log('When the user clicks on \'Check answer\' button, then green check-mark icons should be displayed besides selected alternative correct answer options and label \'Correct answer\' should be displayed below the table')
91
91
  multipleSelectionGridPage.steps.checkAnswer()
92
92
  multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [1]);
93
93
  multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [0, 2]);
@@ -43,7 +43,7 @@ describe('Create Item page - Multiple Selection Grid: Preview tab Scoring Sectio
43
43
  multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
44
44
  multipleSelectionGridPage.incorrectIcon()
45
45
  .should('not.exist');
46
- multipleSelectionGridPage.correctIncorectAnswerLabel()
46
+ multipleSelectionGridPage.correctIncorrectAnswerLabel()
47
47
  .should('not.exist');
48
48
  multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
49
49
 
@@ -73,7 +73,7 @@ describe('Create Item page - Multiple Selection Grid: Preview tab Scoring Sectio
73
73
  multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct');
74
74
  multipleSelectionGridPage.steps.verifyCorrectAttemptBorder();
75
75
 
76
- cy.log('When the user selects alternate correct answer options, full points points for alternate correct answer should be provided and on selecting Show correct answer checkbox green check-mark icons should be displayed besides alternate correct answer options and label \'Correct answer\' should be displayed below the table')
76
+ cy.log('When the user selects alternative correct answer options, full points points for alternative correct answer should be provided and on selecting Show correct answer checkbox green check-mark icons should be displayed besides alternative correct answer options and label \'Correct answer\' should be displayed below the table')
77
77
  multipleSelectionGridPage.steps.resetQuestionPreview()
78
78
  multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInPreviewTabAnswerTable([[1], [0, 2], [0, 1], [2]]);
79
79
  multipleSelectionGridPage.previewScoreText()
@@ -88,7 +88,7 @@ describe('Create Item page - Multiple Selection Grid: Preview tab Scoring Sectio
88
88
 
89
89
  multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
90
90
 
91
- cy.log('When the user clicks on \'Check answer\' button, then green check-mark icons should be displayed besides selected alternate correct answer options and label \'Correct answer\' should be displayed below the table')
91
+ cy.log('When the user clicks on \'Check answer\' button, then green check-mark icons should be displayed besides selected alternative correct answer options and label \'Correct answer\' should be displayed below the table')
92
92
  multipleSelectionGridPage.steps.checkAnswer()
93
93
  multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [1]);
94
94
  multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [0, 2]);
@@ -43,7 +43,7 @@ describe('Create Item page - Multiple Selection Grid: Preview tab Scoring Sectio
43
43
  multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
44
44
  multipleSelectionGridPage.incorrectIcon()
45
45
  .should('not.exist');
46
- multipleSelectionGridPage.correctIncorectAnswerLabel()
46
+ multipleSelectionGridPage.correctIncorrectAnswerLabel()
47
47
  .should('not.exist');
48
48
  multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
49
49
 
@@ -72,7 +72,7 @@ describe('Create Item page - Multiple Selection Grid: Preview tab Scoring Sectio
72
72
  multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct');
73
73
  multipleSelectionGridPage.steps.verifyCorrectAttemptBorder();
74
74
 
75
- cy.log('When the user selects alternate correct answer options, points specified for alternate correct answer (less than overall points) should be provided and on selecting Show correct answer checkbox green check-mark icons should be displayed besides alternate correct answer options and label \'Correct answer\' should be displayed below the table')
75
+ cy.log('When the user selects alternative correct answer options, points specified for alternative correct answer (less than overall points) should be provided and on selecting Show correct answer checkbox green check-mark icons should be displayed besides alternative correct answer options and label \'Correct answer\' should be displayed below the table')
76
76
  multipleSelectionGridPage.steps.resetQuestionPreview()
77
77
  multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInPreviewTabAnswerTable([[1], [0, 2], [0, 1], [2]]);
78
78
  multipleSelectionGridPage.previewScoreText()
@@ -87,7 +87,7 @@ describe('Create Item page - Multiple Selection Grid: Preview tab Scoring Sectio
87
87
 
88
88
  multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
89
89
 
90
- cy.log('When the user clicks on \'Check answer\' button, then green check-mark icons should be displayed besides selected alternate correct answer options and label \'Correct answer\' should be displayed below the table')
90
+ cy.log('When the user clicks on \'Check answer\' button, then green check-mark icons should be displayed besides selected alternative correct answer options and label \'Correct answer\' should be displayed below the table')
91
91
  multipleSelectionGridPage.steps.checkAnswer()
92
92
  multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [1]);
93
93
  multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [0, 2]);