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
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
30
30
  listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
31
31
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
32
32
  listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([6, 9, 5, 4]);
33
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
34
33
  listOrderingPage.steps.expandAdditonalSettings();
35
34
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
36
35
  listOrderingPage.steps.switchToPreviewTab();
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
135
134
 
136
135
  it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration and correct/incorrect answer label and border for the question should not be displayed below the question preview', () => {
137
136
  listOrderingPage.steps.resetQuestionPreview(options);
137
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
138
138
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
139
139
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
140
140
  listOrderingPage.steps.verifyPreviewTabScoreText(14, 24);
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
30
30
  listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
31
31
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
32
32
  listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([6, 3, 2, 9]);
33
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
34
33
  listOrderingPage.steps.expandAdditonalSettings();
35
34
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
36
35
  listOrderingPage.steps.switchToPreviewTab();
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
135
134
 
136
135
  it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration and correct/incorrect answer label and border for the question should not be displayed below the question preview', () => {
137
136
  listOrderingPage.steps.resetQuestionPreview(options);
137
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
138
138
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
139
139
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
140
140
  listOrderingPage.steps.verifyPreviewTabScoreText(5, 24);
@@ -143,7 +143,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
143
143
  listOrderingPage.steps.verifyCorrectOptionsCheckmarkIcon('flower');
144
144
  listOrderingPage.steps.verifyCorrectOptionsCheckmarkIcon('sprout');
145
145
  listOrderingPage.steps.verifyIncorrectOptionsCrossmarkIcon('seed');
146
- listOrderingPage.steps.verifyCorrectAnswerContainerContents(['seed', 'plant'], ['1', '4']);
146
+ listOrderingPage.steps.verifyCorrectAnswerContainerContents(correctAnswerArray, ['1', '2', '3', '4']);
147
147
  listOrderingPage.steps.verifyCorrectIncorrectBorderNotVisible();
148
148
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExists();
149
149
 
@@ -279,7 +279,8 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
279
279
  listOrderingPage.steps.switchToEditTab();
280
280
  listOrderingPage.steps.deleteAlternateTab();
281
281
  listOrderingPage.steps.addAlternateTab(1);
282
- listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1)
282
+ listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('plant', 0);
283
+ listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
283
284
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(['plant', 'flower', 'sprout', 'seed']);
284
285
  listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.5, 1.5, 2.5, 3.5]);
285
286
  listOrderingPage.steps.navigateToCorrectTab();
@@ -24,7 +24,6 @@ describe('Create Item page - List ordering: Preview tab Scoring Section', () =>
24
24
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
25
25
  listOrderingPage.steps.selectPartialDifferentWeightsCheckbox();
26
26
  listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.2, 1.8, 2.3, 3.7]);
27
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
28
27
  listOrderingPage.steps.expandAdditonalSettings();
29
28
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
30
29
  listOrderingPage.steps.switchToPreviewTab();
@@ -159,33 +158,35 @@ describe('Create Item page - List ordering: Preview tab Scoring Section', () =>
159
158
  listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.2, 1.8, 3.4, 2.3]);
160
159
  listOrderingPage.steps.expandAdditonalSettings();
161
160
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
162
- listOrderingPage.steps.switchToPreviewTab();
163
161
  });
164
162
 
165
- 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', () => {
166
- listOrderingPage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
163
+ 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', () => {
164
+ listOrderingPage.steps.switchToPreviewTab();
167
165
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('seed', 0);
166
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 1);
168
167
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
169
- listOrderingPage.steps.verifyPreviewTabScoreText(6, 11.7);
168
+ listOrderingPage.steps.verifyPreviewTabScoreText(6.5, 11.7);
170
169
  listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
171
170
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('sprout', 1);
172
171
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
173
- listOrderingPage.steps.verifyPreviewTabScoreText(11, 11.7);
174
- listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
172
+ listOrderingPage.steps.verifyPreviewTabScoreText(11.7, 11.7);
173
+ listOrderingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
175
174
  });
176
175
 
177
- 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', () => {
178
- listOrderingPage.steps.switchToEditTab()
179
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox()
176
+ 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', () => {
177
+ listOrderingPage.steps.switchToEditTab();
178
+ listOrderingPage.steps.expandRoundingDropdown();
179
+ listOrderingPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
180
180
  listOrderingPage.steps.switchToPreviewTab();
