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,137 @@
1
+ import { fillInTheGapsOverImageTextPage } from "../../../pages";
2
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
+ import utilities from "../../../support/helpers/utilities";
4
+ const css = Cypress.env('css');
5
+ const grepTags = Cypress.env('grepTags');
6
+
7
+ describe('Create item page - Fill in the gaps over image - text: Edit aria-label checkbox', () => {
8
+ before(() => {
9
+ cy.loginAs('admin');
10
+ });
11
+
12
+ if (!grepTags || !grepTags.includes('smoke')) {
13
+ describe('Edit aria-label in edit tab', () => {
14
+ abortEarlySetup();
15
+ before(() => {
16
+ cy.log('Navigate to fill in the gaps over image - text question type');
17
+ fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
18
+ cy.barsPreLoaderWait();
19
+ fillInTheGapsOverImageTextPage.steps.addQuestionInstructions();
20
+ fillInTheGapsOverImageTextPage.steps.uploadFile('highlightImage.jpg');
21
+ fillInTheGapsOverImageTextPage.steps.clickOnImagePopupOkButton();
22
+ });
23
+
24
+ it('When the user uploads an image in image section, then \'Edit aria-labels for response containers\' checkbox and label should be displayed in the image properties in disabled state', () => {
25
+ fillInTheGapsOverImageTextPage.steps.verifyDisabledStateOfEditAriaLabelsForResponseContainersCheckbox();
26
+ });
27
+
28
+ it('When the user adds a response container in the image, then \'Edit aria-labels for response containers\' checkbox should be enabled and by default it should be unchecked', () => {
29
+ fillInTheGapsOverImageTextPage.steps.addResponseContainer();
30
+ fillInTheGapsOverImageTextPage.steps.verifyDefaultEnabledStateOfEditAriaLabelsForResponseContainersCheckbox();
31
+ });
32
+
33
+ it('CSS of \'Edit aria-labels for response containers\' label', { tags: 'css' }, () => {
34
+ utilities.verifyCSS(fillInTheGapsOverImageTextPage.editAriaLabelForResponseContainersLabel(), {
35
+ 'color': css.color.labelText,
36
+ 'font-size': css.fontSize.normal,
37
+ 'font-weight': css.fontWeight.regular
38
+ });
39
+ });
40
+
41
+ it('Accessibility of \'Edit aria-labels for response containers\' checkbox', { tags: 'a11y' }, () => {
42
+ cy.checkAccessibility(fillInTheGapsOverImageTextPage.editAriaLabelForResponseContainersCheckbox());
43
+ });
44
+
45
+ it('When the user checks the \'Edit aria-labels for response containers\' checkbox, then a label \'ARIA labels\' and an input field with numeration and placeholder text \'Enter label\' should be displayed', () => {
46
+ fillInTheGapsOverImageTextPage.steps.checkEditAriaLabelCheckbox();
47
+ utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.ariaLabelsLabel(), 'exist');
48
+ utilities.verifyInnerText(fillInTheGapsOverImageTextPage.ariaLabelsLabel(), 'ARIA labels');
49
+ fillInTheGapsOverImageTextPage.steps.verifyEditAriaLabelInputFieldContents(1);
50
+ });
51
+
52
+ //Failing due to https://redmine.zeuslearning.com/issues/547543
53
+ it('CSS of \'ARIA labels\' label and input fields', { tags: 'css' }, () => {
54
+ utilities.verifyCSS(fillInTheGapsOverImageTextPage.ariaLabelsLabel(), {
55
+ 'color': css.color.labels,
56
+ 'font-size': css.fontSize.normal,
57
+ 'font-weight': css.fontWeight.semibold
58
+ });
59
+ utilities.verifyCSS(fillInTheGapsOverImageTextPage.ariaLabelsInputFieldNumeration(), {
60
+ 'color': css.color.labels,
61
+ 'font-size': css.fontSize.default,
62
+ 'font-weight': css.fontWeight.semibold
63
+ });
64
+ utilities.verifyCSS(fillInTheGapsOverImageTextPage.ariaLabelsInputField(), {
65
+ 'color': css.color.text,
66
+ 'font-size': css.fontSize.default,
67
+ 'font-weight': css.fontWeight.regular
68
+ });
69
+ });
70
+
71
+ it('Accessibility of \'ARIA labels\' input fields', { tags: 'a11y' }, () => {
72
+ cy.checkAccessibility(fillInTheGapsOverImageTextPage.ariaLabelsInputField());
73
+ });
74
+
75
+ it('When the user adds another response container to the uploaded image, a input field should be added in the \'Edit aria-labels for response container section\' with the numeration \'2\'', () => {
76
+ fillInTheGapsOverImageTextPage.steps.addResponseContainer();
77
+ fillInTheGapsOverImageTextPage.steps.verifyEditAriaLabelInputFieldContents(2);
78
+ });
79
+
80
+ it('When the user removes a response container from the uploaded image, the edit aria-label response field corresponding to the removed response container should not be displayed and the remaining edit aria-label input field should be displayed with updated numeration', () => {
81
+ fillInTheGapsOverImageTextPage.steps.clickOnResponseContainerCloseButton(0);
82
+ fillInTheGapsOverImageTextPage.steps.verifyEditAriaLabelInputFieldContents(1);
83
+ });
84
+
85
+ //Failing due to - https://redmine.zeuslearning.com/issues/547533
86
+ it('When the user has not given any input to the edit aria-label input field, the aria-label attribute for response container in image section and aria-label attribute for response field in set correct answer section should be \'Add answer for Response #\'', () => {
87
+ fillInTheGapsOverImageTextPage.steps.verifyResponseContainerAriaLabelAttribute(0, 'Add answer for Response 1');
88
+ fillInTheGapsOverImageTextPage.steps.verifyResponseFieldAriaLabelAttributeInSetCorrectAnswerSection(0, 'Add answer for Response 1');
89
+ });
90
+
91
+ it('When the user enters text in the edit aria-label input field, the added text should appear as the aria-label attribute of the response container in the uploaded image and response field in the set correct answer section', () => {
92
+ fillInTheGapsOverImageTextPage.steps.enterTextInEditAriaLabelInputField(0, 'Custom aria-label');
93
+ fillInTheGapsOverImageTextPage.steps.verifyResponseContainerAriaLabelAttribute(0, 'Custom aria-label');
94
+ fillInTheGapsOverImageTextPage.steps.verifyResponseFieldAriaLabelAttributeInSetCorrectAnswerSection(0, 'Custom aria-label');
95
+ });
96
+
97
+ it('When the user clears the text in the edit aria-label input field, the aria-label attribute of the response container in the uploaded image and aria-label attribute of the response field in the set correct answer section should again appear as \'Add answer for Response #\'', () => {
98
+ fillInTheGapsOverImageTextPage.steps.clearEditAriaLabelInputField(0);
99
+ fillInTheGapsOverImageTextPage.steps.verifyResponseContainerAriaLabelAttribute(0, 'Add answer for Response 1');
100
+ fillInTheGapsOverImageTextPage.steps.verifyResponseFieldAriaLabelAttributeInSetCorrectAnswerSection(0, 'Add answer for Response 1');
101
+ });
102
+ });
103
+ }
104
+
105
+ describe('Edit aria-label in preview tab', { tags: 'smoke' }, () => {
106
+ abortEarlySetup();
107
+ before(() => {
108
+ cy.log('Navigate to fill in the gaps over image - text question type');
109
+ fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
110
+ cy.barsPreLoaderWait();
111
+ fillInTheGapsOverImageTextPage.steps.addQuestionInstructions();
112
+ fillInTheGapsOverImageTextPage.steps.uploadFile('highlightImage.jpg');
113
+ fillInTheGapsOverImageTextPage.steps.clickOnImagePopupOkButton();
114
+ fillInTheGapsOverImageTextPage.steps.addResponseContainer();
115
+ fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
116
+ });
117
+
118
+ it('When the user has not given any input to the edit aria-label input field, the aria-label attribute for response field in preview tab should be \'Add answer for Response #\'', () => {
119
+ fillInTheGapsOverImageTextPage.steps.verifyResponseFieldAriaLabelAttributeInPreviewTab(0, 'Add answer for Response 1');
120
+ });
121
+
122
+ it('When the user enters text in the edit aria-label input field, the added text should appear as the aria-label attribute of the response field in preview tab', () => {
123
+ fillInTheGapsOverImageTextPage.steps.switchToEditTab();
124
+ fillInTheGapsOverImageTextPage.steps.checkEditAriaLabelCheckbox();
125
+ fillInTheGapsOverImageTextPage.steps.enterTextInEditAriaLabelInputField(0, 'Custom aria-label');
126
+ fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
127
+ fillInTheGapsOverImageTextPage.steps.verifyResponseFieldAriaLabelAttributeInPreviewTab(0, 'Custom aria-label');
128
+ });
129
+
130
+ it('When the user clears the text in the edit aria-label input field, the aria-label attribute of the response field in preview tab should again appear as \'Add answer for Response #\'', () => {
131
+ fillInTheGapsOverImageTextPage.steps.switchToEditTab();
132
+ fillInTheGapsOverImageTextPage.steps.clearEditAriaLabelInputField(0);
133
+ fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
134
+ fillInTheGapsOverImageTextPage.steps.verifyResponseFieldAriaLabelAttributeInPreviewTab(0, 'Add answer for Response 1');
135
+ });
136
+ });
137
+ });
@@ -0,0 +1,146 @@
1
+ import { fillInTheGapsOverImageTextPage } from "../../../pages";
2
+ import { uploadImageSectionComponent } from "../../../pages/components";
3
+ import abortEarlySetup from "../../../support/helpers/abortEarly";
4
+ import utilities from "../../../support/helpers/utilities";
5
+ import constants from "../../../fixtures/constants";
6
+ const css = Cypress.env('css');
7
+ const grepTags = Cypress.env('grepTags');
8
+
9
+ describe('Create Item page - Fill in the gaps over image - text: Question instructions, image section, upload image popup and source URL popup', () => {
10
+ before(() => {
11
+ cy.loginAs('admin');
12
+ });
13
+
14
+ if (!grepTags || !grepTags.includes('smoke')) {
15
+ describe('Question Instructions input field - Edit tab', () => {
16
+ abortEarlySetup();
17
+ before(() => {
18
+ cy.log('Navigating to fill in the gaps over image - text question type');
19
+ fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
20
+ cy.barsPreLoaderWait();
21
+ });
22
+
23
+ fillInTheGapsOverImageTextPage.tests.verifyQuestionInstructionsInputFieldEditTab();
24
+ });
25
+ }
26
+
27
+ if (!grepTags || !grepTags.includes('smoke')) {
28
+ describe('Question Instructions input field - Preview tab', () => {
29
+ abortEarlySetup();
30
+ before(() => {
31
+ cy.log('Navigating to fill in the gaps over image - text question type');
32
+ fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
33
+ cy.barsPreLoaderWait();
34
+ });
35
+
36
+ fillInTheGapsOverImageTextPage.tests.verifyQuestionInstructionsInputFieldPreviewTab();
37
+ });
38
+ }
39
+
40
+ if (!grepTags || !grepTags.includes('smoke')) {
41
+ describe('Image section contents', () => {
42
+ abortEarlySetup();
43
+ before(() => {
44
+ cy.log('Navigating to fill in the gaps over image - text question type');
45
+ fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
46
+ cy.barsPreLoaderWait();
47
+ });
48
+
49
+ it('\'Image\' title should be displayed', () => {
50
+ utilities.verifyInnerText(fillInTheGapsOverImageTextPage.imageSectionImageLabel(), 'Image');
51
+ utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.imageSectionImageLabel(), 'visible');
52
+ });
53
+
54
+ uploadImageSectionComponent.tests.uploadImageEditTabContents();
55
+ });
56
+ }
57
+
58
+ if (!grepTags || !grepTags.includes('smoke')) {
59
+ describe('Upload image - device popup contents', () => {
60
+ abortEarlySetup();
61
+ before(() => {
62
+ cy.log('Navigating to fill in the gaps over image - text question type');
63
+ fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
64
+ cy.barsPreLoaderWait();
65
+ });
66
+
67
+ uploadImageSectionComponent.tests.verifyUploadImagePopupImageTitle();
68
+
69
+ uploadImageSectionComponent.tests.uploadImagePopupContents(500, 500);
70
+
71
+ uploadImageSectionComponent.tests.verifyButtonReplaceInImagePopup();
72
+ });
73
+ }
74
+
75
+ describe('Upload image popup contents functionality', { tags: 'smoke' }, () => {
76
+ abortEarlySetup();
77
+ before(() => {
78
+ cy.log('Navigating to fill in the gaps over image - text question type');
79
+ fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
80
+ cy.barsPreLoaderWait();
81
+ uploadImageSectionComponent.steps.uploadFile('highlightImage.jpg');
82
+ });
83
+
84
+ //Failing due to - https://redmine.zeuslearning.com/issues/547305
85
+ uploadImageSectionComponent.tests.uploadImageHeightWidthAspectRatioAndResetDimensionsFunctionality(500, 500);
86
+
87
+ uploadImageSectionComponent.tests.uploadImageReplaceButtonFunctionality();
88
+
89
+ it('When user selects the \'Cancel\' button the image should not be uploaded', () => {
90
+ uploadImageSectionComponent.steps.clickOnImagePopupCancelButton();
91
+ utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.imageSectionImage(), 'notExist');
92
+ });
93
+
94
+ it('When user uploads an image and selects \'Ok\' button the image should be displayed in the image section', () => {
95
+ uploadImageSectionComponent.steps.uploadFile('highlightImage.jpg');
96
+ uploadImageSectionComponent.steps.verifyUploadedImageInImagePopup();
97
+ uploadImageSectionComponent.steps.clickOnImagePopupOkButton();
98
+ utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.imageSectionImage(), 'visible');
99
+ });
100
+ });
101
+
102
+ if (!grepTags || !grepTags.includes('smoke')) {
103
+ describe('Upload image - source URL popup contents', () => {
104
+ abortEarlySetup();
105
+ before(() => {
106
+ cy.log('Navigating to fill in the gaps over image - text question type');
107
+ fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
108
+ cy.barsPreLoaderWait();
109
+ });
110
+
111
+ uploadImageSectionComponent.tests.verifyUploadImageSourceURLTitle();
112
+
113
+ uploadImageSectionComponent.tests.verifyUploadImageSourceURLDefaultLabelAndInputField();
114
+
115
+ uploadImageSectionComponent.tests.uploadImagePopupContents(650, 684);
116
+ });
117
+ }
118
+
119
+ if (!grepTags || !grepTags.includes('smoke')) {
120
+ describe('Upload image \'Source URL\' popup contents functionality', () => {
121
+ abortEarlySetup();
122
+ before(() => {
123
+ cy.log('Navigating to fill in the gaps over image - text question type');
124
+ fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image - text');
125
+ cy.barsPreLoaderWait();
126
+ uploadImageSectionComponent.steps.clickOnSourceURL();
127
+ uploadImageSectionComponent.steps.uploadImageUsingSourceURL(constants.flowerImage);
128
+ });
129
+
130
+ uploadImageSectionComponent.tests.uploadImageHeightWidthAspectRatioAndResetDimensionsFunctionality(650, 684);
131
+
132
+ it('When user selects the \'Cancel\' button the image should not be uploaded', () => {
133
+ uploadImageSectionComponent.steps.clickOnImagePopupCancelButton();
134
+ utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.imageSectionImage(), 'notExist');
135
+ });
136
+
137
+ it('When user uploads an image and selects \'Ok\' button the image should be displayed in the image section', () => {
138
+ uploadImageSectionComponent.steps.clickOnSourceURL();
139
+ uploadImageSectionComponent.steps.uploadImageUsingSourceURL(constants.flowerImage);
140
+ uploadImageSectionComponent.steps.verifyUploadedImageInImagePopup();
141
+ uploadImageSectionComponent.steps.clickOnImagePopupOkButton();
142
+ utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.imageSectionImage(), 'visible');
143
+ });
144
+ });
145
+ }
146
+ });
@@ -32,7 +32,7 @@ describe('Create item page - Fill in the gaps over image - text: Manually and No
32
32
  utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.responseFieldPreviewTab(), 'visible');
