itemengine-cypress-automation 1.0.50 → 1.0.62

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. package/cypress/e2e/ILC/AudioPlayer/audioPlayerEditTab.js +342 -0
  2. package/cypress/e2e/ILC/AudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +218 -0
  3. package/cypress/e2e/ILC/AudioPlayer/audioPlayerEditTabTitleDescriptionAndTranscript.js +187 -0
  4. package/cypress/e2e/ILC/AudioPlayer/audioPlayerHeaderSection.js +73 -0
  5. package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTab.js +302 -0
  6. package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTabPlaybackPlayer.js +245 -0
  7. package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTabSupportedFileTypes.js +78 -0
  8. package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTabTitleDescriptionAndTranscript.js +248 -0
  9. package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
  10. package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
  11. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsBasic.js +222 -0
  12. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsResponseAccordions.js +366 -0
  13. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsStudentResponseAndLayout.js +206 -0
  14. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingWithAlternateAnswer.js +624 -0
  15. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsWithAlternateAnswer.js +865 -0
  16. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsWithAlternateAnswer.js +763 -0
  17. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownSupportedFileTypes.js +86 -0
  18. package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +213 -0
  19. package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +215 -0
  20. package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +215 -0
  21. package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingScoring.js +187 -0
  22. package/cypress/e2e/ILC/Highlight/HighlightScoring/manualAndNonScored.js +162 -0
  23. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsAlternatePointsMoreThanCorrectPoints.js +316 -0
  24. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsCorrectEqualToAlternatePoints.js +385 -0
  25. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsCorrectPointsMoreThanAlternatePoints.js +316 -0
  26. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsScoring.js +245 -0
  27. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +250 -0
  28. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsCorrectPointEqualToAlternatePoints.js +266 -0
  29. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +250 -0
  30. package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsScoring.js +226 -0
  31. package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsBasic.js +221 -0
  32. package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsMaximumNumberOfAnswers.js +137 -0
  33. package/cypress/e2e/ILC/Highlight/highlightBasicScoringForTextSelectionTypes.js +457 -0
  34. package/cypress/e2e/ILC/Highlight/highlightColorLibraryFlyout.js +143 -0
  35. package/cypress/e2e/ILC/Highlight/highlightEditTabScoringSection.js +361 -0
  36. package/cypress/e2e/ILC/Highlight/highlightHeaderSection.js +91 -0
  37. package/cypress/e2e/ILC/Highlight/highlightQuestionInstructionsAndQuestion.js +178 -0
  38. package/cypress/e2e/ILC/Highlight/highlightScoringSectionBasic.js +21 -0
  39. package/cypress/e2e/ILC/Highlight/highlightSetCorrectAnswerSection.js +204 -0
  40. package/cypress/e2e/ILC/Highlight/highlightTextSelectionDropdownAndHighlightOptionsSection.js +175 -0
  41. package/cypress/e2e/ILC/Highlight/highlightTextSelectionTypeInPreviewTab.js +237 -0
  42. package/cypress/e2e/ILC/Highlight/highlightTextSelectionTypeInSetCorrectAnswerSection.js +341 -0
  43. package/cypress/e2e/ILC/Highlight/highlightTextSelectionTypesInHighlightOptionsSection.js +375 -0
  44. package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +28 -0
  45. package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +30 -0
  46. package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsAllOrNothingScoringWithAlternateAnswer.js → Scoring/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js} +5 -7
  47. package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsAllOrNothingScoring.js → Scoring/groupedOptionsAllOrNothingScoring.js} +2 -2
  48. package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsManualAndNonScoredScoring.js → Scoring/groupedOptionsManualAndNonScoredScoring.js} +2 -2
  49. package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsPartialDifferentScorings.js → Scoring/groupedOptionsPartialDifferentWeightsScoring.js} +2 -2
  50. package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsPartialDifferrentWeightsAlternatePointsGreaterThanCorrectPoints.js +30 -0
  51. package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsPartialDifferentScoringWithAlternateTab.js → Scoring/groupedOptionsPartialDifferrentWeightsCorrectPointsEqualToAlternatePoints.js} +6 -6
  52. package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsPartialDifferrentWeightsCorrectPointsGreaterThanAlternatePoints.js +30 -0
  53. package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +30 -0
  54. package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsPartialEqualWeightsScoringWithAlternateTab.js → Scoring/groupedOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js} +6 -6
  55. package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +30 -0
  56. package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsPartialEqualWeightsScoring.js → Scoring/groupedOptionsPartialEqualWeightsScorings.js} +2 -2
  57. package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +28 -0
  58. package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +30 -0
  59. package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsAllOrNothingScoringWithAlternateAnswer.js → Scoring/standardOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js} +5 -7
  60. package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsAllOrNothingScoring.js → Scoring/standardOptionsAllOrNothingScoring.js} +2 -2
  61. package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsManualAndNonScoredScoring.js → Scoring/standardOptionsManualAndNonScoredScoring.js} +2 -2
  62. package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +30 -0
  63. package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsPartialDifferentScoringWithAlternateAnswer.js → Scoring/standardOptionsPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js} +6 -6
  64. package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +30 -0
  65. package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsPartialDIfferentScoring.js → Scoring/standardOptionsPartialDifferentWeightsScoring.js} +2 -2
  66. package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsPartialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +29 -0
  67. package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsPartialEqualScoringWithAlternateAnswer.js → Scoring/standardOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js} +6 -6
  68. package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsPartialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +29 -0
  69. package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsPartialEqualScoring.js → Scoring/standardOptionsPartialEqualWeightsScoring.js} +2 -2
  70. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAdditionalSettingsBasic.js +11 -5
  71. package/cypress/e2e/ILC/MultipleSelectionGrid/{multipleSelectionGridQuestionStemAdditionalSettings.js → multipleSelectionGridAdditionalSettingsQuestionStem.js} +0 -11
  72. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +263 -0
  73. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +263 -0
  74. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +261 -0
  75. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +340 -0
  76. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +310 -0
  77. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +341 -0
  78. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +313 -0
  79. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +285 -0
  80. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +316 -0
  81. package/cypress/e2e/ILC/ReadingRuler/readingRulerEditTabBasicsSection.js +185 -0
  82. package/cypress/e2e/ILC/ReadingRuler/readingRulerHeaderSection.js +55 -0
  83. package/cypress/e2e/ILC/ReadingRuler/readingRulerPreviewTab.js +257 -0
  84. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +173 -0
  85. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +179 -0
  86. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +174 -0
  87. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +247 -0
  88. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +219 -0
  89. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +246 -0
  90. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +225 -0
  91. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +197 -0
  92. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +226 -0
  93. package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettings.js +135 -0
  94. package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettingsBasic.js +88 -0
  95. package/cypress/e2e/ILC/VideoResponse/videoResponseEditTabBasic.js +78 -0
  96. package/cypress/e2e/ILC/VideoResponse/videoResponseHeaderSection.js +74 -0
  97. package/cypress/e2e/ILC/VideoResponse/videoResponsePreviewTab.js +627 -0
  98. package/cypress/e2e/ILC/VideoResponse/videoResponseScoringSection.js +76 -0
  99. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAddResponseContainer.js +230 -0
  100. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettings.js +247 -0
  101. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.js +352 -0
  102. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownConditionalCheckboxes.js +258 -0
  103. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditAriaLabelCheckbox.js +134 -0
  104. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditTabBasicSection.js +132 -0
  105. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditTabScoringSection.js +237 -0
  106. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownHeaderSection.js +113 -0
  107. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownImageProperties.js +156 -0
  108. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownManualAndNonScoredScoring.js +165 -0
  109. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownOptionsForResponse.js +303 -0
  110. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsScoring.js +372 -0
  111. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsScoring.js +371 -0
  112. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPreviewTab.js +77 -0
  113. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownSetCorrectAnswerSection.js +117 -0
  114. package/cypress/pages/dragAndDropIntoCategoriesAllOrNothingScoring.js +1 -1
  115. package/cypress/pages/listMatchingScoring.js +16 -105
  116. package/package.json +1 -1
  117. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingWithAlternateAnswer.js +0 -731
  118. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsWithAlternateAnswer.js +0 -942
  119. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsWithAlternateAnswer.js +0 -864
  120. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingWithAlternateAnswer.js +0 -472
  121. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsWithAlternateAnswer.js +0 -662
  122. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsWIthAlternateAnswer.js +0 -595
  123. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsAllOrNothing.js +0 -0
  124. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
  125. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
  126. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachCell.js +0 -0
  127. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachCellAlternatePointsGreaterThanCorrectPoints.js +0 -0
  128. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachCellCorrectPointsEqualToAlternatePoints.js +0 -0
  129. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachCellCorrectPointsGreaterThanAlternatePoints.js +0 -0
  130. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachResponse.js +0 -0
  131. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachResponseAlternatePointsGreaterThanCorrectPoints.js +0 -0
  132. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachResponseCorrectPointsEqualToAlternatePoints.js +0 -0
  133. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachResponseCorrectPointsGreaterThanAlternatePoints.js +0 -0
  134. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenCell.js +0 -0
  135. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenCellsAlternatePointsGreaterThanCorrectPoints.js +0 -0
  136. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenCellsCorrectPointsEqualToAlternatePoints.js +0 -0
  137. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenCellsCorrectPointsGreaterThanAlternatePoints.js +0 -0
  138. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenResponses.js +0 -0
  139. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenResponsesAlternatePointsGreaterThanCorrectPoints.js +0 -0
  140. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenResponsesCorrectPointsEqualToAlternatePoints.js +0 -0
  141. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenResponsesCorrectPointsGreaterThanAlternatePoints.js +0 -0
  142. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardAllOrNothing.js +0 -0
  143. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
  144. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
  145. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachCell.js +0 -0
  146. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachCellAlternatePointsGreaterThanCorrectPoints.js +0 -0
  147. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachCellCorrectPointsEqualToAlternatePoints.js +0 -0
  148. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachCellCorrectPointsGreaterThanAlternatePoints.js +0 -0
  149. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachResponse.js +0 -0
  150. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachResponseAlternatePointsGreaterThanCorrectPoints.js +0 -0
  151. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachResponseCorrectPointsEqualToAlternatePoints.js +0 -0
  152. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachResponseCorrectPointsGreaterThanAlternatePoints.js +0 -0
  153. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenCell.js +0 -0
  154. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenCellAlternatePointsGreaterThanCorrectPoints.js +0 -0
  155. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenCellCorrectPointsEqualToAlternatePoints.js +0 -0
  156. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenCellCorrectPointsGreaterThanAlternatePoints.js +0 -0
  157. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenResponse.js +0 -0
  158. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenResponseAlternatePointsGreaterThanCorrectPoints.js +0 -0
  159. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenResponseCorrectPointsEqualToAlternatePoints.js +0 -0
  160. /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenResponseCorrectPointsGreaterThanAlternatePoints.js +0 -0
  161. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
  162. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
  163. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
  164. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/allOrNothingScoring.js +0 -0
  165. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/manuallyAndNonScoredScoring.js +0 -0
  166. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
  167. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
  168. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
  169. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialDifferentWeightsScoring.js +0 -0
  170. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
  171. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
  172. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
  173. /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialEqualWeightsScoring.js +0 -0
  174. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
  175. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
  176. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
  177. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/allOrNothingScoring.js +0 -0
  178. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/manuallyAndNonScoredScoring.js +0 -0
  179. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
  180. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
  181. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
  182. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialDifferentWeightsScoring.js +0 -0
  183. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
  184. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
  185. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
  186. /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialEqualWeightsScoring.js +0 -0