181
181
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('seed', 0);
182
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 1);
182
183
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
183
- listOrderingPage.steps.verifyPreviewTabScoreText(6.5, 11.7);
184
+ listOrderingPage.steps.verifyPreviewTabScoreText(6, 11.7);
184
185
  listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
185
186
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('sprout', 1);
186
187
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
187
- listOrderingPage.steps.verifyPreviewTabScoreText(11.7, 11.7);
188
- listOrderingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
188
+ listOrderingPage.steps.verifyPreviewTabScoreText(11, 11.7);
189
+ listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
189
190
  });
190
191
  });
191
192
  });
@@ -31,7 +31,6 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
31
31
  listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
32
32
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
33
33
  listOrderingPage.steps.allotPoints('24');
34
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
35
34
  listOrderingPage.steps.expandAdditonalSettings();
36
35
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
37
36
  listOrderingPage.steps.switchToPreviewTab();
@@ -136,6 +135,7 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
136
135
 
137
136
  it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, \'Incorrect\' label and border should be displayed and the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the alternate tab with numeration', () => {
138
137
  listOrderingPage.steps.resetQuestionPreview(options);
138
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
139
139
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
140
140
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
141
141
  listOrderingPage.steps.verifyPreviewTabScoreText(12, 24);
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
30
30
  listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
31
31
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
32
32
  listOrderingPage.steps.allotPoints('20');
33
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
34
33
  listOrderingPage.steps.expandAdditonalSettings();
35
34
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
36
35
  listOrderingPage.steps.switchToPreviewTab();
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
135
134
 
136
135
  it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration and correct/incorrect answer label and border for the question should not be displayed below the question preview', () => {
137
136
  listOrderingPage.steps.resetQuestionPreview(options);
137
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
138
138
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
139
139
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
140
140
  listOrderingPage.steps.verifyPreviewTabScoreText(10, 20);
@@ -143,7 +143,7 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
143
143
  listOrderingPage.steps.verifyCorrectOptionsCheckmarkIcon('flower');
144
144
  listOrderingPage.steps.verifyCorrectOptionsCheckmarkIcon('sprout');
145
145
  listOrderingPage.steps.verifyIncorrectOptionsCrossmarkIcon('seed');
146
- listOrderingPage.steps.verifyCorrectAnswerContainerContents(['seed', 'plant'], ['1', '4']);
146
+ listOrderingPage.steps.verifyCorrectAnswerContainerContents(correctAnswerArray, ['1', '2', '3', '4']);
147
147
  listOrderingPage.steps.verifyCorrectIncorrectBorderNotVisible();
148
148
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExists();
149
149
 
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
30
30
  listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
31
31
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
32
32
  listOrderingPage.steps.allotPoints('12');
33
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
34
33
  listOrderingPage.steps.expandAdditonalSettings();
35
34
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
36
35
  listOrderingPage.steps.switchToPreviewTab();
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
135
134
 
136
135
  it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration and correct/incorrect answer label and border for the question should not be displayed below the question preview', () => {
137
136
  listOrderingPage.steps.resetQuestionPreview(options);
137
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
138
138
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
139
139
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
140
140
  listOrderingPage.steps.verifyPreviewTabScoreText(6, 20);
@@ -176,7 +176,6 @@ describe('Create Item page - List ordering: Partial equal weights', () => {
176
176
 
177
177
  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', () => {
178
178
  listOrderingPage.steps.switchToEditTab()
179
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox()
180
179
  listOrderingPage.steps.switchToPreviewTab();
181
180
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('seed', 0);
182
181
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
@@ -7,7 +7,7 @@ const answerNumerationDropdownOptions = ['Numerical', 'Uppercase alphabet', 'Low
7
7
  const numbers = ['1', '2', '3', '4'];
8
8
  const lowercase = ['a', 'b', 'c', 'd'];
9
9
  const uppercase = ['A', 'B', 'C', 'D'];
10
- let options = ['plant', 'sprout', 'flower', 'seed'];
10
+ let options = ['plant', 'flower', 'sprout', 'seed'];
11
11
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
12
12
 
13
13
  describe('Create Item page - List ordering: Additional settings - Answer numeration (only while grading) and option label section', () => {
@@ -4,8 +4,8 @@ import utilities from "../../../support/helpers/utilities";
4
4
  const css = Cypress.env('css');
5
5
 
6
6
  const answerNumerationDropdownOptions = ['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
 
@@ -4,7 +4,7 @@ import utilities from "../../../support/helpers/utilities";
4
4
  const css = Cypress.env('css');
5
5
 
6
6
  const optionStyleDropdownOptions = ['Grid', 'Minimal', 'Inline'];
7
- let options = ['plant', 'sprout', 'flower', 'seed'];
7
+ let options = ['plant', 'flower', 'sprout', 'seed'];
8
8
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
9
9
 
10
10
  describe('Create Item page - List ordering: Additional settings - Options style dropdown', () => {
@@ -5,14 +5,10 @@ import abortEarlySetup from "../../../support/helpers/abortEarly";
5
5
  import utilities from "../../../support/helpers/utilities";
6
6
  const css = Cypress.env('css');
7
7
 
8
- const optionStyleDropdownOptions = ['Grid', 'Minimal', 'Inline'];
9
8
  const answerNumerationDropdownOptions = ['Numerical', 'Uppercase alphabet', 'Lowercase alphabet'];
10
- const fontSizeDropdownOptions = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
11
9
  const numbers = ['1', '2', '3', '4'];
12
10
  const lowercase = ['a', 'b', 'c', 'd'];
13
- const uppercase = ['A', 'B', 'C', 'D'];
14
- const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
15
- let options = ['plant', 'sprout', 'flower', 'seed'];
11
+ let options = ['plant', 'flower', 'sprout', 'seed'];
16
12
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
17
13
 
18
14
  describe('Create Item page - List ordering: Additional settings', () => {
@@ -149,7 +145,6 @@ describe('Create Item page - List ordering: Additional settings', () => {
149
145
  setPointsPopupBase.steps.cancelSetPointsPopup();
150
146
  });
151
147
 
152
- //Failing due to - https://redmine.zeuslearning.com/issues/538676
153
148
  it('When user deletes an option from the \'Option\' section then it should not be displayed in the \'Set points\' popup and the numeration should change accordingly', () => {
154
149
  listOrderingPage.steps.deleteOption(0);
155
150
  listOrderingPage.steps.clickOnSetPointsButton();
@@ -162,6 +157,7 @@ describe('Create Item page - List ordering: Additional settings', () => {
162
157
  //Failing due to - https://redmine.zeuslearning.com/issues/538680
163
158
  it('When user adds an option in the \'Option\' section then it should be displayed in the \'Set points\' popup with an empty points field', () => {
164
159
  listOrderingPage.steps.addOption();
160
+ listOrderingPage.steps.editOptionInputField(3, options[0]);
165
161
  listOrderingPage.steps.clickOnSetPointsButton();
166
162
  utilities.verifyElementCount(listOrderingPage.setPointsPopupOptions(), 4);
167
163
  listOrderingPage.steps.verifySetPointsPopupOptionNumeration(numbers);
@@ -217,8 +213,8 @@ describe('Create Item page - List ordering: Additional settings', () => {
217
213
  setPointsPopupBase.steps.saveSetPointsPopup();
218
214
  });
219
215
 
220
- //Failing due to - https://redmine.zeuslearning.com/issues/539283
221
216
  it(`When user changes the Answer numeration option to ${answerNumerationDropdownOptions[2]} then the set points popup options should be displayed with lowercase numeration`, () => {
217
+ listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('sprout', 3);
222
218
  listOrderingPage.steps.navigateToCorrectTab()
223
219
  listOrderingPage.steps.selectAnswerNumerationDropdownOption(`${answerNumerationDropdownOptions[2]}`);
224
220
  listOrderingPage.steps.clickOnSetPointsButton()
@@ -103,15 +103,15 @@ describe('Create Item page - List ordering: Edit tab scoring types and set corre
103
103
  'font-weight': css.fontWeight.semibold
104
104
  });
105
105
  utilities.verifyCSS(listOrderingPage.rounddownScoreCheckboxLabel(), {
106
- 'color': css.color.labelText,
106
+ 'color': css.color.labels,
107
107
  'font-size': css.fontSize.normal,
108
- 'font-weight': css.fontWeight.regular
108
+ 'font-weight': css.fontWeight.semibold
109
109
  });
110
110
  });
111
111
 
112
112
  it('Accessibility of \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input field and \'Round down score\' checkbox', { tags: 'a11y' }, () => {
113
113
  cy.checkAccessibility(listOrderingPage.penaltyPointsInputField().parents('.points-container'));
114
- cy.checkAccessibility(listOrderingPage.rounddownScoreCheckbox());
114
+ cy.checkAccessibility(listOrderingPage.roundingDropdown());
115
115
  });
116
116
 
117
117
  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', () => {
@@ -199,16 +199,16 @@ describe('Create Item page - List ordering: Edit tab scoring types and set corre
199
199
  'font-weight': css.fontWeight.semibold
200
200
  });
201
201
  utilities.verifyCSS(listOrderingPage.rounddownScoreCheckboxLabel(), {
202
- 'color': css.color.labelText,
202
+ 'color': css.color.labels,
203
203
  'font-size': css.fontSize.normal,
204
- 'font-weight': css.fontWeight.regular
204
+ 'font-weight': css.fontWeight.semibold
205
205
  });
206
206
  });
207
207
 
208
208
  it('Accessibility of \'Points per response\', \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input fields and \'Round down score\' checkbox', { tags: 'a11y' }, () => {
209
209
  cy.checkAccessibility(listOrderingPage.partialDifferentWeightsPointsInputField());
210
210
  cy.checkAccessibility(listOrderingPage.penaltyPointsInputField().parents('.points-container'));
211
- cy.checkAccessibility(listOrderingPage.rounddownScoreCheckbox().parents('.round-down-score-wrapper'));
211
+ cy.checkAccessibility(listOrderingPage.roundingDropdown().parents('.round-down-score-wrapper'));
212
212
  });
213
213
 
214
214
  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', () => {
@@ -256,6 +256,6 @@ describe('Create item page - List sorting: All or nothing scoring with alternate
256
256
  listSortingPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
257
257
  });
258
258
 
259
- listSortingPage.tests.verifyMinimumScoreAwardedIfAttemptedFunctionalityForIncorrectAnswer('20');
259
+ listSortingPage.tests.verifyMinimumScoreAwardedIfAttemptedFunctionalityForIncorrectAnswer(20);
260
260
  });
261
261
  });
@@ -4,51 +4,54 @@ import utilities from "../../../../support/helpers/utilities";
4
4
 
5
5
  let options = ['plant', 'sprout', 'flower', 'seed'];
6
6
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
7
+ const grepTags = Cypress.env('grepTags');
7
8
 
8
9
  describe('Create item page - List sorting: All or nothing scoring', () => {
9
10
  before(() => {
10
11
  cy.loginAs('admin');
11
12
  });
12
13
 
13
- describe('Show correct answer', () => {
14
- abortEarlySetup();
15
- before(() => {
16
- cy.log('Navigating to list sorting question type');
17
- listSortingPage.steps.navigateToCreateQuestion('list sorting');
18
- cy.barsPreLoaderWait();
19
- listSortingPage.steps.addQuestionInstructions();
20
- listSortingPage.steps.addInputToOptionsInputField(options);
21
- });
22
-
23
- //Failing due to - https://redmine.zeuslearning.com/issues/539911
24
- listSortingPage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet()
25
-
26
- 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', () => {
27
- listSortingPage.steps.switchToEditTab();
28
- listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('seed', 0);
29
- listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('sprout', 1);
30
- listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 2);
31
- listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('flower', 3);
32
- listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
33
- listSortingPage.steps.allotPoints('15');
34
- listSortingPage.steps.switchToPreviewTab();
35
- listSortingPage.steps.verifyDefaultShowCorrectAnswerCheckboxAndLabel();
36
- listSortingPage.steps.verifyPreviewTabScoreText(0, 15);
14
+ if (!grepTags || !grepTags.includes('smoke')) {
15
+ describe('Show correct answer', () => {
16
+ abortEarlySetup();
17
+ before(() => {
18
+ cy.log('Navigating to list sorting question type');
19
+ listSortingPage.steps.navigateToCreateQuestion('list sorting');
20
+ cy.barsPreLoaderWait();
21
+ listSortingPage.steps.addQuestionInstructions();
22
+ listSortingPage.steps.addInputToOptionsInputField(options);
23
+ });
24
+
25
+ //Failing due to - https://redmine.zeuslearning.com/issues/539911
26
+ listSortingPage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet()
27
+
28
+ 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', () => {
29
+ listSortingPage.steps.switchToEditTab();
30
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('seed', 0);
31
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('sprout', 1);
32
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 2);
33
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('flower', 3);
34
+ listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
35
+ listSortingPage.steps.allotPoints('15');
36
+ listSortingPage.steps.switchToPreviewTab();
37
+ listSortingPage.steps.verifyDefaultShowCorrectAnswerCheckboxAndLabel();
38
+ listSortingPage.steps.verifyPreviewTabScoreText(0, 15);
39
+ });
40
+
41
+ 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', () => {
42
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
43
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 1);
44
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
45
+ listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
46
+ listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(correctAnswerArray)
47
+ listSortingPage.steps.resetQuestionPreview();
48
+ listSortingPage.steps.verifySourceOptionsTextContentInPreviewTab(options);
49
+ listSortingPage.steps.verifyCorrectAnswerContainerDoesNotExist();
50
+ });
37
51
  });
52
+ }
38
53
 
39
- 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', () => {
40
- listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
41
- listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 1);
42
- listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
43
- listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
44
- listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(correctAnswerArray)
45
- listSortingPage.steps.resetQuestionPreview();
46
- listSortingPage.steps.verifySourceOptionsTextContentInPreviewTab(options);
47
- listSortingPage.steps.verifyCorrectAnswerContainerDoesNotExist();
48
- });
49
- });
50
-
51
- describe('Question Preview: AutoScored - All or Nothing', () => {
54
+ describe('Question Preview: AutoScored - All or Nothing', { tags: 'smoke' }, () => {
52
55
  abortEarlySetup();
53
56
  before(() => {
54
57
  cy.log('Navigating to list sorting question type');
@@ -184,5 +187,5 @@ describe('Create item page - List sorting: All or nothing scoring', () => {
184
187
  listSortingPage.tests.verifyCSSAndA11yOfFullScoreTextAndCorrectAnswerLabel()
185
188
 
186
189
  listSortingPage.tests.verifyMinimumScoreAwardedIfAttemptedFunctionalityForIncorrectAnswer('20');
187
- });
190
+ });
188
191
  });
@@ -40,7 +40,7 @@ describe('Create item page - List sorting: Preview tab \'Scoring\' section', ()
40
40
  utilities.verifyInnerText(listSortingPage.previewTabTargetOptionWrapper(), '');
41
41
  });
42
42
 
43
- listSortingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
43
+ listSortingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
44
44
  });
