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
@@ -17,7 +17,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
17
17
  shortTextResponsePage.tests.verifyScoringTypeLabelAndDropdown('autoScored');
18
18
 
19
19
  it('CSS of Scoring section', { tags: 'css' }, () => {
20
- shortTextResponsePage.minimumScoreIfAttemptedLabel()
20
+ shortTextResponsePage.minimumScoringLabel()
21
21
  .verifyCSS(css.color.labels, css.fontSize.normal, css.fontWeight.semibold);
22
22
  shortTextResponsePage.pointsLabel()
23
23
  .verifyCSS(css.color.labels, css.fontSize.normal, css.fontWeight.semibold);
@@ -25,7 +25,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
25
25
 
26
26
  it('Accessibility of Scoring Section', { tags: 'a11y' }, () => {
27
27
  cy.checkAccessibility(shortTextResponsePage.scoringTypeDropdown());
28
- cy.checkAccessibility(shortTextResponsePage.minimumScoreIfAttemptedInputField());
28
+ cy.checkAccessibility(shortTextResponsePage.minimumScoringDropdown());
29
29
  cy.checkAccessibility(shortTextResponsePage.pointsInputField());
30
30
  });
31
31
  });
@@ -37,21 +37,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
37
37
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
38
38
  });
39
39
 
40
- it('The \'Points\' and \'Minimum score awarded (if attempted)\' labels and input fields should be displayed and it should be empty by default', () => {
41
- shortTextResponsePage.pointsLabel()
42
- .verifyInnerText('Points')
43
- .and('be.visible');
44
- shortTextResponsePage.pointsInputField()
45
- .should('have.value', '')
46
- .and('be.visible');
47
- shortTextResponsePage.minimumScoreIfAttemptedLabel()
48
- .verifyInnerText('Minimum score awarded (if attempted)')
49
- .and('be.visible');
50
- shortTextResponsePage.minimumScoreIfAttemptedInputField()
51
- .should('have.value', '')
52
- .and('be.visible');
53
- });
54
-
40
+ shortTextResponsePage.tests.verifyAutoScoredAllOrNothingPointsAndMinimumScoreAwardedLabelAndInputField();
55
41
  shortTextResponsePage.tests.verifyPointsFieldErrorState(10);
56
42
  shortTextResponsePage.tests.verifyMinimumScoreIfAttemptedFieldErrorState(10, 20, 10);
57
43
  });
@@ -67,11 +53,13 @@ describe('Create Item page - Short text response: Scoring Section', () => {
67
53
  shortTextResponsePage.steps.selectAScoringTypeFromScoringTypeDropdown('Manually scored');
68
54
  });
69
55
 