33
33
  });
34
34
 
35
- fillInTheGapsOverImageTextPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
35
+ fillInTheGapsOverImageTextPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
36
36
  });
37
37
 
38
38
  describe('Question Preview: Non scored', () => {
@@ -22,7 +22,6 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
22
22
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(0, correctTabAnswerArray[0]);
23
23
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(1, correctTabAnswerArray[1]);
24
24
  fillInTheGapsOverImageTextPage.steps.selectPartialDifferentWeightsCheckbox();
25
- fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
26
25
  fillInTheGapsOverImageTextPage.steps.addPartialDifferentWeightsPoints([13.2, 6.8]);
27
26
  fillInTheGapsOverImageTextPage.steps.expandAdditonalSettings();
28
27
  fillInTheGapsOverImageTextPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
@@ -171,6 +170,8 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
171
170
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(1, correctTabAnswerArray[1]);
172
171
  fillInTheGapsOverImageTextPage.steps.selectPartialDifferentWeightsCheckbox();
173
172
  fillInTheGapsOverImageTextPage.steps.addPartialDifferentWeightsPoints([10.2, 3.4]);
173
+ fillInTheGapsOverImageTextPage.steps.expandRoundingDropdown();
174
+ fillInTheGapsOverImageTextPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
174
175
  fillInTheGapsOverImageTextPage.steps.expandAdditonalSettings();
175
176
  fillInTheGapsOverImageTextPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
176
177
  fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
@@ -187,7 +188,8 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
187
188
 
188
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', () => {
189
190
  fillInTheGapsOverImageTextPage.steps.switchToEditTab();
190
- fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
191
+ fillInTheGapsOverImageTextPage.steps.expandRoundingDropdown();
192
+ fillInTheGapsOverImageTextPage.steps.selectOptionFromRoundingDropdownOption('none');
191
193
  fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
192
194
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(0, correctTabAnswerArray[0]);
193
195
  fillInTheGapsOverImageTextPage.steps.verifyPreviewTabScoreText(10.2, 13.6);
@@ -24,7 +24,6 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
24
24
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(1, correctTabAnswerArray[1]);
25
25
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(2, correctTabAnswerArray[2]);
26
26
  fillInTheGapsOverImageTextPage.steps.selectPartialDifferentWeightsCheckbox();
27
- fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
28
27
  fillInTheGapsOverImageTextPage.steps.addPartialDifferentWeightsPoints([8, 4, 4]);
29
28
  fillInTheGapsOverImageTextPage.steps.addAlternateTab(1);
30
29
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(0, alternateTabAnswerArray[0]);
@@ -480,7 +479,6 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
480
479
  fillInTheGapsOverImageTextPage.steps.clearResponseFieldSetCorrectAnswerSection(2);
481
480
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(2, 'Fruit');
482
481
  fillInTheGapsOverImageTextPage.steps.addPartialDifferentWeightsPoints([2.2, 2.2, 6.6]);
483
- fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
484
482
  fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
485
483
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(0, alternateTabAnswerArray[0]);
486
484
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(1, alternateTabAnswerArray[1]);
@@ -547,7 +545,6 @@ describe('Create item page - Fill in the gaps over image - text: Partial differe
547
545
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(1, correctTabAnswerArray[1]);
548
546
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(2, correctTabAnswerArray[2]);
549
547
  fillInTheGapsOverImageTextPage.steps.selectPartialDifferentWeightsCheckbox();
550
- fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
551
548
  fillInTheGapsOverImageTextPage.steps.addPartialDifferentWeightsPoints([9, 3, 3]);
552
549
  fillInTheGapsOverImageTextPage.steps.addAlternateTab(1);
553
550
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldSetCorrectAnswerSection(0, alternateTabAnswerArray[0]);
@@ -186,7 +186,8 @@ describe('Create item page - Fill in the gaps over image - text: Partial equal w
186
186
 
187
187
  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', () => {
188
188
  fillInTheGapsOverImageTextPage.steps.switchToEditTab();
189
- fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
189
+ fillInTheGapsOverImageTextPage.steps.expandRoundingDropdown();
190
+ fillInTheGapsOverImageTextPage.steps.selectOptionFromRoundingDropdownOption('none');
190
191
  fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
191
192
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(0, correctTabAnswerArray[0]);
192
193
  fillInTheGapsOverImageTextPage.steps.verifyPreviewTabScoreText(6.25, 12.5);
@@ -188,7 +188,8 @@ describe('Create item page - Fill in the gaps over image - text: Partial equal w
188
188
  fillInTheGapsOverImageTextPage.steps.allotPoints(5);
189
189
  fillInTheGapsOverImageTextPage.steps.switchToCorrectTab();
190
190
  fillInTheGapsOverImageTextPage.steps.allotPoints(23);
191
- fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
191
+ fillInTheGapsOverImageTextPage.steps.expandRoundingDropdown();
192
+ fillInTheGapsOverImageTextPage.steps.selectOptionFromRoundingDropdownOption('none');
192
193
  fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
193
194
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(0, alternateTabAnswerArray[0]);
194
195
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(1, alternateTabAnswerArray[1]);
@@ -426,7 +427,6 @@ describe('Create item page - Fill in the gaps over image - text: Partial equal w
426
427
  fillInTheGapsOverImageTextPage.steps.allotPoints(23);
427
428
  fillInTheGapsOverImageTextPage.steps.switchToCorrectTab();
428
429
  fillInTheGapsOverImageTextPage.steps.allotPoints(5);
429
- fillInTheGapsOverImageTextPage.steps.uncheckRoundDownScoreCheckbox();
430
430
  fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
431
431
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(0, correctTabAnswerArray[0]);
432
432
  fillInTheGapsOverImageTextPage.steps.enterTextInResponseFieldPreviewTab(1, correctTabAnswerArray[1]);
@@ -2,7 +2,9 @@ import { fillInTheGapsOverImageTextPage, itemPreviewPage, studentViewPage } from
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', 'Grading view', 'Correct answer view'];
5
+ const views = Cypress.env('views');
6
+ let previewContentViews = ['Question preview', 'Item view', 'Item preview', 'Student view', 'Grading view', 'Correct answer view'];
7
+ previewContentViews = previewContentViews.filter(view => views.includes(view));
6
8
  var itemReferenceID = "";
7
9
  const correctTabAnswerArray = ['Flower', 'Leaf', 'Stem'];
8
10
 
@@ -14,8 +16,8 @@ describe('Create item page - Fill in the gaps over image - text: Preview content
14
16
  cy.loginAs('admin');
15
17
  });
16
18
 
17
- views.forEach((view) => {
18
- describe(`Preview tab contents - ${view}`, () => {
19
+ previewContentViews.forEach((view) => {
20
+ describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
19
21
  abortEarlySetup();
20
22
  before(() => {
21
23
  switch (view) {
@@ -10,7 +10,7 @@ describe('Create item page - Fill in the gaps over image - text: Preview content
10
10
  cy.loginAs('admin');
11
11
  });
12
12
 
13
- describe('Preview tab contents', () => {
13
+ describe('Preview tab contents', { tags: 'smoke' }, () => {
14
14
  abortEarlySetup();
15
15
  before(() => {
16
16
  cy.log('Navigating to Fill in the gaps over image - text question type');
@@ -2,18 +2,20 @@ import { dialogBoxBase, fillInTheGapsOverImageTextPage, itemPreviewPage, student
2
2
  import abortEarlySetup from "../../../support/helpers/abortEarly";
3
3
  import utilities from "../../../support/helpers/utilities";
4
4
  import { gradingViewPage } from "../../../pages";
5
- const views = ['Question preview', 'Item preview', 'Grading view'];
6
- var itemReferenceID = "";
5
+ const views = Cypress.env('views');
6
+ let correctAnswerViews = ['Question preview', 'Item view', 'Item preview', 'Student view', 'Grading view', 'Correct answer view'];
7
+ correctAnswerViews = correctAnswerViews.filter(view => views.includes(view));
7
8
  const correctTabAnswerArray = ['Flower', 'Leaf', 'Stem'];
8
9
  const incorrectAnswerArray = ['Root', 'Branch', 'Seed'];
10
+ var itemReferenceID = "";
9
11
 
10
12
  describe('Create item page - Fill in the gaps over image - text: Show correct answer', () => {
11
13
  before(() => {
12
14
  cy.loginAs('admin');
13
15
  });
14
16
 
15
- views.forEach((view) => {
16
- describe(`Fill in the gaps over image - text: Show correct answer for all or nothing scoring - ${view}`, () => {
17
+ correctAnswerViews.forEach((view) => {
18
+ describe(`Fill in the gaps over image - text: Show correct answer for all or nothing scoring - ${view}`, { tags: 'smoke' }, () => {
17
19
  abortEarlySetup();
18
20
  before(() => {
19
21
  switch (view) {
@@ -144,24 +144,41 @@ describe('Fill In the Gaps Additional settings: Advanced settings for all respon
144
144
  //Note: a11y covered in Additional settings accordion, verifyAdditonalSettingsAccordionProperties
145
145
 
146
146
  it(`Clicking on Type of answer dropdown should open a list of 2 options - ${typeOfAnswers}`, () => {
147
+ fillInTheGapsTextPage.typeOfAnswerInputDropdown()
148
+ .click();
147
149
  fillInTheGapsTextPage.typeOfAnswerInputDropdownListOptions(0)
148
150
  .should('be.visible');
149
151
  typeOfAnswers.forEach((index, count) => {
150
152
  fillInTheGapsTextPage.typeOfAnswerInputDropdownListOptions(count)
151
153
  .verifyInnerText(index);
152
154
  });
155
+ cy.log('Post step: Closing type of answer input dropdown')
156
+ cy.get('body')
157
+ .click();
153
158
  });
154
159
 
155
160
  it('CSS of Type of answer dropdown in Active state', { tags: 'css' }, () => {
161
+ cy.log('Pre step: Clicking on type of answer input dropdown')
162
+ fillInTheGapsTextPage.typeOfAnswerInputDropdown()
163
+ .click();
156
164
  fillInTheGapsTextPage.typeOfAnswerInputDropdownListOptions(0)
157
165
  .verifyCSS(css.color.liText, css.fontSize.default, css.fontWeight.regular)
158
166
  .should('have.css', 'background-color', css.color.liTextSelectedBg);
159
167
  fillInTheGapsTextPage.typeOfAnswerInputDropdownListOptions(1)
160
168
  .should('have.css', 'background-color', css.color.transparent);
169
+ cy.log('Post step: Closing type of answer input dropdown')
170
+ cy.get('body')
171
+ .click();
161
172
  });
162
173
 
163
174
  it('Accessibility of Type of answer dropdown in active state', { tags: 'a11y' }, () => {
175
+ cy.log('Pre step: Clicking on type of answer input dropdown')
176
+ fillInTheGapsTextPage.typeOfAnswerInputDropdown()
177
+ .click();
164
178
  cy.checkAccessibility(commonComponents.dropdownList());
179
+ cy.log('Post step: Closing type of answer input dropdown')
180
+ cy.get('body')
181
+ .click();
165
182
  });
166
183
 
167
184
  //Type of answer input test cases for set correct answer section response fields
@@ -38,8 +38,8 @@ describe('Fill In the Gaps Additional settings', () => {
38
38
 
39
39
  fillInTheGapsTextPage.tests.verifyFontSizeSectionContents();
40
40
 
41
- const fontsizes = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
42
- const font = ['16px', '12px', '14px', '17px', '20px', '24px'];
41
+ const fontsizes = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
42
+ const font = ['12px', '14px', '16px', '18px', '22px', '26px'];
43
43
  fontsizes.forEach((option, count) => {
44
44
  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`, () => {
45
45
  fillInTheGapsTextPage.fontSizeDropdown()
@@ -143,7 +143,7 @@ describe('Fill In the Gaps Additional settings', () => {
143
143
  .should('not.exist');
144
144
  fillInTheGapsTextPage.incorrectIcon()
145
145
  .should('not.exist');
146
- fillInTheGapsTextPage.correctIncorectAnswerLabel()
146
+ fillInTheGapsTextPage.correctIncorrectAnswerLabel()
147
147
  .should('not.exist');
148
148
  fillInTheGapsTextPage.previewTabCorrectAnswerContainer()
149
149
  .should('not.exist')
@@ -22,6 +22,8 @@ describe('Create Item page - Fill in the Gaps: Scoring Section', () => {
22
22
  fillInTheGapsTextPage.steps.expandAdditonalSettings();
23
23
  fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
24
24
  .click();
25
+ fillInTheGapsTextPage.steps.expandMinimumScoringDropdown();
26
+ fillInTheGapsTextPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
25
27
  fillInTheGapsTextPage.steps.switchToPreviewTab();
26
28
  });
27
29
 
@@ -46,6 +48,8 @@ describe('Create Item page - Fill in the Gaps: Scoring Section', () => {
46
48
  fillInTheGapsTextPage.steps.expandAdditonalSettings();
47
49
  fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
48
50
  .click();
51
+ fillInTheGapsTextPage.steps.expandMinimumScoringDropdown();
52
+ fillInTheGapsTextPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
49
53
  fillInTheGapsTextPage.steps.switchToPreviewTab();
50
54
  });
51
55
 
@@ -1,24 +1,27 @@
1
1
  import { fillInTheGapsScoring, fillInTheGapsTextPage } 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: Scoring Section', () => {
5
6
  before(() => {
6
7
  cy.loginAs('admin');
7
8
  });
8
9
 
9
- describe('Show correct answer', () => {
10
- abortEarlySetup();
11
- before(() => {
12
- fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
13
- });
10
+ if (!grepTags || !grepTags.includes('smoke')) {
11
+ describe('Show correct answer', () => {
12
+ abortEarlySetup();
13
+ before(() => {
14
+ fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
15
+ });
14
16
 
15
- fillInTheGapsTextPage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet();
17
+ fillInTheGapsTextPage.tests.verifyShowCorrectAnswerAndPointsInPreviewTabWhenNoCorrectAnswerIsSet();
16
18
 
17
- fillInTheGapsScoring.tests.verifyShowCorrectAnswerBasicFunctionality('fill in the gaps - text');
18
- });
19
+ fillInTheGapsScoring.tests.verifyShowCorrectAnswerBasicFunctionality('fill in the gaps - text');
20
+ });
21
+ }
19
22
 
20
23
  //Failing due to https://redmine.zeuslearning.com/issues/547142
21
- describe('Question Preview: AutoScored - All or Nothing', () => {
24
+ describe('Question Preview: AutoScored - All or Nothing', { tags: 'smoke' }, () => {
22
25
  abortEarlySetup();
23
26
  before(() => {
24
27
  cy.log('Navigate to Fill in the gaps - text question type, fill the necessary details and points and switch to preview tab');
@@ -29,6 +32,8 @@ describe('Create Item page - Fill in the Gaps: Scoring Section', () => {
29
32
  fillInTheGapsTextPage.steps.expandAdditonalSettings();
30
33
  fillInTheGapsTextPage.allowStudentsToCheckAnswerCheckbox()
31
34
  .click();
35
+ fillInTheGapsTextPage.steps.expandMinimumScoringDropdown();
36
+ fillInTheGapsTextPage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
32
37
  fillInTheGapsTextPage.steps.switchToPreviewTab();
33
38
  });
34
39
 
@@ -9,7 +9,7 @@ describe('Fill In the Gaps \'Case Sensitive\' and \'Ignore spaces before and aft
9
9
  describe('\'Case sensitive\' checkbox is unchecked and \'Ignore spaces before and after\' checkbox is checked', () => {
10
10
  abortEarlySetup();
11
11
  before(() => {
12
- cy.log('Navigating to Fill In the gaps - text question type, removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field and checking the allow students to check answer checkbox');
12
+ cy.log('Navigating to Fill In the gaps - text question type, removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox');
13
13
  fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
14
14
  fillInTheGapsTextPage.steps.deleteAResponseToken('1');
15
15
  fillInTheGapsTextPage.questionInstructionsInputField()
@@ -56,7 +56,7 @@ describe('Fill In the Gaps \'Case Sensitive\' and \'Ignore spaces before and aft
56
56
  describe('\'Case sensitive\' checkbox is checked and \'Ignore spaces before and after\' checkbox is unchecked', () => {
57
57
  abortEarlySetup();
58
58
  before(() => {
59
- cy.log('Navigating to Fill In the gaps - text question type, , removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field and checking the allow students to check answer checkbox');
59
+ cy.log('Navigating to Fill In the gaps - text question type, , removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox');
60
60
  fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
61
61
  fillInTheGapsTextPage.steps.deleteAResponseToken('1');
62
62
  fillInTheGapsTextPage.questionInstructionsInputField()
@@ -101,7 +101,7 @@ describe('Fill In the Gaps \'Case Sensitive\' and \'Ignore spaces before and aft
101
101
  describe('Both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is unchecked', () => {
102
102
  abortEarlySetup();
103
103
  before(() => {
104
- cy.log('Navigating to Fill In the gaps - text question type, , removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field, checking the allow students to check answer checkbox, unchecking the Ignore spaces before and after checkbox and switching to preview tab');
104
+ cy.log('Navigating to Fill In the gaps - text question type, , removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox, unchecking the Ignore spaces before and after checkbox and switching to preview tab');
105
105
  fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
106
106
  fillInTheGapsTextPage.steps.deleteAResponseToken('1');
107
107
  fillInTheGapsTextPage.questionInstructionsInputField()
@@ -138,7 +138,7 @@ describe('Fill In the Gaps \'Case Sensitive\' and \'Ignore spaces before and aft
138
138
  describe('Both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is checked', () => {
139
139
  abortEarlySetup();
140
140
  before(() => {
141
- cy.log('Navigating to Fill In the gaps - text question type, , removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field, checking the allow students to check answer checkbox, checking the Case sensitive checkbox and switching to preview tab');
141
+ cy.log('Navigating to Fill In the gaps - text question type, , removing 2nd gap input field from question, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox, checking the Case sensitive checkbox and switching to preview tab');
142
142
  fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
143
143
  fillInTheGapsTextPage.questionInstructionsInputField()
144
144
  .type('Question Instructions');
@@ -29,7 +29,7 @@ describe('Fill in the gaps - text Manually and Non scored scoring types', () =>
29
29
  .and('be.visible');
30
30
  });
31
31
 
32
- fillInTheGapsTextPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab()
32
+ fillInTheGapsTextPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
33
33
  });
34
34
 
35
35
  describe('Question Preview: Non Scored', () => {