45
45
 
46
46
  describe('Question Preview: Non Scored', () => {
@@ -34,7 +34,6 @@ describe('Create item page - List sorting: Partial different weights scoring wit
34
34
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
35
35
  listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
36
36
  listSortingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4, 9, 10, 6]);
37
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
38
37
  listSortingPage.steps.expandAdditonalSettings();
39
38
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
40
39
  listSortingPage.steps.switchToPreviewTab();
@@ -34,7 +34,6 @@ describe('Create item page - List sorting: Partial different weights scoring wit
34
34
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
35
35
  listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
36
36
  listSortingPage.steps.allotPartialDifferentWeightsToAllPointsFields([6, 9, 5, 4]);
37
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
38
37
  listSortingPage.steps.expandAdditonalSettings();
39
38
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
40
39
  listSortingPage.steps.switchToPreviewTab();
@@ -34,7 +34,6 @@ describe('Create item page - List sorting: Partial different weights scoring wit
34
34
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
35
35
  listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
36
36
  listSortingPage.steps.allotPartialDifferentWeightsToAllPointsFields([6, 3, 2, 9]);
37
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
38
37
  listSortingPage.steps.expandAdditonalSettings();
39
38
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
40
39
  listSortingPage.steps.switchToPreviewTab();
@@ -26,7 +26,6 @@ describe('Create item page - List sorting: Partial different weights scoring', (
26
26
  listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
27
27
  listSortingPage.steps.selectPartialDifferentWeightsCheckbox();
28
28
  listSortingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.2, 1.8, 2.3, 3.7]);
29
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
30
29
  listSortingPage.steps.expandAdditonalSettings();
31
30
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
32
31
  listSortingPage.steps.switchToPreviewTab();
@@ -167,14 +166,13 @@ describe('Create item page - List sorting: Partial different weights scoring', (
167
166
  listSortingPage.steps.switchToPreviewTab();
168
167
  });
169
168
 
170
- 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', () => {
171
- listSortingPage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
169
+ 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', () => {
172
170
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
173
171
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 1);
174
172
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 2);
175
173
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
176
174
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
177
- listSortingPage.steps.verifyPreviewTabScoreText(6, 11.7);
175
+ listSortingPage.steps.verifyPreviewTabScoreText(6.5, 11.7);
178
176
  listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
179
177
  listSortingPage.steps.resetQuestionPreview();
180
178
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
@@ -182,20 +180,22 @@ describe('Create item page - List sorting: Partial different weights scoring', (
182
180
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
183
181
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
184
182
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
185
- listSortingPage.steps.verifyPreviewTabScoreText(11, 11.7);
186
- listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
183
+ listSortingPage.steps.verifyPreviewTabScoreText(11.7, 11.7);
184
+ listSortingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
187
185
  });
188
186
 
189
- 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', () => {
190
- listSortingPage.steps.switchToEditTab()
191
- listSortingPage.steps.uncheckRoundDownScoreCheckbox()
187
+ 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', () => {
188
+ listSortingPage.steps.switchToEditTab();
189
+ listSortingPage.steps.expandRoundingDropdown();
190
+ listSortingPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
192
191
  listSortingPage.steps.switchToPreviewTab();
192
+ listSortingPage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
193
193
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
194
194
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 1);
195
195
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 2);
196
196
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
197
197
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
198
- listSortingPage.steps.verifyPreviewTabScoreText(6.5, 11.7);
198
+ listSortingPage.steps.verifyPreviewTabScoreText(6, 11.7);
199
199
  listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
