itemengine-cypress-automation 1.0.70 → 1.0.72

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettings.js +1 -1
  2. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropEditTabBasic.js +1 -1
  3. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsAllOrNothingWithAlternateAnswer.js +6 -18
  4. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsScoring.js +0 -2
  5. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsWithAlternateAnswer.js +0 -4
  6. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsScoring.js +0 -2
  7. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedSetCorrectAnswerCheckboxes.js +1 -0
  8. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropSetCorrectAnswerCheckboxes.js +1 -0
  9. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsScoring.js +0 -2
  10. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsWithAlternateAnswer.js +0 -4
  11. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsManualAndNonScoredScoring.js +1 -1
  12. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsScoring.js +0 -2
  13. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -4
  14. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAdditionalSettingsBasic.js +3 -3
  15. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoring.js +2 -0
  16. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoringWithAlternateAnswer.js +2 -0
  17. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownManuallyAndNonScoredScoring.js +1 -1
  18. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeights.js +5 -3
  19. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeightsWithAlternateAnswer.js +2 -0
  20. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeights.js +4 -0
  21. package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeightsWithAlternateAnswer.js +2 -0
  22. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsBasic.js +2 -2
  23. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingWithAlternateAnswer.js +6 -0
  24. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsWithAlternateAnswer.js +6 -4
  25. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsWithAlternateAnswer.js +6 -3
  26. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAddResponseContainer.js +1 -1
  27. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettings.js +2 -2
  28. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsBasic.js +12 -14
  29. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsMultilineResponse.js +4 -5
  30. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsStudentResponseAreaAndLayout.js +2 -1
  31. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextManualAndNonScored.js +1 -1
  32. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsScoring.js +4 -2
  33. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsWithAlternateAnswer.js +0 -3
  34. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsScoring.js +2 -1
  35. package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsWithAlternateAnswer.js +2 -2
  36. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsAdvanceSettingsForAllResponseAreas.js +17 -0
  37. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsBasic.js +3 -3
  38. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAllOrNothingWithAlternateAnswer.js +4 -0
  39. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAutoScoredScoring.js +2 -0
  40. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextCaseSensitiveAndIgnoreExtraSpacesCheckboxes.js +4 -4
  41. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextManuallyAndNonScoredScoring.js +1 -1
  42. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeights.js +4 -2
  43. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeightsWithAlternateAnswer.js +3 -1
  44. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeights.js +4 -0
  45. package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeightsWithAlternateAnswer.js +2 -0
  46. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsManualAndNonScoredScoring.js +1 -1
  47. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferentWeightsScoring.js +2 -3
  48. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
  49. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
  50. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
  51. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsScorings.js +2 -2
  52. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsManualAndNonScoredScoring.js +1 -1
  53. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
  54. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
  55. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
  56. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsScoring.js +2 -3
  57. package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsScoring.js +2 -2
  58. package/cypress/e2e/ILC/ListMatching/listMatchingAdditionalSettingsBasic.js +2 -2
  59. package/cypress/e2e/ILC/ListMatching/listMatchingEditTabScoringTypes.js +1 -1
  60. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
  61. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +2 -1
  62. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +2 -1
  63. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/manuallyAndNonScoredScoring.js +3 -3
  64. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +1 -1
  65. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +1 -1
  66. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +4 -3
  67. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsScoring.js +14 -13
  68. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +1 -1
  69. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +2 -2
  70. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +1 -1
  71. package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsScoring.js +0 -1
  72. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsAnswerNumerationAndOptionLabel.js +1 -1
  73. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsBasic.js +2 -2
  74. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsOptionStyleDropdown.js +1 -1
  75. package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsSetPointsPopup.js +3 -7
  76. package/cypress/e2e/ILC/ListOrdering/listOrderingEditTabScoringSection.js +6 -6
  77. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  78. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/manuallyAndNonScoredScoring.js +1 -1
  79. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
  80. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
  81. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
  82. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsScoring.js +12 -12
  83. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
  84. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
  85. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -2
  86. package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsScoring.js +13 -13
  87. package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettingsBasic.js +2 -2
  88. package/cypress/e2e/ILC/ListSorting/listSortingEditTabScoringSection.js +6 -6
  89. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionAdditionalSettingsGridOptions.js +1 -1
  90. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAdditionalSettingsBasic.js +16 -19
  91. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +3 -3
  92. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +3 -3
  93. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +3 -3
  94. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAutoScoredScoring.js +4 -4
  95. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabBasicSection.js +1 -1
  96. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabScoringSection.js +2 -2
  97. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridManuallyAndNonScoredScoring.js +3 -3
  98. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeights.js +12 -12
  99. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +25 -26
  100. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +23 -24
  101. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +25 -26
  102. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeights.js +14 -13
  103. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +23 -24
  104. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +21 -22
  105. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +23 -24
  106. package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridSetCorrectAnswerSection.js +7 -7
  107. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAdditionalSettingsBasic.js +10 -10
  108. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAutoScoredScoring.js +37 -53
  109. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseConditionalCheckboxes.js +3 -3
  110. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseContainsConditionalRadioButton.js +4 -4
  111. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseEditTabScoringSection.js +7 -19
  112. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseExactConditionalRadioButton.js +4 -4
  113. package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseManuallyScoredNonScoredScoringSection.js +9 -15
  114. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAdditionalSettingsBasic.js +16 -18
  115. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
  116. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  117. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +1 -1
  118. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAutoScoredScoring.js +4 -4
  119. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabBasicSection.js +1 -1
  120. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabScoringSection.js +2 -2
  121. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridManuallyAndNonScored.js +3 -3
  122. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeights.js +11 -10
  123. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +18 -18
  124. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +16 -16
  125. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +18 -18
  126. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeights.js +10 -9
  127. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +16 -16
  128. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +14 -14
  129. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +16 -17
  130. package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridSetCorrectAnswerSection.js +31 -31
  131. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettings.js +2 -2
  132. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.js +4 -0
  133. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownManualAndNonScoredScoring.js +1 -1
  134. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsScoring.js +8 -2
  135. package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsScoring.js +10 -4
  136. package/package.json +1 -1
  137. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
  138. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
  139. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
  140. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingScoring.js +0 -0
  141. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
  142. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
  143. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
  144. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
  145. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
  146. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
  147. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingScoring.js +0 -0
  148. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +0 -0
  149. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
  150. /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +0 -0
  151. /package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingScoring.js +0 -0
  152. /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
  153. /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
  154. /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingScoring.js +0 -0
