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
@@ -0,0 +1,111 @@
1
+ import { correctAnswerViewPage, essayResponsePage, itemPreviewPage, studentViewPage } from "../../../pages";
2
+ import { gradingViewPage } from "../../../pages";
3
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
4
+ import utilities from "../../../support/helpers/utilities";
5
+ const css = Cypress.env('css');
6
+ const views = Cypress.env('views');
7
+ var itemReferenceID = "";
8
+
9
+ describe('Create item page - Essay response: Grading view, Correct answer view contents', () => {
10
+ before(() => {
11
+ cy.loginAs('admin');
12
+ });
13
+
14
+ if (views.includes('Grading view')) {
15
+ describe('Grading view contents', { tags: 'smoke' }, () => {
16
+ abortEarlySetup();
17
+ before(() => {
18
+ cy.log('Navigating to Essay response question type');
19
+ essayResponsePage.steps.navigateToCreateQuestion('essay response - rich text');
20
+ cy.barsPreLoaderWait();
21
+ essayResponsePage.steps.addQuestionInstructions();
22
+ essayResponsePage.steps.allotPoints(10);
23
+ essayResponsePage.steps.clickOnSaveQuestionButton();
24
+ utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
25
+ //Global variable issue, not working inside before
26
+ itemPreviewPage.referenceID()
27
+ .invoke('text')
28
+ .then(($refID) => {
29
+ itemReferenceID = $refID;
30
+ cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
31
+ utilities.verifyElementVisibilityState(essayResponsePage.previewTabToolbarOption(), 'visible');
32
+ essayResponsePage.steps.selectPreviewTabToolbarOption('Bold (Ctrl+B)');
33
+ essayResponsePage.steps.selectPreviewTabToolbarOption('Italic (Ctrl+I)');
34
+ essayResponsePage.steps.selectPreviewTabToolbarOption('Underline (Ctrl+U)');
35
+ essayResponsePage.steps.enterInputInResponseField('This is a test for grading view preview contents');
36
+ studentViewPage.steps.submitResponse();
37
+ studentViewPage.steps.clickOnGoToGradingViewButton();
38
+ });
39
+ });
40
+
41
+ it('Question instructions should be visible', () => {
42
+ utilities.verifyInnerText(essayResponsePage.questionInstructionsText(), 'Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.');
43
+ utilities.verifyElementVisibilityState(essayResponsePage.questionInstructionsText(), 'visible');
44
+ });
45
+
46
+ it('The response submitted by the student should be visible in the response field of the grading view. The formatting toolbar options should not be visible in grading view', () => {
47
+ essayResponsePage.responseField()
48
+ .verifyInnerHTML('<p><u><em><strong>This is a test for grading view preview contents</strong></em></u></p>');
49
+ utilities.verifyElementVisibilityState(essayResponsePage.previewTabToolbarWrapper(), 'hidden');
50
+ });
51
+
52
+ it('The content in the response field should not be editable', () => {
53
+ essayResponsePage.steps.verifyGradingViewResponseFieldIsNonEditable();
54
+ });
55
+
56
+ it('Empty score input field and total score should be displayed', () => {
57
+ gradingViewPage.steps.verifyGradingViewScore('', 10);
58
+ });
59
+
60
+ it('CSS of content in the response field', { tags: 'css' }, () => {
61
+ utilities.verifyCSS(essayResponsePage.responseField(), {
62
+ 'color': css.color.text,
63
+ 'font-size': css.fontSize.default,
64
+ 'font-weight': css.fontWeight.normal
65
+ });
66
+ });
67
+
68
+ it('Accessibility of content in the response field', { tags: 'a11y' }, () => {
69
+ cy.checkAccessibility(essayResponsePage.responseField());
70
+ });
71
+ });
72
+ }
73
+
74
+ if (views.includes('Correct answer view')) {
75
+ describe('Correct answer view contents', { tags: 'smoke' }, () => {
76
+ abortEarlySetup();
77
+ before(() => {
78
+ cy.log('Navigating to Essay response question type');
79
+ essayResponsePage.steps.navigateToCreateQuestion('essay response - rich text');
80
+ cy.barsPreLoaderWait();
81
+ essayResponsePage.steps.addQuestionInstructions();
82
+ essayResponsePage.steps.allotPoints(10);
83
+ essayResponsePage.steps.clickOnSaveQuestionButton();
84
+ utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
85
+ //Global variable issue, not working inside before
86
+ itemPreviewPage.referenceID()
87
+ .invoke('text')
88
+ .then(($refID) => {
89
+ itemReferenceID = $refID
90
+ cy.visit(`/item-engine/demo/render-item/correct-answer-view/${utilities.base64Encoding(itemReferenceID)}`);
91
+ });
92
+ });
93
+
94
+ it('Question instructions should be visible', () => {
95
+ utilities.verifyTextContent(correctAnswerViewPage.correctAnswerViewQuestionInstructions(), 'Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.');
96
+ utilities.verifyElementVisibilityState(correctAnswerViewPage.correctAnswerViewQuestionInstructions(), 'visible');
97
+ });
98
+
99
+ it('\'This is a manual scored question\' help text should be displayed in the correct answer view', () => {
100
+ utilities.verifyTextContent(correctAnswerViewPage.manualScoredQuestionHelpText(), 'This is a manual scored question.');
101
+ utilities.verifyElementVisibilityState(correctAnswerViewPage.manualScoredQuestionHelpText(), 'visible');
102
+ });
103
+
104
+ it('The points alloted to the question should be displayed', () => {
105
+ correctAnswerViewPage.steps.verifyAvailablePoints(10);
106
+ });
107
+
108
+ //Need to add CSS and A11y here once updated designs are available for correct answer
109
+ });
110
+ }
111
+ });
@@ -2,16 +2,19 @@ import { essayResponsePage, itemPreviewPage } from "../../../pages";
2
2
  import abortEarlySetup from "../../../support/helpers/abortEarly";