70
- it('When the user has selected \'Manually scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed; \'Points\' and \'Minimum score awarded (if attempted)\' labels and input field should be displayed; and inside \'Additional settings accordion\', \'Check answer\' section i.e. \'Check answer\' label and \'Allow students to check answer\' checkbox should not be displayed', () => {
56
+ it('When the user has selected \'Manually scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed; \'Points\' and \'Minimum score awarded (if attempted)\' labels and input field should be displayed; and inside \'Additional settings accordion\', \'Check answer\' section i.e. \'Check answer\' label and \'Allow student to check answer\' checkbox should not be displayed', () => {
71
57
  shortTextResponsePage.setCorrectAnswerLabel()
72
58
  .should('not.exist');
59
+ shortTextResponsePage.steps.expandMinimumScoringDropdown();
60
+ shortTextResponsePage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
73
61
  shortTextResponsePage.minimumScoreIfAttemptedLabel()
74
- .verifyInnerText('Minimum score awarded (if attempted)')
62
+ .verifyInnerText('Minimum points')
75
63
  .and('be.visible');
76
64
  shortTextResponsePage.minimumScoreIfAttemptedInputField()
77
65
  .should('have.value', '')
@@ -10,7 +10,7 @@ describe('Create item page - Short text response: \'Exact\', \'Case sensitive\'
10
10
  describe('\'Exact\' radio button is selected, \'Case sensitive\' checkbox is unchecked and \'Ignore spaces before and after\' checkbox is checked', () => {
11
11
  abortEarlySetup();
12
12
  before(() => {
13
- cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow students to check answer checkbox and switch to Preview tab');
13
+ cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox and switch to Preview tab');
14
14
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
15
15
  shortTextResponsePage.questionInstructionsInputField()
16
16
  .type('Question Instructions');
@@ -48,7 +48,7 @@ describe('Create item page - Short text response: \'Exact\', \'Case sensitive\'
48
48
  describe('\'Exact\' radio button is selected, \'Case sensitive\' checkbox is checked and \'Ignore spaces before and after\' checkbox is unchecked', () => {
49
49
  abortEarlySetup();
50
50
  before(() => {
51
- cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow students to check answer checkbox and switching to Preview tab');
51
+ cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox and switching to Preview tab');
52
52
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
53
53
  shortTextResponsePage.questionInstructionsInputField()
54
54
  .type('Question Instructions');
@@ -86,7 +86,7 @@ describe('Create item page - Short text response: \'Exact\', \'Case sensitive\'
86
86
  describe('\'Exact\' radio button is selected, and both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is unchecked', () => {
87
87
  abortEarlySetup();
88
88
  before(() => {
89
- cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow students to check answer checkbox, unchecking the Ignore spaces before and after checkbox and switching to preview tab');
89
+ cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox, unchecking the Ignore spaces before and after checkbox and switching to preview tab');
90
90
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
91
91
  shortTextResponsePage.questionInstructionsInputField()
92
92
  .type('Question Instructions');
@@ -122,7 +122,7 @@ describe('Create item page - Short text response: \'Exact\', \'Case sensitive\'
122
122
  describe('\'Exact\' radio button is selected, and both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is checked', () => {
123
123
  abortEarlySetup();
124
124
  before(() => {
125
- cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow students to check answer checkbox, checking the Case sensitive checkbox and switching to preview tab');
125
+ cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox, checking the Case sensitive checkbox and switching to preview tab');
126
126
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
127
127
  shortTextResponsePage.questionInstructionsInputField()
128
128
  .type('Question Instructions');
@@ -23,7 +23,7 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
23
23
  shortTextResponsePage.steps.verifyQuestionInstructionsText();
24
24
  });
25
25
 
26
- shortTextResponsePage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab()
26
+ shortTextResponsePage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored')
27
27
  });
28
28
 
29
29
  describe('Question Preview: Non scored', () => {
@@ -45,14 +45,12 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
45
45
  shortTextResponsePage.tests.verifyShowCorrectAnswerLabelAndCheckboxExistAndPreviewScoreNotExistInPreviewTab();
46
46
 
47
47
  it('On selecting Show correct answer checkbox, no green checkmark or red crossmark icon should be displayed besides response field and no label should be displayed below the field', () => {
48
- shortTextResponsePage.showCorrectAnswerCheckbox()
49
- .click()
50
- .should('be.checked');
48
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
51
49
  shortTextResponsePage.correctIcon()
52
50
  .should('not.exist');
53
51
  shortTextResponsePage.incorrectIcon()
54
52
  .should('not.exist');
55
- shortTextResponsePage.correctIncorectAnswerLabel()
53
+ shortTextResponsePage.correctIncorrectAnswerLabel()
56
54
  .should('not.exist');
57
55
  shortTextResponsePage.correctIncorrectAnswerBorder()
58
56
  .should('not.exist');
@@ -66,13 +64,11 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
66
64
  cy.log('When the user selects show correct answer checkbox, red crossmark icon should be displayed besides the response fields, Incorrect answer label and border should not be displayed')
67
65
  shortTextResponsePage.previewTabResponseField()
68
66
  .type('Incorrect');
69
- shortTextResponsePage.showCorrectAnswerCheckbox()
70
- .click()
71
- .should('be.checked');
67
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
72
68
  shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
73
69
  shortTextResponsePage.correctIncorrectAnswerBorder()
74
70
  .should('not.exist');
75
- shortTextResponsePage.correctIncorectAnswerLabel()
71
+ shortTextResponsePage.correctIncorrectAnswerLabel()
76
72
  .should('not.exist');
77
73
  cy.log('Correct answer container should be displayed')
78
74
  shortTextResponsePage.previewTabCorrectAnswerContainer()
@@ -84,7 +80,7 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
84
80
  shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
85
81
  shortTextResponsePage.correctIncorrectAnswerBorder()
86
82
  .should('not.exist');
87
- shortTextResponsePage.correctIncorectAnswerLabel()
83
+ shortTextResponsePage.correctIncorrectAnswerLabel()
88
84
  .should('not.exist');
89
85
  shortTextResponsePage.previewTabCorrectAnswerContainer()
90
86
  .should('not.exist');
@@ -95,13 +91,11 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
95
91
  shortTextResponsePage.previewTabResponseField()
96
92
  .clear()
97
93
  .type('Response');
98
- shortTextResponsePage.showCorrectAnswerCheckbox()
99
- .click()
100
- .should('be.checked');
94
+ shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
101
95
  shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
102
96
  shortTextResponsePage.correctIncorrectAnswerBorder()
103
97
  .should('not.exist');
104
- shortTextResponsePage.correctIncorectAnswerLabel()
98
+ shortTextResponsePage.correctIncorrectAnswerLabel()
105
99
  .should('not.exist');
106
100
  shortTextResponsePage.previewTabCorrectAnswerContainer()
107
101
  .should('not.exist');
@@ -112,7 +106,7 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
112
106
  shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
113
107
  shortTextResponsePage.correctIncorrectAnswerBorder()
114
108
  .should('not.exist');
115
- shortTextResponsePage.correctIncorectAnswerLabel()
109
+ shortTextResponsePage.correctIncorrectAnswerLabel()
116
110
  .should('not.exist');
117
111
  shortTextResponsePage.previewTabCorrectAnswerContainer()
118
112
  .should('not.exist');
@@ -5,8 +5,7 @@ const css = Cypress.env('css');
5
5
  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'];
6
6
  const options = ['Fully agree as true', 'Fully agree as false'];
7
7
 
8
- const fontSizeDropdownOptions = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
9
- const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
8
+ const fontSizes = { 'Tiny': '12px', 'Small': '14px', 'Default': '16px', 'Normal': '18px', 'Big': '22px', 'Huge': '26px' };
10
9
 
11
10
  describe('Create Item page - Single Selection Grid: Additional settings', () => {
12
11
  before(() => {
@@ -48,22 +47,21 @@ describe('Create Item page - Single Selection Grid: Additional settings', () =>
48
47
  singleSelectionGridPage.steps.addInputToTitleForOptionsInputField('Title for options')
49
48
  });
50
49
 
51
- //Failing due to https://redmine.zeuslearning.com/issues/534772
52
- fontSizeDropdownOptions.forEach((option, fontsIndex) => {
53
- 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`, () => {
50
+ Object.keys(fontSizes).forEach((option, fontsIndex) => {
51
+ 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`, () => {
54
52
  singleSelectionGridPage.steps.selectFontSizeOptionFromFontSizeDropdown(fontsIndex)
55
53
  singleSelectionGridPage.fontSizeDropdown()
56
54
  .verifyInnerText(`${option}`);
57
55
  singleSelectionGridPage.setCorrectAnswerTableHeader()
58
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
56
+ .should('have.css', 'font-size', fontSizes[option]);
59
57
  singleSelectionGridPage.questionStemNumeration()
60
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
58
+ .should('have.css', 'font-size', fontSizes[option]);
61
59
  singleSelectionGridPage.setCorrectAnswertableQuestionStem()
62
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
60
+ .should('have.css', 'font-size', fontSizes[option]);
63
61
  singleSelectionGridPage.setCorrectAnswerTableQuestionStemTitle()
64
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
62
+ .should('have.css', 'font-size', fontSizes[option]);
65
63
  singleSelectionGridPage.setCorrectAnswerTableOptionsTitle()
66
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
64
+ .should('have.css', 'font-size', fontSizes[option]);
67
65
  });
68
66
  });
69
67
  });
@@ -82,24 +80,24 @@ describe('Create Item page - Single Selection Grid: Additional settings', () =>
82
80
  singleSelectionGridPage.steps.addInputToTitleForOptionsInputField('Title for options');
83
81
  });
84
82
 
85
- fontSizeDropdownOptions.forEach((option, fontsIndex) => {
86
- 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`, () => {
83
+ Object.keys(fontSizes).forEach((option, fontsIndex) => {
84
+ 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`, () => {
87
85
  singleSelectionGridPage.steps.selectFontSizeOptionFromFontSizeDropdown(fontsIndex)
88
86
  singleSelectionGridPage.fontSizeDropdown()
89
87
  .verifyInnerText(`${option}`);
90
88
  singleSelectionGridPage.steps.switchToPreviewTab();
91
89
  singleSelectionGridPage.questionInstructionsText()
92
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
90
+ .should('have.css', 'font-size', fontSizes[option]);
93
91
  singleSelectionGridPage.previewTabAnswerTableHeader()
94
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
92
+ .should('have.css', 'font-size', fontSizes[option]);
95
93
  singleSelectionGridPage.previewTabQuestionStemNumeration()
96
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
94
+ .should('have.css', 'font-size', fontSizes[option]);
97
95
  singleSelectionGridPage.previewTabAnswertableQuestionStem()
98
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
96
+ .should('have.css', 'font-size', fontSizes[option]);
99
97
  singleSelectionGridPage.previewTabAnswerTableQuestionStemTitle()
100
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
98
+ .should('have.css', 'font-size', fontSizes[option]);
101
99
  singleSelectionGridPage.previewTabAnswerTableOptionsTitle()
102
- .should('have.css', 'font-size', fontSizes[fontsIndex]);
100
+ .should('have.css', 'font-size', fontSizes[option]);
103
101
  singleSelectionGridPage.steps.switchToEditTab();
104
102
  });
105
103
  });
@@ -40,7 +40,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
40
40
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
41
41
  singleSelectionGridPage.incorrectIcon()
42
42
  .should('not.exist');
43
- singleSelectionGridPage.correctIncorectAnswerLabel()
43
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
44
44
  .should('not.exist');
45
45
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
46
46
 
@@ -40,7 +40,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
40
40
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
41
41
  singleSelectionGridPage.incorrectIcon()
42
42
  .should('not.exist');
43
- singleSelectionGridPage.correctIncorectAnswerLabel()
43
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
44
44
  .should('not.exist');
45
45
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
46
46
 
@@ -39,7 +39,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
39
39
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
40
40
  singleSelectionGridPage.incorrectIcon()
41
41
  .should('not.exist');
42
- singleSelectionGridPage.correctIncorectAnswerLabel()
42
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
43
43
  .should('not.exist');
44
44
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
45
45
 
@@ -1,6 +1,7 @@
1
1
  import { singleSelectionGridPage } from "../../../pages/singleSelectionGridPage";
2
2
  import abortEarlySetup from "../../../support/helpers/abortEarly";
3
3
  const css = Cypress.env('css');
4
+ const grepTags = Cypress.env('grepTags');
4
5
 
5
6
  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'];
6
7
  const options = ['Fully agree as true', 'Fully agree as false', 'Somewhat agree'];
@@ -10,37 +11,39 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
10
11
  cy.loginAs('admin');
11
12
  });
12
13
 
13
- describe('Show correct answer', () => {
14
- abortEarlySetup();
15
- before(() => {
16
- cy.log('Navigating to Single selection grid question type');
17
- singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
18
- singleSelectionGridPage.steps.addQuestionInstructions();
19
- singleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
20
- singleSelectionGridPage.steps.addInputToAllOptionsFields(options.slice(0, 2));
21
- });
22
-
23
- singleSelectionGridPage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet()
24
-
25
- it('When the user has set correct answer options and alloted points \'Show correct answer\' checkbox should be displayed and it should be unchecked by default and points for the question should be displayed beside it', () => {
26
- singleSelectionGridPage.steps.switchToEditTab();
27
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([1, 0, 0, 1]);
28
- singleSelectionGridPage.steps.allotPoints('15');
29
- singleSelectionGridPage.steps.switchToPreviewTab();
30
- singleSelectionGridPage.steps.verifyDefaultShowCorrectAnswerCheckboxAndLabel();
31
- singleSelectionGridPage.previewScoreText()
32
- .verifyInnerText('0/15');
14
+ if (!grepTags || !grepTags.includes('smoke')) {
15
+ describe('Show correct answer', () => {
16
+ abortEarlySetup();
17
+ before(() => {
18
+ cy.log('Navigating to Single selection grid question type');
19
+ singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
20
+ singleSelectionGridPage.steps.addQuestionInstructions();
21
+ singleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
22
+ singleSelectionGridPage.steps.addInputToAllOptionsFields(options.slice(0, 2));
23
+ });
24
+
25
+ singleSelectionGridPage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet()
26
+
27
+ it('When the user has set correct answer options and alloted points \'Show correct answer\' checkbox should be displayed and it should be unchecked by default and points for the question should be displayed beside it', () => {
28
+ singleSelectionGridPage.steps.switchToEditTab();
29
+ singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([1, 0, 0, 1]);
30
+ singleSelectionGridPage.steps.allotPoints('15');
31
+ singleSelectionGridPage.steps.switchToPreviewTab();
32
+ singleSelectionGridPage.steps.verifyDefaultShowCorrectAnswerCheckboxAndLabel();
33
+ singleSelectionGridPage.previewScoreText()
34
+ .verifyInnerText('0/15');
35
+ });
36
+
37
+ it('When the user attempts question in preview tab and switches to edit tab, then on re-switching to the preview tab users response should not persist', () => {
38
+ singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([1, 1, 0, 1]);
39
+ singleSelectionGridPage.steps.switchToEditTab();
40
+ singleSelectionGridPage.steps.switchToPreviewTab();
41
+ singleSelectionGridPage.steps.verifyRadioButtonsUncheckedInPreviewTabAnswerTable();
42
+ });
33
43
  });
44
+ }
34
45
 
35
- it('When the user attempts question in preview tab and switches to edit tab, then on re-switching to the preview tab users response should not persist', () => {
36
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([1, 1, 0, 1]);
37
- singleSelectionGridPage.steps.switchToEditTab();
38
- singleSelectionGridPage.steps.switchToPreviewTab();
39
- singleSelectionGridPage.steps.verifyRadioButtonsUncheckedInPreviewTabAnswerTable();
40
- });
41
- });
42
-
43
- describe('Question Preview: AutoScored - All or Nothing', () => {
46
+ describe('Question Preview: AutoScored - All or Nothing', { tags: 'smoke' }, () => {
44
47
  abortEarlySetup();
45
48
  before(() => {
46
49
  cy.log('Navigating to Single selection grid question type');
@@ -65,7 +68,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
65
68
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
66
69
  singleSelectionGridPage.incorrectIcon()
67
70
  .should('not.exist');
68
- singleSelectionGridPage.correctIncorectAnswerLabel()
71
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
69
72
  .should('not.exist');
70
73
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
71
74
  });
@@ -78,7 +81,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
78
81
  .should('not.exist');
79
82
  singleSelectionGridPage.incorrectIcon()
80
83
  .should('not.exist');
81
- singleSelectionGridPage.correctIncorectAnswerLabel()
84
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
82
85
  .should('not.exist');
83
86
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotExists();
84
87
  });
@@ -116,7 +119,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
116
119
  singleSelectionGridPage.incorrectIcon()
117
120
  .eq(0)
118
121
  .verifyPseudoClassBeforeProperty('color', css.color.incorrectAnswer);
119
- singleSelectionGridPage.correctIncorectAnswerLabel()
122
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
120
123
  .verifyCSS(css.color.incorrectAnswer, css.fontSize.normal, css.fontWeight.bold)
121
124
  .parent()
122
125
  .find('.answer-label-icon')
@@ -188,7 +191,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
188
191
  singleSelectionGridPage.previewScoreText()
189
192
  .should('have.css', 'color', css.color.primaryBtn)
190
193
  .and('have.css', 'background-color', css.color.correctAnswer)
191
- singleSelectionGridPage.correctIncorectAnswerLabel()
194
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
192
195
  .verifyCSS(css.color.correctAnswer, css.fontSize.normal, css.fontWeight.bold)
193
196
  .parent()
194
197
  .find('.answer-label-icon')
@@ -6,7 +6,7 @@ const questionStems = ['Pollution caused by treating chemical waste', 'Pollution
6
6
  const options = ['True', 'False'];
7
7
  const optionsFotNextAndPreviousButton = ['Fully agree as true', 'Fully agree as false', 'Somewhat agree', 'Somewhat disagree', 'Not sure', 'None of these'];
8
8
 
9
- describe('Create Item page - Single Selection Grid: Question Instructions, Question stem, Options, Set Correct Answer, Alternate Correct Answer, Shuffle option order sections', () => {
9
+ describe('Create Item page - Single Selection Grid: Question Instructions, Question stem, Options, Set Correct Answer, Alternative Correct Answer, Shuffle option order sections', () => {
10
10
  before(() => {
11
11
  cy.loginAs('admin');
12
12
  });
@@ -100,7 +100,7 @@ describe('Create Item page - Single Selection Grid: Edit tab scoring types and s
100
100
  singleSelectionGridPage.minimumScoreIfAttemptedLabel()
101
101
  .verifyCSS(css.color.labels, css.fontSize.normal, css.fontWeight.semibold);
102
102
  singleSelectionGridPage.rounddownScoreCheckboxLabel()
103
- .verifyCSS(css.color.labelText, css.fontSize.normal, css.fontWeight.regular);
103
+ .verifyCSS(css.color.labels, css.fontSize.normal, css.fontWeight.regular);
104
104
  });
105
105
 
106
106
  it('Accessibility of \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input field and \'Round down score\' checkbox', { tags: 'a11y' }, () => {
@@ -231,7 +231,7 @@ describe('Create Item page - Single Selection Grid: Edit tab scoring types and s
231
231
  });
232
232
 
233
233
  //Failing due to https://redmine.zeuslearning.com/issues/542358
234
- it('When the user has selected \'Manually Scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed; \'All or Nothing\', \'Partial - equal weights\' and \'Partial - different weights\' radio buttons should not be displayed; \'Points\' and \'Minimum score awarded (if attempted)\' labels and input fields should be displayed; and inside Additional Settings accordion Check Answer section i.e. \'Allow students to check answer\' checkbox should not be displayed', () => {
234
+ it('When the user has selected \'Manually Scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed; \'All or Nothing\', \'Partial - equal weights\' and \'Partial - different weights\' radio buttons should not be displayed; \'Points\' and \'Minimum score awarded (if attempted)\' labels and input fields should be displayed; and inside Additional Settings accordion Check Answer section i.e. \'Allow student to check answer\' checkbox should not be displayed', () => {
235
235
  singleSelectionGridPage.setCorrectAnswerLabel()
236
236
  .should('not.exist');
237
237
  singleSelectionGridPage.allOrNothingCheckbox()
@@ -30,7 +30,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
30
30
  singleSelectionGridPage.steps.verifyRadioButtonsUncheckedInPreviewTabAnswerTable();
31
31
  });
32
32
 
33
- singleSelectionGridPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab()
33
+ singleSelectionGridPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored')
34
34
  });
35
35
 
36
36
  describe('Question Preview: Non scored', () => {
@@ -56,7 +56,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
56
56
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
57
57
  singleSelectionGridPage.incorrectIcon()
58
58
  .should('not.exist');
59
- singleSelectionGridPage.correctIncorectAnswerLabel()
59
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
60
60
  .should('not.exist');
61
61
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
62
62
  });
@@ -69,7 +69,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
69
69
  .should('not.exist');
70
70
  singleSelectionGridPage.incorrectIcon()
71
71
  .should('not.exist');
72
- singleSelectionGridPage.correctIncorectAnswerLabel()
72
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
73
73
  .should('not.exist');
74
74
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
75
75
  });
@@ -19,7 +19,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
19
19
  singleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
20
20
  singleSelectionGridPage.steps.addInputToAllOptionsFields(options.slice(0, 2));
21
21
  singleSelectionGridPage.steps.selectPartialDifferentWeightsCheckbox();
22
- singleSelectionGridPage.steps.uncheckRoundDownScoreCheckbox()
22
+
23
23
  singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([0, 1, 0, 1]);
24
24
  singleSelectionGridPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.2, 1.8, 3.7, 2.3]);
25
25
  singleSelectionGridPage.steps.expandAdditonalSettings();
@@ -32,7 +32,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
32
32
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
33
33
  singleSelectionGridPage.incorrectIcon()
34
34
  .should('not.exist');
35
- singleSelectionGridPage.correctIncorectAnswerLabel()
35
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
36
36
  .should('not.exist');
37
37
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
38
38
  });
@@ -45,7 +45,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
45
45
  .should('not.exist');
46
46
  singleSelectionGridPage.incorrectIcon()
47
47
  .should('not.exist');
48
- singleSelectionGridPage.correctIncorectAnswerLabel()
48
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
49
49
  .should('not.exist');
50
50
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
51
51
  });
@@ -62,7 +62,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
62
62
  singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox();
63
63
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([1, 0, 1, 0]);
64
64
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
65
- singleSelectionGridPage.correctIncorectAnswerLabel()
65
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
66
66
  .should('not.exist');
67
67
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
68
68
 
@@ -73,7 +73,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
73
73
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([1, 0, 1, 0]);
74
74
  singleSelectionGridPage.correctIcon()
75
75
  .should('not.exist');
76
- singleSelectionGridPage.correctIncorectAnswerLabel()
76
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
77
77
  .should('not.exist');
78
78
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
79
79
  });
@@ -90,7 +90,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
90
90
  singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox();
91
91
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
92
92
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 0);
93
- singleSelectionGridPage.correctIncorectAnswerLabel()
93
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
94
94
  .should('not.exist');
95
95
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
96
96
 
@@ -102,7 +102,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
102
102
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 1);
103
103
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
104
104
  singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 0);
105
- singleSelectionGridPage.correctIncorectAnswerLabel()
105
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
106
106
  .should('not.exist');
107
107
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
108
108
  });
@@ -120,7 +120,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
120
120
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
121
121
  singleSelectionGridPage.incorrectIcon()
122
122
  .should('not.exist');
123
- singleSelectionGridPage.correctIncorectAnswerLabel()
123
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
124
124
  .should('not.exist');
125
125
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
126
126
 
@@ -131,7 +131,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
131
131
  singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
132
132
  singleSelectionGridPage.incorrectIcon()
133
133
  .should('not.exist');
134
- singleSelectionGridPage.correctIncorectAnswerLabel()
134
+ singleSelectionGridPage.correctIncorrectAnswerLabel()
135
135
  .should('not.exist');
136
136
  singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
137
137
  });
@@ -173,7 +173,8 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
173
173
 
174
174
  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', () => {
175
175
  singleSelectionGridPage.steps.switchToEditTab()
176
- singleSelectionGridPage.steps.uncheckRoundDownScoreCheckbox()
176
+ singleSelectionGridPage.steps.expandRoundingDropdown();
177
+ singleSelectionGridPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
177
178
  singleSelectionGridPage.steps.switchToPreviewTab();
178
179
  singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([0]);
179
180
  singleSelectionGridPage.previewScoreText()