@@ -2,7 +2,7 @@ import { listOrderingPage } from "../../../../pages/listOrderingPage";
2
2
  import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
3
  import utilities from "../../../../support/helpers/utilities";
4
4
 
5
- let options = ['plant', 'sprout', 'flower', 'seed'];
5
+ let options = ['plant', 'flower', 'sprout', 'seed'];
6
6
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
7
7
 
8
8
  describe('Create item page - List sorting: Preview tab \'Scoring\' section', () => {
@@ -35,7 +35,7 @@ describe('Create item page - List sorting: Preview tab \'Scoring\' section', ()
35
35
  utilities.verifyElementCount(listOrderingPage.previewTabOption(), 4);
36
36
  });
37
37
 
38
- listOrderingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
38
+ listOrderingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
39
39
  });
40
40
 
41
41
  describe('Question Preview: Non Scored', () => {
@@ -70,7 +70,7 @@ describe('Create item page - List sorting: Preview tab \'Scoring\' section', ()
70
70
  cy.log('Pre-step: Deselect the show correct checkbox')
71
71
  listOrderingPage.steps.uncheckShowCorrectAnswerCheckbox()
72
72
  listOrderingPage.steps.checkAnswer();
73
- listOrderingPage.steps.verifyCorrectIncorrectBorderNotExists();
73
+ listOrderingPage.steps.verifyCorrectIncorrectBorderNotVisible();
74
74
  listOrderingPage.steps.verifyCorrectIncorrectIconsDoesNotExist();
75
75
  listOrderingPage.steps.verifyCorrectAnswerContainerDoesNotExist();
76
76
  });
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
30
30
  listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
31
31
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
32
32
  listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4, 9, 10, 6]);
33
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
34
33
  listOrderingPage.steps.expandAdditonalSettings();
35
34
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
36
35
  listOrderingPage.steps.switchToPreviewTab();
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
135
134
 