3
3
  import utilities from "../../../support/helpers/utilities";
4
4
  const css = Cypress.env('css');
5
- const views = ['Question preview', 'Item view', 'Item preview', 'Student view'];
5
+ const views = Cypress.env('views');
6
+ let previewContentViews = ['Question preview', 'Item preview', 'Student view'];
7
+ previewContentViews = previewContentViews.filter(view => views.includes(view));
6
8
  var itemReferenceID = "";
7
9
 
10
+ //Failing due to https://redmine.zeuslearning.com/issues/553382
8
11
  describe('Create item page - Essay response: Preview contents', () => {
9
12
  before(() => {
10
13
  cy.loginAs('admin');
11
14
  });
12
15
 
13
- views.forEach((view) => {
14
- describe(`Preview tab contents - ${view}`, () => {
16
+ previewContentViews.forEach((view) => {
17
+ describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
15
18
  abortEarlySetup();
16
19
  before(() => {
17
20
  switch (view) {
@@ -233,7 +233,7 @@ describe('Fill In the Gaps Additional settings and Responses accordion', () => {
233
233
  .should('not.exist');
234
234
  fillInTheGapsDragAndDropPage.incorrectIcon()
235
235
  .should('not.exist');
236
- fillInTheGapsDragAndDropPage.correctIncorectAnswerLabel()
236
+ fillInTheGapsDragAndDropPage.correctIncorrectAnswerLabel()
237
237
  .should('not.exist');
238
238
  fillInTheGapsDragAndDropPage.previewTabCorrectAnswerContainer()
239
239
  .should('not.exist')
@@ -83,7 +83,7 @@ describe('Create Item page - Fill in the gaps - drag and drop: Question Instruct
83
83
  .should('have.text', 'Lorem ipsum dolor sit amet, 1Responseclose onsectetur adipiscing elit. Ut pellentesque tincidunt ornare. Integer porttitor est quis urna porttitor,eget 2Responseclose tempus tellus dapibus. Lorem Ipsum')
84
84
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
85
85
  fillInTheGapsDragAndDropPage.previewTabQuestionField()
86
- .verifyInnerText('Lorem ipsum dolor sit amet, \n onsectetur adipiscing elit. Ut pellentesque tincidunt ornare. Integer porttitor est quis urna porttitor,eget \n tempus tellus dapibus. Lorem Ipsum');
86
+ .verifyInnerText('Lorem ipsum dolor sit amet, 1Response\nclose\n onsectetur adipiscing elit. Ut pellentesque tincidunt ornare. Integer porttitor est quis urna porttitor,eget 2Response\nclose\n tempus tellus dapibus. Lorem Ipsum');
87
87
  });
88
88
 
89
89
  it('When the user focuses in the question input field, the CKEditor toolbar should be displayed with a \'+Response\' button and when the user clicks on \'+Response\' button, a response token in the question input field, a response field along with \'Response #\' label in the \'Set correct answer\' section, a \'Response #\' accordion in the additional settings accordion and a new response field the \'Preview tab\' should get added', () => {
@@ -0,0 +1,81 @@
1
+ import { fillInTheGapsDragAndDropPage } from "../../../pages";
2
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+ const css = Cypress.env('css');
4
+ const responseForGroup2 = ['Response 3', 'Response 4'];
5
+ const grepTags = Cypress.env('grepTags');
6
+
7
+ describe('Create Item Page: Fill in the gaps - drag and drop: Grouped response layout - Edit tab', () => {
8
+ before(() => {
9
+ cy.loginAs('admin');
10
+ });
11
+
12
+ if (!grepTags || !grepTags.includes('smoke')) {
13
+ describe('\'Grouped\' response options layout - Edit tab section contents', () => {
14
+ abortEarlySetup();
15
+ before(() => {
16
+ cy.log('Navigate to fill in the gaps - drag and drop question type');
17
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
18
+ cy.barsPreLoaderWait();
19
+ });
20
+
21
+ fillInTheGapsDragAndDropPage.tests.verifyGroupedOptionsContentAndFunctionality();
22
+ });
23
+ }
24
+
25
+ if (!grepTags || !grepTags.includes('smoke')) {
26
+ describe('\'Grouped\' response options layout - Set correct answer section contents', () => {
27
+ abortEarlySetup();
28
+ before(() => {
29
+ cy.log('Navigate to fill in the gaps - drag and drop question type');
30
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
31
+ cy.barsPreLoaderWait();
32
+ fillInTheGapsDragAndDropPage.steps.selectResponseOptionsLayout('Grouped');
33
+ });
34
+
35
+ fillInTheGapsDragAndDropPage.tests.verifyGroupedResponseDraggableOptionsInSetCorrectAnswerSection();
36
+
37
+ it('When the user deletes a group, then the deleted group should get removed from the response options container as well as from the response areas (if any) of the \'Set Correct Answer\' section', () => {
38
+ cy.log('Pre step: Entering text into the text fields of group 2 response container')
39
+ fillInTheGapsDragAndDropPage.groupResponseContainer()
40
+ .eq(1)
41
+ .within(() => {
42
+ fillInTheGapsDragAndDropPage.steps.addInputToOptionsForDragAndDropFields(responseForGroup2);
43
+ });
44
+ fillInTheGapsDragAndDropPage.steps.addGroupTitle(1, 'Group title B');
45
+ cy.log('Setting a correct answer option')
46
+ fillInTheGapsDragAndDropPage.steps.setCorrectAnswerSectionClickAndDropDraggableOptionInResponseArea('Response 2', 0);
47
+ cy.log('Deleting the 1st group')
48
+ fillInTheGapsDragAndDropPage.deleteGroupButton()
49
+ .eq(0)
50
+ .click();
51
+ fillInTheGapsDragAndDropPage.setCorrectAnswerSectionGroupedResponseContainer()
52
+ .should('have.length', 1);
53
+ fillInTheGapsDragAndDropPage.setCorrectAnswerSectionGroupedResponseContainer()
54
+ .eq(1)
55
+ .should('not.exist');
56
+ fillInTheGapsDragAndDropPage.steps.verifyErroredStateOfResponseAreaInSetCorrectAnswerSection(0);
57
+ cy.log('verifying the contents of group 2 after deleting group 1')
58
+ fillInTheGapsDragAndDropPage.draggableOption()
59
+ .each(($element, count) => {
60
+ cy.wrap($element)
61
+ .should('have.text', `Response ${count + 3}`);
62
+ });
63
+ fillInTheGapsDragAndDropPage.setCorrectAnswerSectionGroupedResponseTitle()
64
+ .should('have.text', 'Group title B');
65
+ });
66
+ });
67
+ }
68
+
69
+ describe('\'Grouped\' response options layout - Preview tab contents', { tags: 'smoke' }, () => {
70
+ abortEarlySetup();
71
+ before(() => {
72
+ cy.log('Navigate to fill in the gaps - drag and drop question type');
73
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
74
+ cy.barsPreLoaderWait();
75
+ fillInTheGapsDragAndDropPage.steps.selectResponseOptionsLayout('Grouped');
76
+ fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
77
+ });
78
+
79
+ fillInTheGapsDragAndDropPage.tests.verifyGroupedResponseDraggableOptionsInPreviewTab();
80
+ });
81
+ })
@@ -1,36 +1,39 @@
1
1
  import { fillInTheGapsDragAndDropPage, fillInTheGapsScoring } from "../../../pages";
2
2
  import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+ const grepTags = Cypress.env('grepTags');
3
4
 
4
5
  describe('Create Item page - Fill in the Gaps - Drag and Drop - Grouped options layout: All or nothing scoring', () => {
5
6
  before(() => {
6
7
  cy.loginAs('admin');
7
8
  });
8
9
 
9
- describe('Show correct answer', () => {
10
- abortEarlySetup();
11
- before(() => {
12
- cy.log('Navigate to fill in the gaps - drag and drop question type and fill the option input fields in grouped options layout');
13
- fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
14
- cy.barsPreLoaderWait();
15
- fillInTheGapsDragAndDropPage.steps.selectResponseOptionsLayout('Grouped');
16
- fillInTheGapsDragAndDropPage.steps.addGroupTitle(0, 'Group title A');
17
- fillInTheGapsDragAndDropPage.steps.addInputToOptionsForDragAndDropFields(['Correct answer for response 1', 'Incorrect answer 1']);
18
- fillInTheGapsDragAndDropPage.addGroupButton()
19
- .click();
20
- fillInTheGapsDragAndDropPage.steps.addGroupTitle(1, 'Group title B');
21
- fillInTheGapsDragAndDropPage.groupResponseContainer()
22
- .eq(1)
23
- .within(() => {
24
- fillInTheGapsDragAndDropPage.steps.addInputToOptionsForDragAndDropFields(['Correct answer for response 2', 'Incorrect answer 2']);
25
- });
26
- });
10
+ if (!grepTags || !grepTags.includes('smoke')) {
11
+ describe('Show correct answer', () => {
12
+ abortEarlySetup();
13
+ before(() => {
14
+ cy.log('Navigate to fill in the gaps - drag and drop question type and fill the option input fields in grouped options layout');
15
+ fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
16
+ cy.barsPreLoaderWait();
17
+ fillInTheGapsDragAndDropPage.steps.selectResponseOptionsLayout('Grouped');
18
+ fillInTheGapsDragAndDropPage.steps.addGroupTitle(0, 'Group title A');
19
+ fillInTheGapsDragAndDropPage.steps.addInputToOptionsForDragAndDropFields(['Correct answer for response 1', 'Incorrect answer 1']);
20
+ fillInTheGapsDragAndDropPage.addGroupButton()
21
+ .click();
22
+ fillInTheGapsDragAndDropPage.steps.addGroupTitle(1, 'Group title B');
23
+ fillInTheGapsDragAndDropPage.groupResponseContainer()
24
+ .eq(1)
25
+ .within(() => {
26
+ fillInTheGapsDragAndDropPage.steps.addInputToOptionsForDragAndDropFields(['Correct answer for response 2', 'Incorrect answer 2']);
27
+ });
28
+ });
27
29
 
28
- fillInTheGapsDragAndDropPage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet();
30
+ fillInTheGapsDragAndDropPage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet();
29
31
 
30
- fillInTheGapsScoring.tests.verifyShowCorrectAnswerBasicFunctionality('fill in the gaps - drag and drop');
31
- });
32
+ fillInTheGapsScoring.tests.verifyShowCorrectAnswerBasicFunctionality('fill in the gaps - drag and drop');
33
+ });
34
+ }
32
35
 
33
- describe('Question Preview: AutoScored - All or Nothing: Grouped options layout', () => {
36
+ describe('Question Preview: AutoScored - All or Nothing: Grouped options layout', { tags: 'smoke' }, () => {
34
37
  abortEarlySetup();
35
38
  before(() => {
36
39
  cy.log('Navigate to fill in the gaps - drag and drop question type, fill the necessary details and points and switch to preview tab');
@@ -116,14 +116,10 @@ describe('Create Item page - Fill in the Gaps - Drag and Drop - Grouped options
116
116
  cy.log('Both the identical options should be visible in the draggable response options section and when user clicks on \'Show correct answer\' checkbox only one of the identical options should be displayed in the correct answer container as the correct answer');
117
117
  fillInTheGapsDragAndDropPage.steps.verifyGroupedResponseContainerContentsInPreviewTab(0, ['Identical correct answer for response 1', 'Incorrect answer']);
118
118
  fillInTheGapsDragAndDropPage.steps.verifyGroupedResponseContainerContentsInPreviewTab(1, ['Identical correct answer for response 1', 'Correct answer for response 2']);
119
- previewScoringAndShowCorrectAnswerComponent.showCorrectAnswerCheckbox()
120
- .click()
121
- .should('be.checked');
119
+ fillInTheGapsDragAndDropPage.steps.checkShowCorrectAnswerCheckbox();
122
120
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerContainerAndCount(['Identical correct answer for response 1', 'Correct answer for response 2'], ['1', '2']);
123
121
  cy.log('Post-step: Unchecking show correct answer checkbox');
124
- previewScoringAndShowCorrectAnswerComponent.showCorrectAnswerCheckbox()
125
- .click()
126
- .should('not.be.checked');
122
+ fillInTheGapsDragAndDropPage.steps.uncheckShowCorrectAnswerCheckbox();
127
123
  cy.log('When the user gives the correct answer inputs from the correctly mapped group and user selects the show correct answer checkbox, green check-mark icon should be displayed besides both the responses, correct answer container should not be displayed and user should be awarded with full points');
128
124
  cy.log('Answering the response 1 with the correct identical option from the correctly mapped group i.e. Group A');
129
125
  fillInTheGapsDragAndDropPage.previewTabDraggableOption()
@@ -134,9 +130,7 @@ describe('Create Item page - Fill in the Gaps - Drag and Drop - Grouped options
134
130
  .click();
135
131
  cy.log('Answering the response 2 with the correct option');
136
132
  fillInTheGapsDragAndDropPage.steps.previewTabClickAndDropDraggableOptionInResponseArea('Correct answer for response 2', 1);
137
- previewScoringAndShowCorrectAnswerComponent.showCorrectAnswerCheckbox()
138
- .click()
139
- .should('be.checked');
133
+ fillInTheGapsDragAndDropPage.steps.checkShowCorrectAnswerCheckbox();
140
134
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionCheckmarkIcon(0);
141
135
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionCheckmarkIcon(1);
142
136
  fillInTheGapsDragAndDropPage.previewTabCorrectAnswerContainer()
@@ -144,9 +138,7 @@ describe('Create Item page - Fill in the Gaps - Drag and Drop - Grouped options
144
138
  previewScoringAndShowCorrectAnswerComponent.previewScoreText()
145
139
  .verifyInnerText('20/20');
146
140
  cy.log('Post-step: Unchecking show correct answer checkbox');
147
- previewScoringAndShowCorrectAnswerComponent.showCorrectAnswerCheckbox()
148
- .click()
149
- .should('not.be.checked');
141
+ fillInTheGapsDragAndDropPage.steps.uncheckShowCorrectAnswerCheckbox();
150
142
  cy.log('When user clicks on \'Check answer\' button, then green check-mark icon should be displayed besides responses and correct answer container should not be displayed');
151
143
  fillInTheGapsDragAndDropPage.checkAnswerButton()
152
144
  .click();
@@ -162,18 +154,14 @@ describe('Create Item page - Fill in the Gaps - Drag and Drop - Grouped options
162
154
  fillInTheGapsDragAndDropPage.previewTabResponseArea()
163
155
  .eq(0)
164
156
  .click();
165
- previewScoringAndShowCorrectAnswerComponent.showCorrectAnswerCheckbox()
166
- .click()
167
- .should('be.checked');
157
+ fillInTheGapsDragAndDropPage.steps.checkShowCorrectAnswerCheckbox();
168
158
  fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionCrossmarkIcon(0);
169
159
  fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionCheckmarkIcon(1);
170
160
  fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerContainerAndCount(['Identical correct answer for response 1'], ['1']);
171
161
  previewScoringAndShowCorrectAnswerComponent.previewScoreText()
172
162
  .verifyInnerText('0/20');
173
163
  cy.log('Post-step: Unchecking show correct answer checkbox');
174
- previewScoringAndShowCorrectAnswerComponent.showCorrectAnswerCheckbox()
175
- .click()
176
- .should('not.be.checked');
164
+ fillInTheGapsDragAndDropPage.steps.uncheckShowCorrectAnswerCheckbox();
177
165
  cy.log('When user clicks on \'Check answer\' button, then green check-mark icon should be displayed besides correct response, red cross-mark should be displayed besides the identical response input, and correct answer container should not be displayed')
178
166
  fillInTheGapsDragAndDropPage.checkAnswerButton()
179
167
  .click();
@@ -31,8 +31,6 @@ describe('Create Item page - Fill in the Gaps: Drag and Drop - Grouped options l
31
31
  fillInTheGapsDragAndDropPage.steps.expandAdditonalSettings();
32
32
  fillInTheGapsDragAndDropPage.allowStudentsToCheckAnswerCheckbox()
33
33
  .click();
34
- fillInTheGapsDragAndDropPage.rounddownScoreCheckbox()
35
- .click();
36
34
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
37
35
  });
38
36
 
@@ -40,8 +40,6 @@ describe('Create Item page - Fill in the Gaps: Drag and Drop - Grouped options l
40
40
  fillInTheGapsDragAndDropPage.steps.expandAdditonalSettings();
41
41
  fillInTheGapsDragAndDropPage.allowStudentsToCheckAnswerCheckbox()
42
42
  .click();
43
- fillInTheGapsDragAndDropPage.rounddownScoreCheckbox()
44
- .click();
45
43
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
46
44
  });
47
45
 
@@ -84,8 +82,6 @@ describe('Create Item page - Fill in the Gaps: Drag and Drop - Grouped options l
84
82
  .click();
85
83
  fillInTheGapsDragAndDropPage.matchFromAllResponsesCheckbox()
86
84
  .click();
87
- fillInTheGapsDragAndDropPage.rounddownScoreCheckbox()
88
- .click();
89
85
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
90
86
 
91
87
  });
@@ -31,8 +31,6 @@ describe('Create Item page - Fill in the Gaps: Drag and Drop - Grouped options l
31
31
  fillInTheGapsDragAndDropPage.steps.expandAdditonalSettings();
32
32
  fillInTheGapsDragAndDropPage.allowStudentsToCheckAnswerCheckbox()
33
33
  .click();
34
- fillInTheGapsDragAndDropPage.rounddownScoreCheckbox()
35
- .click();
36
34
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
37
35
  });
38
36
 
@@ -239,6 +239,7 @@ describe('Create Item page - Fill in the gaps - drag and drop: Randomize options
239
239
  });
240
240
  });
241
241
 
242
+ //Failing due to https://redmine.zeuslearning.com/issues/553267
242
243
  describe('Reuse options - Scoring', () => {
243
244
  before(() => {
244
245
  cy.log('Navigate to Fill in the gaps - drag and drop question type');
@@ -247,6 +247,7 @@ describe('Create Item page - Fill in the gaps - drag and drop: Randomize options
247
247
  //https://redmine.zeuslearning.com/issues/531790
248
248
  });
249
249
 
250
+ //Failing due to https://redmine.zeuslearning.com/issues/553267
250
251
  describe('Reuse options - Scoring', () => {
251
252
  abortEarlySetup();
252
253
  before(() => {
@@ -25,8 +25,6 @@ describe('Create Item page - Fill in the Gaps: Drag and Drop - standard options
25
25
  fillInTheGapsDragAndDropPage.steps.expandAdditonalSettings();
26
26
  fillInTheGapsDragAndDropPage.allowStudentsToCheckAnswerCheckbox()
27
27
  .click();
28
- fillInTheGapsDragAndDropPage.rounddownScoreCheckbox()
29
- .click();
30
28
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
31
29
  });
32
30
 
@@ -34,8 +34,6 @@ describe('Create Item page - Fill in the Gaps: Drag and Drop - standard options
34
34
  fillInTheGapsDragAndDropPage.steps.expandAdditonalSettings();
35
35
  fillInTheGapsDragAndDropPage.allowStudentsToCheckAnswerCheckbox()
36
36
  .click();
37
- fillInTheGapsDragAndDropPage.rounddownScoreCheckbox()
38
- .click();
39
37
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
40
38
  });
41
39
 
@@ -72,8 +70,6 @@ describe('Create Item page - Fill in the Gaps: Drag and Drop - standard options
72
70
  .click();
73
71
  fillInTheGapsDragAndDropPage.matchFromAllResponsesCheckbox()
74
72
  .click();
75
- fillInTheGapsDragAndDropPage.rounddownScoreCheckbox()
76
- .click();
77
73
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
78
74
 
79
75
  });
@@ -33,7 +33,7 @@ describe('Fill in the gaps - drag and drop Manually and Non scored scoring types
33
33
  fillInTheGapsDragAndDropPage.steps.verifyDraggableResponsesPreviewTab('fill in the gaps - drag and drop', ['Correct answer for response 1', 'Correct answer for response 2'])
34
34
  });
35
35
 
36
- fillInTheGapsDragAndDropPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
36
+ fillInTheGapsDragAndDropPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
37
37
  });
38
38
 
39
39
  describe('Question Preview: Non Scored - standard options layout', () => {
@@ -25,8 +25,6 @@ describe('Create Item page - Fill in the Gaps: Drag and Drop - Standard options
25
25
  fillInTheGapsDragAndDropPage.steps.expandAdditonalSettings();
26
26
  fillInTheGapsDragAndDropPage.allowStudentsToCheckAnswerCheckbox()
27
27
  .click();
28
- fillInTheGapsDragAndDropPage.rounddownScoreCheckbox()
29
- .click();
30
28
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
31
29
  });
32
30
 
@@ -34,8 +34,6 @@ describe('Create Item page - Fill in the Gaps: Drag and Drop - Standard options
34
34
  fillInTheGapsDragAndDropPage.steps.expandAdditonalSettings();
35
35
  fillInTheGapsDragAndDropPage.allowStudentsToCheckAnswerCheckbox()
36
36
  .click();
37
- fillInTheGapsDragAndDropPage.rounddownScoreCheckbox()
38
- .click();
39
37
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
40
38
  });
41
39
 
@@ -72,8 +70,6 @@ describe('Create Item page - Fill in the Gaps: Drag and Drop - Standard options
72
70
  fillInTheGapsDragAndDropPage.steps.expandAdditonalSettings();
73
71
  fillInTheGapsDragAndDropPage.allowStudentsToCheckAnswerCheckbox()
74
72
  .click();
75
- fillInTheGapsDragAndDropPage.rounddownScoreCheckbox()
76
- .click();
77
73
  fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
78
74
  });
79
75
 
@@ -197,8 +197,8 @@ describe('Fill In the Gaps - Dropdown - Additional settings basic', () => {
197
197
 
198
198
  fillInTheGapsDropdownPage.tests.verifyFontSizeSectionContents();
199
199
 
200
- const fontsizes = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
201
- const font = ['16px', '12px', '14px', '17px', '20px', '24px'];
200
+ const fontsizes = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
201
+ const font = ['12px', '14px', '16px', '18px', '22px', '26px'];
202
202
  fontsizes.forEach((option, count) => {
203
203
  it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview tab contents should be changed to ${option} in the \'Set Correct Answer\' section as well as in the \'Preview\' tab`, () => {
204
204
  fillInTheGapsDropdownPage.fontSizeDropdown()
@@ -297,7 +297,7 @@ describe('Fill In the Gaps - Dropdown - Additional settings basic', () => {
297
297
  .should('not.exist');
298
298
  fillInTheGapsDropdownPage.incorrectIcon()
299
299
  .should('not.exist');
300
- fillInTheGapsDropdownPage.correctIncorectAnswerLabel()
300
+ fillInTheGapsDropdownPage.correctIncorrectAnswerLabel()
301
301
  .should('not.exist');
302
302
  fillInTheGapsDropdownPage.previewTabCorrectAnswerContainer()
303
303
  .should('not.exist')
@@ -1,6 +1,6 @@
1
1
  import { fillInTheGapsDropdownPage, fillInTheGapsScoring } from "../../../pages";
2
2
  import abortEarlySetup from "../../../support/helpers/abortEarly";
3
-
3
+ const grepTags = Cypress.env('grepTags');
4
4
 
5
5
  let optionsForResponse1 = ['Correct answer 1', 'Alternate correct answer 1', 'Incorrect answer 1', 'Incorrect answer 2'];
6
6
  let optionsForResponse2 = ['Correct answer 2', 'Alternate correct answer 2', 'Incorrect answer 1', 'Incorrect answer 2'];
@@ -10,22 +10,24 @@ describe('Create Item page - Fill in the Gaps - dropdown: Auto scored all or not
10
10
  cy.loginAs('admin');
11
11
  });
12
12
 
13
- describe('Show correct answer', () => {
14
- abortEarlySetup();
15
- before(() => {
16
- fillInTheGapsDropdownPage.steps.navigateToCreateQuestion('fill in the gaps with dropdown');
17
- cy.log('Adding a response token')
18
- fillInTheGapsDropdownPage.steps.addResponseTokenInQuestionField();
19
- fillInTheGapsDropdownPage.steps.addInputToResponseOptionFields(0, optionsForResponse1);
20
- fillInTheGapsDropdownPage.steps.addInputToResponseOptionFields(1, optionsForResponse2);
21
- });
13
+ if (!grepTags || !grepTags.includes('smoke')) {
14
+ describe('Show correct answer', () => {
15
+ abortEarlySetup();
16
+ before(() => {
17
+ fillInTheGapsDropdownPage.steps.navigateToCreateQuestion('fill in the gaps with dropdown');
18
+ cy.log('Adding a response token')
19
+ fillInTheGapsDropdownPage.steps.addResponseTokenInQuestionField();
20
+ fillInTheGapsDropdownPage.steps.addInputToResponseOptionFields(0, optionsForResponse1);
21
+ fillInTheGapsDropdownPage.steps.addInputToResponseOptionFields(1, optionsForResponse2);
22
+ });
22
23
 
23
- fillInTheGapsDropdownPage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet();
24
+ fillInTheGapsDropdownPage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet();
24
25
 
25
- fillInTheGapsScoring.tests.verifyShowCorrectAnswerBasicFunctionality('fill in the gaps - dropdown');
26
- });
26
+ fillInTheGapsScoring.tests.verifyShowCorrectAnswerBasicFunctionality('fill in the gaps - dropdown');
27
+ });
28
+ }
27
29
 
28
- describe('Question Preview: AutoScored - All or Nothing', () => {
30
+ describe('Question Preview: AutoScored - All or Nothing', { tags: 'smoke' }, () => {
29
31
  abortEarlySetup();
30
32
  before(() => {
31
33
  cy.log('Navigate to fill in the gaps - dropdown question type, fill the necessary details and points and switch to preview tab');
@@ -40,6 +42,8 @@ describe('Create Item page - Fill in the Gaps - dropdown: Auto scored all or not
40
42
  fillInTheGapsDropdownPage.steps.expandAdditonalSettings();
41
43
  fillInTheGapsDropdownPage.allowStudentsToCheckAnswerCheckbox()
42
44
  .click();
45
+ fillInTheGapsDropdownPage.steps.expandMinimumScoringDropdown();
46
+ fillInTheGapsDropdownPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
43
47
  fillInTheGapsDropdownPage.steps.switchToPreviewTab();
44
48
  });
45
49
 
@@ -31,6 +31,8 @@ describe('Create item page - Fill in the Gaps - dropdown: Auto scored all or not
31
31
  fillInTheGapsDropdownPage.steps.expandAdditonalSettings();
32
32
  fillInTheGapsDropdownPage.allowStudentsToCheckAnswerCheckbox()
33
33
  .click();
34
+ fillInTheGapsDropdownPage.steps.expandMinimumScoringDropdown();
35
+ fillInTheGapsDropdownPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
34
36
  fillInTheGapsDropdownPage.steps.switchToPreviewTab();
35
37
  });
36
38
 
@@ -33,7 +33,7 @@ describe('Fill in the gaps - dropdown Manually and Non scored scoring types', ()
33
33
  .and('be.visible');
34
34
  });
35
35
 
36
- fillInTheGapsDropdownPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab()
36
+ fillInTheGapsDropdownPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored')
37
37
  });
38
38
 
39
39
  describe('Question Preview: Non Scored', () => {
@@ -6,7 +6,7 @@ const css = Cypress.env('css');
6
6
  let optionsForResponse1 = ['Correct answer 1', 'Alternate correct answer 1', 'Incorrect answer 1', 'Incorrect answer 2'];
7
7
  let optionsForResponse2 = ['Correct answer 2', 'Alternate correct answer 2', 'Incorrect answer 1', 'Incorrect answer 2'];
8
8
 
9
- describe('Create Item page - Fill in the gaps - dropdown: Partial different weights scoring with alternate answer', () => {
9
+ describe('Create Item page - Fill in the gaps - dropdown: Partial different weights scoring', () => {
10
10
  before(() => {
11
11
  cy.loginAs('admin');
12
12
  });
@@ -26,11 +26,11 @@ describe('Create Item page - Fill in the gaps - dropdown: Partial different weig
26
26
  .click();
27
27
  fillInTheGapsDropdownPage.steps.addPartialDifferentWeightsPoints([5.4, 4.8]);
28
28
  fillInTheGapsDropdownPage.steps.verifySetCorrectAnswerErrorIconIsNotDisplayed();
29
- fillInTheGapsDropdownPage.rounddownScoreCheckbox()
30
- .click();
31
29
  fillInTheGapsDropdownPage.steps.expandAdditonalSettings();
32
30
  fillInTheGapsDropdownPage.allowStudentsToCheckAnswerCheckbox()
33
31
  .click();
32
+ fillInTheGapsDropdownPage.steps.expandMinimumScoringDropdown();
33
+ fillInTheGapsDropdownPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
34
34
  fillInTheGapsDropdownPage.steps.switchToPreviewTab();
35
35
  });
36
36
 
@@ -51,6 +51,8 @@ describe('Create Item page - Fill in the gaps - dropdown: Partial different weig
51
51
  fillInTheGapsDropdownPage.partialDifferentWeightsCheckbox()
52
52
  .click();
53
53
  fillInTheGapsDropdownPage.steps.addPartialDifferentWeightsPoints([1.36, 2.89]);
54
+ fillInTheGapsDropdownPage.steps.expandRoundingDropdown();
55
+ fillInTheGapsDropdownPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
54
56
  fillInTheGapsDropdownPage.steps.switchToPreviewTab();
55
57
  });
56
58