@@ -1,472 +0,0 @@
1
- import { singleSelectionGridPage } from "../../../pages/singleSelectionGridPage";
2
- import abortEarlySetup from "../../../support/helpers/abortEarly";
3
- const css = Cypress.env('css');
4
-
5
- const questionStems = ['Pollution caused by treating chemical waste', 'Pollution caused by cement production', 'Pollution caused by methane production', 'Pollution caused by cement and methane production'];
6
- const options = ['Fully agree as true', 'Fully agree as false', 'Somewhat agree'];
7
-
8
- describe('Create Item page - Single Selection Grid: Preview tab Scoring Section', () => {
9
- before(() => {
10
- cy.loginAs('admin');
11
- });
12
-
13
- describe('Question Preview: AutoScored - All or Nothing with alternate answer', () => {
14
- abortEarlySetup();
15
- before(() => {
16
- cy.log('Navigating to Single selection grid question type');
17
- singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
18
- cy.log('Adding question instructions, question stems, options, setting correct answer and adding points for Autoscored scoring type and switching to Preview tab');
19
- singleSelectionGridPage.steps.addQuestionInstructions();
20
- singleSelectionGridPage.steps.addOption();
21
- singleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
22
- singleSelectionGridPage.steps.addInputToAllOptionsFields(options);
23
- singleSelectionGridPage.steps.allotPoints(20);
24
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([0, 1, 0, 1]);
25
- singleSelectionGridPage.steps.clickOnAddAlternateAnswerButton();
26
- singleSelectionGridPage.steps.allotPoints(12);
27
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInSetCorrectAnswerTable([0, 2, 2, 1]);
28
- singleSelectionGridPage.steps.expandAdditonalSettings();
29
- singleSelectionGridPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
30
- singleSelectionGridPage.steps.switchToPreviewTab();
31
- });
32
-
33
- it('Alternate answer case: When Correct Answer points are more than Alternate Answer points', () => {
34
- cy.log('Total points displayed besides Show correct answer checkbox should be of Correct Answer points')
35
- singleSelectionGridPage.previewScoreText()
36
- .verifyInnerText('0/20');
37
- cy.log('When the user selects the Show correct answer checkbox without attempting the question, green check-mark icons should be displayed besides only correct answer options')
38
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
39
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
40
- singleSelectionGridPage.incorrectIcon()
41
- .should('not.exist');
42
- singleSelectionGridPage.correctIncorectAnswerLabel()
43
- .should('not.exist');
44
- singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
45
-
46
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
47
-
48
- cy.log('When the user selects correct answer options, points specified for correct answers should be provided and on selecting \'Show correct answer\' checkbox green check-mark icon should be displayed besides options and label \'Correct answer\' should be displayed below the table')
49
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([0, 1, 0, 1]);
50
- singleSelectionGridPage.previewScoreText()
51
- .verifyInnerText('20/20');
52
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox();
53
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
54
- singleSelectionGridPage.incorrectIcon()
55
- .should('not.exist');
56
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct')
57
- singleSelectionGridPage.steps.verifyCorrectAttemptBorder();
58
-
59
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
60
-
61
- cy.log('When the user clicks on \'Check answer\' button, then green check-mark icons should be displayed besides options and label \'Correct answer\' should be displayed below the below the table')
62
- singleSelectionGridPage.steps.checkAnswer();
63
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
64
- singleSelectionGridPage.incorrectIcon()
65
- .should('not.exist');
66
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct')
67
- singleSelectionGridPage.steps.verifyCorrectAttemptBorder();
68
-
69
- cy.log('When the user selects alternate correct answer options, points specified for alternate correct answer (less than overall points) should be provided and on selecting Show correct answer checkbox green check-mark icons should be displayed besides alternate correct answer options and label \'Correct answer\' should be displayed below the table')
70
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([0, 2, 2, 1]);
71
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox();
72
- singleSelectionGridPage.previewScoreText()
73
- .verifyInnerText('12/20');
74
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
75
- singleSelectionGridPage.incorrectIcon()
76
- .should('not.exist');
77
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct')
78
- singleSelectionGridPage.steps.verifyCorrectAttemptBorder();
79
-
80
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
81
-
82
- cy.log('When the user clicks on \'Check answer\' button, then green check-mark icons should be displayed besides alternate correct answer options and label \'Correct answer\' should be displayed below the table')
83
- singleSelectionGridPage.steps.checkAnswer();
84
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
85
- singleSelectionGridPage.incorrectIcon()
86
- .should('not.exist');
87
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct')
88
- singleSelectionGridPage.steps.verifyCorrectAttemptBorder()
89
-
90
- cy.log('When user selects partially correct answer options such that user has selected correct options only from the correct tab and user selects show correct answer checkbox then green check-mark icons should be displayed beside the options set in the correct tab and red cross-mark icons should be displayed beside the incorrectly answered options and \'Incorrect Answer\' label should be displayed below the table')
91
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([1, 1, 0, 2]);
92
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox();
93
- singleSelectionGridPage.previewScoreText()
94
- .verifyInnerText('0/20');
95
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
96
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 1);
97
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
98
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
99
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder();
100
-
101
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
102
-
103
- cy.log('When the user clicks on \'Check answer\' button, red check-marks should be displayed besides the selected incorrect answer options and green check-mark icons should be displayed beside the selected correct answer and label \'Incorrect Answer\' should be displayed below the table')
104
- singleSelectionGridPage.steps.checkAnswer();
105
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 1);
106
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 1);
107
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
108
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
109
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
110
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
111
-
112
- //Note need to revisit this case once the query is resolved https://redmine.zeuslearning.com/issues/534043
113
- cy.log('When user selects partially correct answer options such that user has selected correct options only from the alternate tab and user selects show correct answer checkbox then green check-mark icons should be displayed beside the options set in the correct tab and red cross-mark icons should be displayed beside the incorrectly answered options and \'Incorrect Answer\' label should be displayed below the table')
114
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([2, 2, 2, 2]);
115
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
116
- singleSelectionGridPage.previewScoreText()
117
- .verifyInnerText('0/20');
118
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
119
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 2, 2, 2]);
120
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
121
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
122
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
123
-
124
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
125
-
126
- cy.log('When the user clicks on \'Check answer\' button, red check-marks should be displayed besides the selected incorrect answer options and green check-mark icons should be displayed beside the selected correct answer and label \'Incorrect Answer\' should be displayed below the table')
127
- singleSelectionGridPage.steps.checkAnswer();
128
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 2, 2, 2]);
129
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
130
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
131
-
132
- cy.log('When user selects equal number of options from the correct tab and alternate tab then 0 points should be awarded and on selecting show correct answer checkbox green check-mark icon should be displayed beside options from the correct tab and red cross-mark icon should be displayed beside the options from the alternate tab and label \'Incorrect Answer\' should be displayed below the table')
133
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([0, 2, 0, 1]);
134
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
135
- singleSelectionGridPage.previewScoreText()
136
- .verifyInnerText('0/20');
137
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
138
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
139
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
140
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder();
141
-
142
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
143
-
144
- cy.log('When the user clicks on \'Check answer\' button, red check-marks should be displayed besides the selected incorrect answer options and green check-mark icons should be displayed beside the selected correct answer and label \'Incorrect Answer\' should be displayed below the table')
145
- singleSelectionGridPage.steps.checkAnswer();
146
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(0, 0);
147
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
148
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
149
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(3, 1);
150
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
151
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
152
-
153
- cy.log('When user selects incorrect answer option, 0 points should be awarded and on selecting Show correct answer checkbox red cross-mark icons should be displayed besides the selected incorrect answer options and green checkmarks should be displayed beside correct tab answers and label \'Incorrect Answer\' should be displayed below the table')
154
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([2, 0, 1, 2]);
155
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
156
- singleSelectionGridPage.previewScoreText()
157
- .verifyInnerText('0/20');
158
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
159
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 0, 1, 2]);
160
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
161
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
162
-
163
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
164
-
165
- cy.log('When the user clicks on \'Check answer\' button, red check-marks should be displayed besides the selected incorrect answer options and label \'Incorrect Answer\' should be displayed below the table')
166
- singleSelectionGridPage.steps.checkAnswer()
167
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 0, 1, 2]);
168
- singleSelectionGridPage.correctIcon()
169
- .should('not.exist');
170
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
171
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
172
- });
173
-
174
- it('Alternate answer case: When Alternate Answer points are more than Correct Answer points', () => {
175
- cy.log('Pre step: Switching to Edit tab and alloting alternate answer points more than correct answer points')
176
- singleSelectionGridPage.steps.switchToEditTab();
177
- singleSelectionGridPage.steps.clearPointsField();
178
- singleSelectionGridPage.steps.allotPoints('25');
179
- singleSelectionGridPage.steps.switchToPreviewTab();
180
-
181
- cy.log('Total points displayed besides Show correct answer checkbox should be of \'Alternate answer\' points')
182
- singleSelectionGridPage.previewScoreText()
183
- .verifyInnerText('0/25');
184
-
185
- cy.log('When the user selects Show correct answer checkbox without attempting the question, green checkmark icon should be displayed besides only alternate correct answer options')
186
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox();
187
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
188
- singleSelectionGridPage.incorrectIcon()
189
- .should('not.exist');
190
- singleSelectionGridPage.correctIncorectAnswerLabel()
191
- .should('not.exist');
192
- singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
193
-
194
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
195
-
196
- cy.log('When the user selects the correct answer options then correct answer points should be alloted and on selecting show correct answer checkbox green check-mark icons should be displayed beside correct answer options and \'Correct answer\' should be displayed below the table')
197
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([0, 1, 0, 1]);
198
- singleSelectionGridPage.previewScoreText()
199
- .verifyInnerText('20/25');
200
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox();
201
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
202
- singleSelectionGridPage.incorrectIcon()
203
- .should('not.exist');
204
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct')
205
- singleSelectionGridPage.steps.verifyCorrectAttemptBorder()
206
-
207
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
208
-
209
- cy.log('When the user clicks on \'Check answer\' button, green checkmark should be displayed only beside selected correct answer options and \'Correct answer\' label should be displayed below the table')
210
- singleSelectionGridPage.steps.checkAnswer()
211
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
212
- singleSelectionGridPage.incorrectIcon()
213
- .should('not.exist');
214
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct')
215
- singleSelectionGridPage.steps.verifyCorrectAttemptBorder()
216
-
217
- cy.log('When the user selects alternate correct answer options, score specified for alternate correct answer (full score) should be provided and on selecting Show correct answer checkbox green check-mark icons should be displayed besides only alternate correct answer options and label \'Correct answer\' should be displayed below the question field')
218
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([0, 2, 2, 1]);
219
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox();
220
- singleSelectionGridPage.previewScoreText()
221
- .verifyInnerText('25/25');
222
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
223
- singleSelectionGridPage.incorrectIcon()
224
- .should('not.exist');
225
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct')
226
- singleSelectionGridPage.steps.verifyCorrectAttemptBorder()
227
-
228
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
229
-
230
- cy.log('When the user clicks on \'Check answer\' button, then green check-mark icons should be displayed besides only selected alternate correct answer options')
231
- singleSelectionGridPage.steps.checkAnswer()
232
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
233
- singleSelectionGridPage.incorrectIcon()
234
- .should('not.exist');
235
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct')
236
- singleSelectionGridPage.steps.verifyCorrectAttemptBorder()
237
-
238
- cy.log('When user selects partially correct answer options such that user has selected correct options only from the correct tab and user selects show correct answer checkbox then green check-mark icons should be displayed beside the options set in the alternate tab and red cross-mark icons should be displayed beside the incorrectly answered options and \'Incorrect Answer\' label should be displayed below the table')
239
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([1, 1, 0, 2]);
240
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
241
- singleSelectionGridPage.previewScoreText()
242
- .verifyInnerText('0/25');
243
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
244
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([1, 1, 0, 2]);
245
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
246
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
247
-
248
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
249
-
250
- cy.log('When the user clicks on \'Check answer\' button, red check-mark icons should be displayed besides the selected incorrect answer options andd green check-mark icons should be displayed beside selected correct answer options \'Incorrect Answer\' label should be displayed below the table')
251
- singleSelectionGridPage.steps.checkAnswer()
252
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([1, 1, 0, 2]);
253
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
254
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
255
-
256
- cy.log('When user selects partially correct answer options such that user has selected correct options only from the alternate tab and user selects show correct answer checkbox then green check-mark icons should be displayed beside the options set in the alternate tab and red cross-mark icons should be displayed beside the incorrectly answered options and \'Incorrect Answer\' label should be displayed below the table')
257
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([2, 2, 2, 0]);
258
- singleSelectionGridPage.previewScoreText()
259
- .verifyInnerText('0/25');
260
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
261
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
262
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
263
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 0);
264
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
265
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
266
-
267
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
268
-
269
- cy.log('When the user clicks on \'Check answer\' button, red check-mark icons should be displayed besides the selected incorrect answer options andd green check-mark icons should be displayed beside selected correct answer options \'Incorrect Answer\' label should be displayed below the table')
270
- singleSelectionGridPage.steps.checkAnswer()
271
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
272
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 2);
273
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 2);
274
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 0);
275
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
276
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
277
-
278
- cy.log('When user selects equal number of options from the correct tab and alternate tab then 0 points should be awarded and on selecting show correct answer checkbox green check-mark icon should be displayed beside options from the alternate tab and red cross-mark icon should be displayed beside the options from the correct tab and label \'Incorrect Answer\' should be displayed below the table')
279
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([0, 2, 0, 1]);
280
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
281
- singleSelectionGridPage.previewScoreText()
282
- .verifyInnerText('0/25');
283
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
284
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(2, 0);
285
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
286
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder();
287
-
288
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
289
-
290
- cy.log('When the user clicks on \'Check answer\' button, red check-marks should be displayed besides the selected incorrect answer options and green check-mark icons should be displayed beside the selected correct answer and label \'Incorrect Answer\' should be displayed below the table')
291
- singleSelectionGridPage.steps.checkAnswer();
292
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(0, 0);
293
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 2);
294
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(2, 0);
295
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(3, 1);
296
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
297
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
298
-
299
- cy.log('When the user selects incorrect answer options and selects the Show correct answer checkbox, red cross-mark icons should displayed besides the selected incorrect answer options and green check-mark icons beside alternate tab answers and \'Incorrect Answer\' label should be displayed below the table')
300
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([2, 0, 1, 2]);
301
- singleSelectionGridPage.previewScoreText()
302
- .verifyInnerText('0/25');
303
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
304
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
305
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 0, 1, 2]);
306
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
307
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
308
-
309
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
310
-
311
- cy.log('When the user clicks on \'Check answer\' button, red check-mark icons should be displayed besides the selected incorrect answer options and \'Incorrect Answer\' label should be displayed below the table')
312
- singleSelectionGridPage.steps.checkAnswer()
313
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([2, 0, 1, 2]);
314
- singleSelectionGridPage.correctIcon()
315
- .should('not.exist');
316
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
317
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
318
- });
319
-
320
- it('Alternate answer case: When Alternate Answer points and Correct Answer points both are equal', () => {
321
- cy.log('Pre step: Switching to Edit tab and alloting alternate answer points equal to correct answer points')
322
- singleSelectionGridPage.steps.switchToEditTab();
323
- singleSelectionGridPage.steps.clearPointsField();
324
- singleSelectionGridPage.steps.allotPoints('20');
325
- singleSelectionGridPage.steps.switchToPreviewTab();
326
-
327
- cy.log('Checking total points displayed')
328
- singleSelectionGridPage.previewScoreText()
329
- .verifyInnerText('0/20');
330
-
331
- cy.log('When the user selects \'Show correct answer\' checkbox without attempting the question, green check-mark icons should be displayed besides only correct answer options')
332
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
333
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
334
- singleSelectionGridPage.incorrectIcon()
335
- .should('not.exist');
336
- singleSelectionGridPage.correctIncorectAnswerLabel()
337
- .should('not.exist');
338
- singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
339
-
340
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
341
-
342
- cy.log('When the user selects correct answer option, full score should be provided and green checkmark icon should be displayed beside the correct answer options and \'Correct answer\' label should be displayed below the table')
343
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([0, 1, 0, 1]);
344
- singleSelectionGridPage.previewScoreText()
345
- .verifyInnerText('20/20');
346
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
347
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
348
- singleSelectionGridPage.incorrectIcon()
349
- .should('not.exist');
350
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct')
351
- singleSelectionGridPage.steps.verifyCorrectAttemptBorder()
352
-
353
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
354
-
355
- cy.log('When the user clicks on \'Check answer\' button, green check-mark icons should be displayed only beside selected correct answer option and \'Correct answer\' label should be displayed below the table')
356
- singleSelectionGridPage.steps.checkAnswer();
357
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
358
- singleSelectionGridPage.incorrectIcon()
359
- .should('not.exist');
360
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct');
361
- singleSelectionGridPage.steps.verifyCorrectAttemptBorder();
362
-
363
- cy.log('When the user selects alternate correct answer option, score specified for alternate correct answer (full score) should be provided and on selecting Show correct answer checkbox green check-mark icons should be displayed besides only alternate correct answer options and \'Correct answer\' label should be displayed below the table')
364
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([0, 2, 2, 1]);
365
- singleSelectionGridPage.previewScoreText()
366
- .verifyInnerText('20/20')
367
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
368
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
369
- singleSelectionGridPage.incorrectIcon()
370
- .should('not.exist');
371
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct')
372
- singleSelectionGridPage.steps.verifyCorrectAttemptBorder()
373
-
374
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
375
-
376
- cy.log('When the user clicks on \'Check answer\' button, then green check-mark icons should be displayed besides only alternate correct answer options and \'Correct answer\' label should be displayed below the table')
377
- singleSelectionGridPage.steps.checkAnswer()
378
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
379
- singleSelectionGridPage.incorrectIcon()
380
- .should('not.exist');
381
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Correct')
382
- singleSelectionGridPage.steps.verifyCorrectAttemptBorder()
383
-
384
- cy.log('When user selects partially correct answer options such that user has selected correct options only from the correct tab and user selects show correct answer checkbox then green check-mark icons should be displayed beside the options set in the correct tab and red cross-mark icons should be displayed beside the incorrectly answered options and \'Incorrect Answer\' label should be displayed below the table')
385
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([1, 1, 0, 2]);
386
- singleSelectionGridPage.previewScoreText()
387
- .verifyInnerText('0/20');
388
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
389
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
390
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 1);
391
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
392
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect')
393
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
394
-
395
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
396
-
397
- cy.log('When the user clicks on \'Check answer\' button, green check-mark icon should be displayed beside selected correct answer options and red check-mark icons should be displayed besides selected incorrect answer options')
398
- singleSelectionGridPage.steps.checkAnswer()
399
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 1);
400
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 1);
401
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
402
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 2);
403
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
404
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
405
-
406
- cy.log('When user selects partially correct answer options such that user has selected correct options only from the alternate tab and user selects show correct answer checkbox then green check-mark icons should be displayed beside the options set in the alternate tab and red cross-mark icons should be displayed beside the incorrectly answered options and \'Incorrect Answer\' label should be displayed below the table')
407
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([2, 2, 2, 0]);
408
- singleSelectionGridPage.previewScoreText()
409
- .verifyInnerText('0/20');
410
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
411
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
412
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
413
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 0);
414
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
415
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
416
-
417
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
418
-
419
- cy.log('When the user clicks on \'Check answer\' button, green check-mark icon should be displayed beside selected correct answer options and red check-mark icons should be displayed besides selected incorrect answer options')
420
- singleSelectionGridPage.steps.checkAnswer()
421
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(0, 2);
422
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(1, 2);
423
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 2);
424
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(3, 0);
425
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
426
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder();
427
-
428
- cy.log('When user selects equal number of options from the correct tab and alternate tab then 0 points should be awarded and on selecting show correct answer checkbox green check-mark icon should be displayed beside options from the correct tab and red cross-mark icon should be displayed beside the options from the alternate tab and label \'Incorrect Answer\' should be displayed below the table')
429
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([0, 2, 0, 1]);
430
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
431
- singleSelectionGridPage.previewScoreText()
432
- .verifyInnerText('0/20');
433
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
434
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
435
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
436
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder();
437
-
438
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
439
-
440
- cy.log('When the user clicks on \'Check answer\' button, red check-marks should be displayed besides the selected incorrect answer options and green check-mark icons should be displayed beside the selected correct answer and label \'Incorrect Answer\' should be displayed below the table')
441
- singleSelectionGridPage.steps.checkAnswer();
442
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(0, 0);
443
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIcon(1, 2);
444
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(2, 0);
445
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIcon(3, 1);
446
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
447
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder();
448
-
449
- cy.log('When the user selects incorrect answer options and selects the show correct answer checkbox, red crosssmark should be displayed beside selected incorrect answer option and \'Incorrect Answer\' label should be displayed below the table')
450
- singleSelectionGridPage.steps.selectOptionForAllQuestionStemsInPreviewTabAnswerTable([1, 0, 1, 2]);
451
- singleSelectionGridPage.previewScoreText()
452
- .verifyInnerText('0/20');
453
- singleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
454
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([1, 0, 1, 2])
455
- singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1])
456
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
457
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
458
-
459
- singleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked()
460
-
461
- cy.log('When the user clicks on \'Check answer\' button, red check-mark icons should be displayed besides selected incorrect answer options')
462
- singleSelectionGridPage.steps.checkAnswer();
463
- singleSelectionGridPage.steps.verifyIncorrectOptionCrossmarkIconForAllQuestionStems([1, 0, 1, 2])
464
- singleSelectionGridPage.correctIcon()
465
- .should('not.exist');
466
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
467
- singleSelectionGridPage.steps.verifyIncorrectAttemptBorder()
468
- });
469
-
470
- singleSelectionGridPage.tests.verifyMinimumScoreAwardedIfAttemptedFunctionalityForIncorrectAnswer('20')
471
- });
472
- });