136
135
  it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, \'Incorrect\' label and border should be displayed and the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the alternate tab with numeration', () => {
137
136
  listOrderingPage.steps.resetQuestionPreview(options);
137
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
138
138
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
139
139
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
140
140
  listOrderingPage.steps.verifyPreviewTabScoreText(19, 29);
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
30
30
  listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
31
31
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
32
32
  listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([6, 9, 5, 4]);
33
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
34
33
  listOrderingPage.steps.expandAdditonalSettings();
35
34
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
36
35
  listOrderingPage.steps.switchToPreviewTab();
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
135
134
 
136
135
  it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration and correct/incorrect answer label and border for the question should not be displayed below the question preview', () => {
137
136
  listOrderingPage.steps.resetQuestionPreview(options);
137
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
138
138
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
139
139
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
140
140
  listOrderingPage.steps.verifyPreviewTabScoreText(14, 24);
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
30
30
  listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
31
31
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
32
32
  listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([6, 3, 2, 9]);
33
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
34
33
  listOrderingPage.steps.expandAdditonalSettings();
35
34
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
36
35
  listOrderingPage.steps.switchToPreviewTab();
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
135
134
 
136
135
  it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration and correct/incorrect answer label and border for the question should not be displayed below the question preview', () => {
137
136
  listOrderingPage.steps.resetQuestionPreview(options);
137
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
138
138
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
139
139
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
140
140
  listOrderingPage.steps.verifyPreviewTabScoreText(5, 24);
@@ -143,7 +143,7 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
143
143
  listOrderingPage.steps.verifyCorrectOptionsCheckmarkIcon('flower');
144
144
  listOrderingPage.steps.verifyCorrectOptionsCheckmarkIcon('sprout');
145
145
  listOrderingPage.steps.verifyIncorrectOptionsCrossmarkIcon('seed');
146
- listOrderingPage.steps.verifyCorrectAnswerContainerContents(['seed', 'plant'], ['1', '4']);
146
+ listOrderingPage.steps.verifyCorrectAnswerContainerContents(correctAnswerArray, ['1', '2', '3', '4']);
147
147
  listOrderingPage.steps.verifyCorrectIncorrectBorderNotVisible();
148
148
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExists();
149
149
 
@@ -279,7 +279,8 @@ describe('Create Item page - List ordering: Partial different weights scoring wi
279
279
  listOrderingPage.steps.switchToEditTab();
280
280
  listOrderingPage.steps.deleteAlternateTab();
281
281
  listOrderingPage.steps.addAlternateTab(1);
282
- listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1)
282
+ listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('plant', 0);
283
+ listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
283
284
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(['plant', 'flower', 'sprout', 'seed']);
284
285
  listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.5, 1.5, 2.5, 3.5]);
285
286
  listOrderingPage.steps.navigateToCorrectTab();
@@ -24,7 +24,6 @@ describe('Create Item page - List ordering: Preview tab Scoring Section', () =>
24
24
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
25
25
  listOrderingPage.steps.selectPartialDifferentWeightsCheckbox();
26
26
  listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.2, 1.8, 2.3, 3.7]);
27
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
28
27
  listOrderingPage.steps.expandAdditonalSettings();
29
28
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
30
29
  listOrderingPage.steps.switchToPreviewTab();
@@ -159,33 +158,35 @@ describe('Create Item page - List ordering: Preview tab Scoring Section', () =>
159
158
  listOrderingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.2, 1.8, 3.4, 2.3]);
160
159
  listOrderingPage.steps.expandAdditonalSettings();
161
160
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
162
- listOrderingPage.steps.switchToPreviewTab();
163
161
  });
164
162
 
165
- it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
166
- listOrderingPage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
163
+ it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
164
+ listOrderingPage.steps.switchToPreviewTab();
167
165
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('seed', 0);
166
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 1);
168
167
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
169
- listOrderingPage.steps.verifyPreviewTabScoreText(6, 11.7);
168
+ listOrderingPage.steps.verifyPreviewTabScoreText(6.5, 11.7);
170
169
  listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
171
170
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('sprout', 1);
172
171
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
173
- listOrderingPage.steps.verifyPreviewTabScoreText(11, 11.7);
174
- listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
172
+ listOrderingPage.steps.verifyPreviewTabScoreText(11.7, 11.7);
173
+ listOrderingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
175
174
  });
176
175
 
177
- it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
178
- listOrderingPage.steps.switchToEditTab()
179
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox()
176
+ it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
177
+ listOrderingPage.steps.switchToEditTab();
178
+ listOrderingPage.steps.expandRoundingDropdown();
179
+ listOrderingPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
180
180
  listOrderingPage.steps.switchToPreviewTab();