200
200
  listSortingPage.steps.resetQuestionPreview();
201
201
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
@@ -203,8 +203,8 @@ describe('Create item page - List sorting: Partial different weights scoring', (
203
203
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
204
204
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
205
205
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
206
- listSortingPage.steps.verifyPreviewTabScoreText(11.7, 11.7);
207
- listSortingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
206
+ listSortingPage.steps.verifyPreviewTabScoreText(11, 11.7);
207
+ listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
208
208
  });
209
209
  });
210
210
  });
@@ -35,7 +35,6 @@ describe('Create item page - List sorting: Partial equal weights scoring with al
35
35
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
36
36
  listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
37
37
  listSortingPage.steps.allotPoints('24');
38
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
39
38
  listSortingPage.steps.expandAdditonalSettings();
40
39
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
41
40
  listSortingPage.steps.switchToPreviewTab();
@@ -33,7 +33,6 @@ describe('Create item page - List sorting: Partial equal weights scoring with al
33
33
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('sprout', 2);
34
34
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
35
35
  listSortingPage.steps.allotPoints('20');
36
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
37
36
  listSortingPage.steps.expandAdditonalSettings();
38
37
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
39
38
  listSortingPage.steps.switchToPreviewTab();
@@ -1,6 +1,5 @@
1
1
  import { listSortingPage } from "../../../../pages/listSortingPage";
2
2
  import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
- import utilities from "../../../../support/helpers/utilities";
4
3
 
5
4
  let options = ['plant', 'sprout', 'flower', 'seed'];
6
5
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
@@ -34,7 +33,6 @@ describe('Create item page - List sorting: Partial equal weights scoring with al
34
33
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
35
34
  listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
36
35
  listSortingPage.steps.allotPoints('12');
37
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
38
36
  listSortingPage.steps.expandAdditonalSettings();
39
37
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
40
38
  listSortingPage.steps.switchToPreviewTab();