181
181
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('seed', 0);
182
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 1);
182
183
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
183
- listOrderingPage.steps.verifyPreviewTabScoreText(6.5, 11.7);
184
+ listOrderingPage.steps.verifyPreviewTabScoreText(6, 11.7);
184
185
  listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
185
186
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('sprout', 1);
186
187
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
187
- listOrderingPage.steps.verifyPreviewTabScoreText(11.7, 11.7);
188
- listOrderingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
188
+ listOrderingPage.steps.verifyPreviewTabScoreText(11, 11.7);
189
+ listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
189
190
  });
190
191
  });
191
192
  });
@@ -31,7 +31,6 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
31
31
  listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
32
32
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
33
33
  listOrderingPage.steps.allotPoints('24');
34
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
35
34
  listOrderingPage.steps.expandAdditonalSettings();
36
35
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
37
36
  listOrderingPage.steps.switchToPreviewTab();
@@ -136,6 +135,7 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
136
135
 
137
136
  it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, \'Incorrect\' label and border should be displayed and the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the alternate tab with numeration', () => {
138
137
  listOrderingPage.steps.resetQuestionPreview(options);
138
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
139
139
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
140
140
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
141
141
  listOrderingPage.steps.verifyPreviewTabScoreText(12, 24);
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
30
30
  listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
31
31
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
32
32
  listOrderingPage.steps.allotPoints('20');
33
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
34
33
  listOrderingPage.steps.expandAdditonalSettings();
35
34
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
36
35
  listOrderingPage.steps.switchToPreviewTab();
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
135
134
 
136
135
  it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration and correct/incorrect answer label and border for the question should not be displayed below the question preview', () => {
137
136
  listOrderingPage.steps.resetQuestionPreview(options);
137
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
138
138
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
139
139
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
140
140
  listOrderingPage.steps.verifyPreviewTabScoreText(10, 20);
@@ -143,7 +143,7 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
143
143
  listOrderingPage.steps.verifyCorrectOptionsCheckmarkIcon('flower');
144
144
  listOrderingPage.steps.verifyCorrectOptionsCheckmarkIcon('sprout');
145
145
  listOrderingPage.steps.verifyIncorrectOptionsCrossmarkIcon('seed');
146
- listOrderingPage.steps.verifyCorrectAnswerContainerContents(['seed', 'plant'], ['1', '4']);
146
+ listOrderingPage.steps.verifyCorrectAnswerContainerContents(correctAnswerArray, ['1', '2', '3', '4']);
147
147
  listOrderingPage.steps.verifyCorrectIncorrectBorderNotVisible();
148
148
  listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExists();
149
149
 
@@ -30,7 +30,6 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
30
30
  listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('flower', 1);
31
31
  listOrderingPage.steps.verifyOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
32
32
  listOrderingPage.steps.allotPoints('12');
33
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox();
34
33
  listOrderingPage.steps.expandAdditonalSettings();
35
34
  listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
36
35
  listOrderingPage.steps.switchToPreviewTab();
@@ -135,6 +134,7 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
135
134
 
136
135
  it('When the user attempts the question partially correct exclusively according to the alternate tab then points of the correctly ordered options should be awarded and on selecting \'Show correct answer\' checkbox green check-mark icons should be displayed beside the options at the correct position with respect to the alternate tab and red cross-mark icons should be displayed beside the incorrectly attempted options, the \'Correct answers:\' container should contain the correct answers of the incorrectly attempted options from the correct tab with numeration and correct/incorrect answer label and border for the question should not be displayed below the question preview', () => {
137
136
  listOrderingPage.steps.resetQuestionPreview(options);
137
+ listOrderingPage.steps.clickAndReorderOptionInPrevewTab('plant', 0);
138
138
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('flower', 1);
139
139
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['plant', 'flower', 'sprout', 'seed']);
140
140
  listOrderingPage.steps.verifyPreviewTabScoreText(6, 20);
@@ -176,7 +176,6 @@ describe('Create Item page - List ordering: Partial equal weights', () => {
176
176
 
177
177
  it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
178
178
  listOrderingPage.steps.switchToEditTab()
179
- listOrderingPage.steps.uncheckRoundDownScoreCheckbox()
180
179
  listOrderingPage.steps.switchToPreviewTab();
181
180
  listOrderingPage.steps.clickAndReorderOptionInPrevewTab('seed', 0);
182
181
  listOrderingPage.steps.verifyTextContentOfOptionsInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
@@ -7,7 +7,7 @@ const answerNumerationDropdownOptions = ['Numerical', 'Uppercase alphabet', 'Low
7
7
  const numbers = ['1', '2', '3', '4'];
8
8
  const lowercase = ['a', 'b', 'c', 'd'];
9
9
  const uppercase = ['A', 'B', 'C', 'D'];
10
- let options = ['plant', 'sprout', 'flower', 'seed'];
10
+ let options = ['plant', 'flower', 'sprout', 'seed'];
11
11
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
12
12
 
13
13
  describe('Create Item page - List ordering: Additional settings - Answer numeration (only while grading) and option label section', () => {
@@ -4,8 +4,8 @@ import utilities from "../../../support/helpers/utilities";
4
4
  const css = Cypress.env('css');
5
5
 
6
6
  const answerNumerationDropdownOptions = ['Numerical', 'Uppercase alphabet', 'Lowercase alphabet'];
7
- const fontSizeDropdownOptions = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
8
- const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
7
+ const fontSizeDropdownOptions = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
8
+ const fontSizes = ['12px', '14px', '16px', '18px', '22px', '26px'];
9
9
  let options = ['plant', 'sprout', 'flower', 'seed'];
10
10
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
11
11
 
@@ -4,7 +4,7 @@ import utilities from "../../../support/helpers/utilities";
4
4
  const css = Cypress.env('css');
5
5
 
6
6
  const optionStyleDropdownOptions = ['Grid', 'Minimal', 'Inline'];
7
- let options = ['plant', 'sprout', 'flower', 'seed'];
7
+ let options = ['plant', 'flower', 'sprout', 'seed'];
8
8
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
9
9
 
10
10
  describe('Create Item page - List ordering: Additional settings - Options style dropdown', () => {
@@ -5,14 +5,10 @@ import abortEarlySetup from "../../../support/helpers/abortEarly";
5
5
  import utilities from "../../../support/helpers/utilities";
6
6
  const css = Cypress.env('css');
7
7
 
8
- const optionStyleDropdownOptions = ['Grid', 'Minimal', 'Inline'];
9
8
  const answerNumerationDropdownOptions = ['Numerical', 'Uppercase alphabet', 'Lowercase alphabet'];
10
- const fontSizeDropdownOptions = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
11
9
  const numbers = ['1', '2', '3', '4'];
12
10
  const lowercase = ['a', 'b', 'c', 'd'];
13
- const uppercase = ['A', 'B', 'C', 'D'];
14
- const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
15
- let options = ['plant', 'sprout', 'flower', 'seed'];
11
+ let options = ['plant', 'flower', 'sprout', 'seed'];
16
12
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
17
13
 
18
14
  describe('Create Item page - List ordering: Additional settings', () => {
@@ -149,7 +145,6 @@ describe('Create Item page - List ordering: Additional settings', () => {
149
145
  setPointsPopupBase.steps.cancelSetPointsPopup();
150
146
  });
151
147
 
152
- //Failing due to - https://redmine.zeuslearning.com/issues/538676
153
148
  it('When user deletes an option from the \'Option\' section then it should not be displayed in the \'Set points\' popup and the numeration should change accordingly', () => {
154
149
  listOrderingPage.steps.deleteOption(0);
155
150
  listOrderingPage.steps.clickOnSetPointsButton();
@@ -162,6 +157,7 @@ describe('Create Item page - List ordering: Additional settings', () => {
162
157
  //Failing due to - https://redmine.zeuslearning.com/issues/538680
163
158
  it('When user adds an option in the \'Option\' section then it should be displayed in the \'Set points\' popup with an empty points field', () => {
164
159
  listOrderingPage.steps.addOption();
160
+ listOrderingPage.steps.editOptionInputField(3, options[0]);
165
161
  listOrderingPage.steps.clickOnSetPointsButton();
166
162
  utilities.verifyElementCount(listOrderingPage.setPointsPopupOptions(), 4);
167
163
  listOrderingPage.steps.verifySetPointsPopupOptionNumeration(numbers);
@@ -217,8 +213,8 @@ describe('Create Item page - List ordering: Additional settings', () => {
217
213
  setPointsPopupBase.steps.saveSetPointsPopup();
218
214
  });
219
215
 
220
- //Failing due to - https://redmine.zeuslearning.com/issues/539283
221
216
  it(`When user changes the Answer numeration option to ${answerNumerationDropdownOptions[2]} then the set points popup options should be displayed with lowercase numeration`, () => {
217
+ listOrderingPage.steps.clickAndReorderOptionInSetCorrectAnswerSection('sprout', 3);
222
218
  listOrderingPage.steps.navigateToCorrectTab()
223
219
  listOrderingPage.steps.selectAnswerNumerationDropdownOption(`${answerNumerationDropdownOptions[2]}`);
224
220
  listOrderingPage.steps.clickOnSetPointsButton()
@@ -103,15 +103,15 @@ describe('Create Item page - List ordering: Edit tab scoring types and set corre
103
103
  'font-weight': css.fontWeight.semibold
104
104
  });
105
105
  utilities.verifyCSS(listOrderingPage.rounddownScoreCheckboxLabel(), {
106
- 'color': css.color.labelText,
106
+ 'color': css.color.labels,
107
107
  'font-size': css.fontSize.normal,
108
- 'font-weight': css.fontWeight.regular
108
+ 'font-weight': css.fontWeight.semibold
109
109
  });
110
110
  });
111
111
 
112
112
  it('Accessibility of \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input field and \'Round down score\' checkbox', { tags: 'a11y' }, () => {
113
113
  cy.checkAccessibility(listOrderingPage.penaltyPointsInputField().parents('.points-container'));
114
- cy.checkAccessibility(listOrderingPage.rounddownScoreCheckbox());
114
+ cy.checkAccessibility(listOrderingPage.roundingDropdown());
115
115
  });
116
116
 
117
117
  it('When the user switches to \'All or nothing\' scoring, the \'Points per response\' label and the points displayed for individual responses should not be displayed and the points displayed in \'Points\' input field should remain unchanged', () => {
@@ -199,16 +199,16 @@ describe('Create Item page - List ordering: Edit tab scoring types and set corre
199
199
  'font-weight': css.fontWeight.semibold
200
200
  });
201
201
  utilities.verifyCSS(listOrderingPage.rounddownScoreCheckboxLabel(), {
202
- 'color': css.color.labelText,
202
+ 'color': css.color.labels,
203
203
  'font-size': css.fontSize.normal,
204
- 'font-weight': css.fontWeight.regular
204
+ 'font-weight': css.fontWeight.semibold
205
205
  });
206
206
  });
207
207
 
208
208
  it('Accessibility of \'Points per response\', \'Penalty Points\' and \'Minimum score awarded (if attempted)\' input fields and \'Round down score\' checkbox', { tags: 'a11y' }, () => {
209
209
  cy.checkAccessibility(listOrderingPage.partialDifferentWeightsPointsInputField());
210
210
  cy.checkAccessibility(listOrderingPage.penaltyPointsInputField().parents('.points-container'));
211
- cy.checkAccessibility(listOrderingPage.rounddownScoreCheckbox().parents('.round-down-score-wrapper'));
211
+ cy.checkAccessibility(listOrderingPage.roundingDropdown().parents('.round-down-score-wrapper'));
212
212
  });
213
213
 
214
214
  it('When the user switches to \'All or nothing\' scoring, the points added for individual responses in Partial - different weights scoring should get summed up in the All or nothing scoring Points input field', () => {
@@ -256,6 +256,6 @@ describe('Create item page - List sorting: All or nothing scoring with alternate
256
256
  listSortingPage.steps.verifyCorrectIncorrectAnswerLabel('Incorrect');
257
257
  });
258
258
 
259
- listSortingPage.tests.verifyMinimumScoreAwardedIfAttemptedFunctionalityForIncorrectAnswer('20');
259
+ listSortingPage.tests.verifyMinimumScoreAwardedIfAttemptedFunctionalityForIncorrectAnswer(20);
260
260
  });
261
261
  });
@@ -40,7 +40,7 @@ describe('Create item page - List sorting: Preview tab \'Scoring\' section', ()
40
40
  utilities.verifyInnerText(listSortingPage.previewTabTargetOptionWrapper(), '');
41
41
  });
42
42
 
43
- listSortingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
43
+ listSortingPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
44
44
  });
45
45
 
46
46
  describe('Question Preview: Non Scored', () => {
@@ -34,7 +34,6 @@ describe('Create item page - List sorting: Partial different weights scoring wit
34
34
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
35
35
  listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
36
36
  listSortingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4, 9, 10, 6]);
37
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
38
37
  listSortingPage.steps.expandAdditonalSettings();
39
38
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
40
39
  listSortingPage.steps.switchToPreviewTab();
@@ -34,7 +34,6 @@ describe('Create item page - List sorting: Partial different weights scoring wit
34
34
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
35
35
  listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
36
36
  listSortingPage.steps.allotPartialDifferentWeightsToAllPointsFields([6, 9, 5, 4]);
37
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
38
37
  listSortingPage.steps.expandAdditonalSettings();
39
38
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
40
39
  listSortingPage.steps.switchToPreviewTab();
@@ -34,7 +34,6 @@ describe('Create item page - List sorting: Partial different weights scoring wit
34
34
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
35
35
  listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
36
36
  listSortingPage.steps.allotPartialDifferentWeightsToAllPointsFields([6, 3, 2, 9]);
37
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
38
37
  listSortingPage.steps.expandAdditonalSettings();
39
38
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
40
39
  listSortingPage.steps.switchToPreviewTab();
@@ -26,7 +26,6 @@ describe('Create item page - List sorting: Partial different weights scoring', (
26
26
  listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(correctAnswerArray);
27
27
  listSortingPage.steps.selectPartialDifferentWeightsCheckbox();
28
28
  listSortingPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.2, 1.8, 2.3, 3.7]);
29
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
30
29
  listSortingPage.steps.expandAdditonalSettings();
31
30
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
32
31
  listSortingPage.steps.switchToPreviewTab();
@@ -167,14 +166,13 @@ describe('Create item page - List sorting: Partial different weights scoring', (
167
166
  listSortingPage.steps.switchToPreviewTab();
168
167
  });
169
168
 
170
- it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
171
- listSortingPage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
169
+ it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
172
170
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
173
171
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 1);
174
172
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 2);
175
173
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
176
174
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
177
- listSortingPage.steps.verifyPreviewTabScoreText(6, 11.7);
175
+ listSortingPage.steps.verifyPreviewTabScoreText(6.5, 11.7);
178
176
  listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
179
177
  listSortingPage.steps.resetQuestionPreview();
180
178
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
@@ -182,20 +180,22 @@ describe('Create item page - List sorting: Partial different weights scoring', (
182
180
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
183
181
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
184
182
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
185
- listSortingPage.steps.verifyPreviewTabScoreText(11, 11.7);
186
- listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
183
+ listSortingPage.steps.verifyPreviewTabScoreText(11.7, 11.7);
184
+ listSortingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
187
185
  });
188
186
 
189
- it('When the \'Round down score\' checkbox is not selected, then in Preview tab when user selects partially or fully correct answers the points should be displayed in decimal points if applicable as per the options selected by the user', () => {
190
- listSortingPage.steps.switchToEditTab()
191
- listSortingPage.steps.uncheckRoundDownScoreCheckbox()
187
+ it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
188
+ listSortingPage.steps.switchToEditTab();
189
+ listSortingPage.steps.expandRoundingDropdown();
190
+ listSortingPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
192
191
  listSortingPage.steps.switchToPreviewTab();
192
+ listSortingPage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
193
193
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
194
194
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 1);
195
195
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 2);
196
196
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
197
197
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
198
- listSortingPage.steps.verifyPreviewTabScoreText(6.5, 11.7);
198
+ listSortingPage.steps.verifyPreviewTabScoreText(6, 11.7);
199
199
  listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
200
200
  listSortingPage.steps.resetQuestionPreview();
201
201
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
@@ -203,8 +203,8 @@ describe('Create item page - List sorting: Partial different weights scoring', (
203
203
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
204
204
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
205
205
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
206
- listSortingPage.steps.verifyPreviewTabScoreText(11.7, 11.7);
207
- listSortingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
206
+ listSortingPage.steps.verifyPreviewTabScoreText(11, 11.7);
207
+ listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
208
208
  });
209
209
  });
210
210
  });
@@ -35,7 +35,6 @@ describe('Create item page - List sorting: Partial equal weights scoring with al
35
35
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
36
36
  listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
37
37
  listSortingPage.steps.allotPoints('24');
38
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
39
38
  listSortingPage.steps.expandAdditonalSettings();
40
39
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
41
40
  listSortingPage.steps.switchToPreviewTab();
@@ -33,7 +33,6 @@ describe('Create item page - List sorting: Partial equal weights scoring with al
33
33
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('sprout', 2);
34
34
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
35
35
  listSortingPage.steps.allotPoints('20');
36
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
37
36
  listSortingPage.steps.expandAdditonalSettings();
38
37
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
39
38
  listSortingPage.steps.switchToPreviewTab();
@@ -1,6 +1,5 @@
1
1
  import { listSortingPage } from "../../../../pages/listSortingPage";
2
2
  import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
- import utilities from "../../../../support/helpers/utilities";
4
3
 
5
4
  let options = ['plant', 'sprout', 'flower', 'seed'];
6
5
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
@@ -34,7 +33,6 @@ describe('Create item page - List sorting: Partial equal weights scoring with al
34
33
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInSetCorrectAnswerSection('plant', 3);
35
34
  listSortingPage.steps.verifyTargetOptionsTextContentInSetCorrectAnswerSection(alternateCorrectAnswerArray);
36
35
  listSortingPage.steps.allotPoints('12');
37
- listSortingPage.steps.uncheckRoundDownScoreCheckbox();
38
36
  listSortingPage.steps.expandAdditonalSettings();
39
37
  listSortingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
40
38
  listSortingPage.steps.switchToPreviewTab();
@@ -164,44 +164,44 @@ describe('Create item page - List sorting: Partial equal weights scoring', () =>
164
164
  listSortingPage.steps.switchToPreviewTab();
165
165
  });
166
166
 
167
- it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
168
- listSortingPage.steps.verifyCheckedStateOfRoundDownScoreCheckbox();
167
+ 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', () => {
169
168
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
170
169
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 1);
171
170
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 2);
172
171
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
173
172
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
174
- listSortingPage.steps.verifyPreviewTabScoreText(7, 14.5);
175
- listSortingPage.steps.resetQuestionPreview();
173
+ listSortingPage.steps.verifyPreviewTabScoreText(7.26, 14.5);
176
174
  listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
175
+ listSortingPage.steps.resetQuestionPreview();
177
176
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
178
177
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 1);
179
178
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
180
179
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
181
180
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
182
- listSortingPage.steps.verifyPreviewTabScoreText(14, 14.5);
183
- listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
181
+ listSortingPage.steps.verifyPreviewTabScoreText(14.5, 14.5);
182
+ listSortingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
184
183
  });
185
184
 
186
- 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', () => {
187
- listSortingPage.steps.switchToEditTab()
188
- listSortingPage.steps.uncheckRoundDownScoreCheckbox()
185
+ it('When the \'Round down score\' checkbox is selected, then in Preview tab when user enters partially or fully correct answers responses the score displayed should be rounded down to the nearest whole number', () => {
186
+ listSortingPage.steps.switchToEditTab();
187
+ listSortingPage.steps.expandRoundingDropdown();
188
+ listSortingPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.99');
189
189
  listSortingPage.steps.switchToPreviewTab();
190
190
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
191
191
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 1);
192
192
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 2);
193
193
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
194
194
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'plant', 'sprout', 'flower']);
195
- listSortingPage.steps.verifyPreviewTabScoreText(7.26, 14.5);
196
- listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
195
+ listSortingPage.steps.verifyPreviewTabScoreText(7, 14.5);
197
196
  listSortingPage.steps.resetQuestionPreview();
197
+ listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
198
198
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('seed', 0);
199
199
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('sprout', 1);
200
200
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('plant', 2);
201
201
  listSortingPage.steps.clickAndDropOptionFromSourceToTargetInPreviewTab('flower', 3);
202
202
  listSortingPage.steps.verifyTargetOptionsTextContentInPreviewTab(['seed', 'sprout', 'plant', 'flower']);
203
- listSortingPage.steps.verifyPreviewTabScoreText(14.5, 14.5);
204
- listSortingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
203
+ listSortingPage.steps.verifyPreviewTabScoreText(14, 14.5);
204
+ listSortingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
205
205
  });
206
206
  });
207
207
  });
@@ -4,8 +4,8 @@ import utilities from "../../../support/helpers/utilities";
4
4
  const css = Cypress.env('css');
5
5
 
6
6
  const optionStyleDropdownOptions = ['None', 'Numerical', 'Uppercase alphabet', 'Lowercase alphabet'];
7
- const fontSizeDropdownOptions = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
8
- const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
7
+ const fontSizeDropdownOptions = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
8
+ const fontSizes = ['12px', '14px', '16px', '18px', '22px', '26px'];
9
9
  let options = ['plant', 'sprout', 'flower', 'seed'];
10
10
  let correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
11
11