itemengine-cypress-automation 1.0.211-2ndJulyFixes-2aec8c8.0 → 1.0.212-3JulyUpdates-c1934bd.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +1 -0
  2. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
  3. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +1 -1
  4. package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +1 -0
  5. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
  6. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -1
  7. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
  9. package/cypress/e2e/ILC/ChartsLine/chartFunctionalitySpecifyCorrectAnswerSection.js +254 -0
  10. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  11. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingBasicForGroupedOptionsLayout.js +1 -1
  12. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionAlternativePointsGreaterThanCorrectPoints.js +1 -0
  13. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionBasic.js +5 -5
  14. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +2 -2
  15. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +2 -2
  16. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +3 -3
  17. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +1 -1
  18. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +2 -1
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +2 -1
  20. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
  21. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +1 -1
  22. package/cypress/e2e/ILC/EssayResponse/editAndPreviewTabScoringSection.js +1 -1
  23. package/cypress/e2e/ILC/EssayResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
  24. package/cypress/e2e/ILC/EssayResponse/previewContentsForAllViews.smoke.js +1 -1
  25. package/cypress/e2e/ILC/EssayResponseBasic/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
  26. package/cypress/e2e/ILC/EssayResponseBasic/previewContentsForAllViews.smoke.js +1 -1
  27. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +1 -1
  28. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  29. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +1 -1
  30. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  31. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  32. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  33. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  34. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
  35. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +1 -1
  36. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +1 -1
  37. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +1 -1
  38. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettingsForGroupedLayout.js +1 -1
  39. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  40. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
  41. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  42. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js +1 -1
  43. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  44. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +1 -1
  45. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  46. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js +1 -1
  47. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  48. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  49. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  50. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +1 -1
  51. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +1 -1
  52. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  53. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
  54. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  55. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  56. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
  57. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  58. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +2 -2
  59. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  60. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  61. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  62. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/responseLevelAlternateAnswersBasicScoring.js +1 -1
  63. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  64. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +1 -1
  65. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  66. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +28 -14
  67. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +1 -1
  68. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  69. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
  70. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  71. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  72. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  73. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  74. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  75. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
  76. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  77. package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +1 -1
  78. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsBasic.js +2 -2
  79. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  80. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  81. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +1 -1
  82. package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +1 -1
  83. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialEqualWeightsBasic.js +2 -2
  84. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  85. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
  86. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  87. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  88. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsBasic.js +4 -4
  89. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +1 -1
  90. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
  91. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  92. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +1 -1
  93. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  94. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +2 -2
  95. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  96. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  97. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  98. package/cypress/e2e/ILC/Matching/maximumCapacityPerDropzoneSection.js +29 -29
  99. package/cypress/e2e/ILC/Matching/studentViewSettings.js +1 -1
  100. package/cypress/e2e/ILC/Matching/studentViewSettingsForGroupedLayout.js +1 -1
  101. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +2 -2
  102. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +3 -3
  103. package/cypress/e2e/ILC/MultipleSelection/multipleSelectionBasicAccessibility.js +1 -1
  104. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +3 -3
  105. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +1 -1
  106. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +1 -1
  107. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +3 -3
  108. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -3
  109. package/cypress/e2e/ILC/SingleSelection/allOrNothingWithAlternativeAnswer.js +3 -3
  110. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +3 -3
  111. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +2 -2
  112. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +1 -1
  113. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +2 -2
  114. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +1 -1
  115. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +1 -1
  116. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  117. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +1 -1
  118. package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +3 -3
  119. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  120. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  121. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  122. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +1 -1
  123. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +1 -1
  124. package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +1 -1
  125. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
  126. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +1 -1
  127. package/cypress/e2e/ILC/VideoResponseNew/editAndPreviewTabScoringSection.js +1 -1
  128. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
  129. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +1 -1
  130. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +1 -1
  131. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +1 -1
  132. package/cypress/pages/components/maximumRecorderLengthComponent.js +4 -1
  133. package/cypress/pages/components/scoringSectionBaseEditTab.js +14 -3
  134. package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
  135. package/cypress/pages/feedbackScalePage.js +1 -1
  136. package/cypress/pages/index.js +0 -2
  137. package/cypress/pages/listOrderingPage.js +2 -2
  138. package/package.json +1 -1
  139. package/cypress/pages/highlightImagePage.js +0 -1320
  140. package/cypress/pages/highlightPage.js +0 -499
@@ -23,8 +23,8 @@ describe('Create item page - Matching: Partial equal weights with alternative an
23
23
  matchingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
24
24
  matchingPage.steps.allotPoints(15);
25
25
  matchingPage.steps.addAlternativeAnswerAccordion(1);
26
- matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
27
26
  matchingPage.steps.allotPoints(15);
27
+ matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
28
28
  //matchingPage.steps.checkAllowStudentToCheckAnswerCheckbox();
29
29
  matchingPage.steps.switchToPreviewTab();
30
30
  });
@@ -23,8 +23,8 @@ describe('Create item page - Matching: Partial equal weights with alternative an
23
23
  matchingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
24
24
  matchingPage.steps.allotPoints(15);
25
25
  matchingPage.steps.addAlternativeAnswerAccordion(1);
26
- matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
27
26
  matchingPage.steps.allotPoints(9);
27
+ matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
28
28
  //matchingPage.steps.checkAllowStudentToCheckAnswerCheckbox();
29
29
  matchingPage.steps.switchToPreviewTab();
30
30
  });
@@ -113,10 +113,10 @@ describe('Create Item page - Matching : Maximum capacity per dropzone section',
113
113
  before(() => {
114
114
  matchingPage.steps.navigateToCreateQuestion('matching');
115
115
  cy.barsPreLoaderWait();
116
+ matchingPage.steps.allotPoints(5);
116
117
  matchingPage.steps.addTextInQuestionInstructionsInputField('matching');
117
118
  matchingPage.steps.addMultipleOptionFields(2);
118
119
  matchingPage.steps.enterTextInOptionInputField(options.slice(0, 5));
119
- matchingPage.steps.allotPoints(5);
120
120
  });
121
121
 
122
122
  it('By default user should be able to set only 1 options in a dropzone in the preview tab', () => {
@@ -175,13 +175,13 @@ describe('Create Item page - Matching : Maximum capacity per dropzone section',
175
175
  matchingPage.steps.navigateToCreateQuestion('matching');
176
176
  cy.barsPreLoaderWait();
177
177
  matchingPage.steps.addTextInQuestionInstructionsInputField('matching');
178
- matchingPage.steps.expandMaxCapacityPerDropzoneDropdown();
179
- matchingPage.steps.selectOptionFromMaxCapacityPerDropzoneDropdown('2');
180
178
  matchingPage.steps.addMultipleOptionFields(4);
181
179
  matchingPage.steps.enterTextInOptionInputField(options);
182
180
  matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Petals', dropzoneIndex: 0 }, { optionText: 'Leaves', dropzoneIndex: 0 }, { optionText: 'Roots', dropzoneIndex: 1 }, { optionText: 'Stem', dropzoneIndex: 2 }, { optionText: 'Seeds', dropzoneIndex: 2 }])
183
181
  matchingPage.steps.allotPoints(5);
184
182
  //matchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
183
+ matchingPage.steps.expandMaxCapacityPerDropzoneDropdown();
184
+ matchingPage.steps.selectOptionFromMaxCapacityPerDropzoneDropdown('2');
185
185
  });
186
186
 
187
187
  it('When the user selects \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
@@ -224,14 +224,14 @@ describe('Create Item page - Matching : Maximum capacity per dropzone section',
224
224
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
225
225
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionForMultipleOptions([['Petals', 'Leaves'], ['Roots'], ['Stem', 'Seeds']]);
226
226
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
227
- /* cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' button, then incorrect icon should be displayed besides the incorrect answer responses and correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
228
- matchingPage.steps.checkAnswer();
229
- matchingPage.steps.verifyCorrectOptionIcon(0, 0);
230
- matchingPage.steps.verifyCorrectOptionIcon(0, 1);
231
- matchingPage.steps.verifyIncorrectOptionIcon(1, 0);
232
- matchingPage.steps.verifyCorrectOptionIcon(2, 0);
233
- matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
234
- matchingPage.steps.verifyCorrectAnswerSectionNotExists(); */
227
+ /* cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' button, then incorrect icon should be displayed besides the incorrect answer responses and correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
228
+ matchingPage.steps.checkAnswer();
229
+ matchingPage.steps.verifyCorrectOptionIcon(0, 0);
230
+ matchingPage.steps.verifyCorrectOptionIcon(0, 1);
231
+ matchingPage.steps.verifyIncorrectOptionIcon(1, 0);
232
+ matchingPage.steps.verifyCorrectOptionIcon(2, 0);
233
+ matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
234
+ matchingPage.steps.verifyCorrectAnswerSectionNotExists(); */
235
235
  });
236
236
 
237
237
  it('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
@@ -246,14 +246,14 @@ describe('Create Item page - Matching : Maximum capacity per dropzone section',
246
246
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
247
247
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionForMultipleOptions([['Petals', 'Leaves'], ['Roots'], ['Stem', 'Seeds']]);
248
248
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
249
- /* cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
250
- matchingPage.steps.checkAnswer();
251
- matchingPage.steps.verifyCorrectOptionIcon(0, 0);
252
- matchingPage.steps.verifyCorrectOptionIcon(0, 1);
253
- matchingPage.steps.verifyCorrectOptionIcon(1, 0);
254
- matchingPage.steps.verifyCorrectOptionIcon(2, 0);
255
- matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
256
- matchingPage.steps.verifyCorrectAnswerSectionNotExists(); */
249
+ /* cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
250
+ matchingPage.steps.checkAnswer();
251
+ matchingPage.steps.verifyCorrectOptionIcon(0, 0);
252
+ matchingPage.steps.verifyCorrectOptionIcon(0, 1);
253
+ matchingPage.steps.verifyCorrectOptionIcon(1, 0);
254
+ matchingPage.steps.verifyCorrectOptionIcon(2, 0);
255
+ matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
256
+ matchingPage.steps.verifyCorrectAnswerSectionNotExists(); */
257
257
  });
258
258
 
259
259
  it('When the user attempts the question partially correct with all the dropzone correctly attempted but with an extra option which is not set as correct answer, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section should be displayed along with numeration', () => {
@@ -270,16 +270,16 @@ describe('Create Item page - Matching : Maximum capacity per dropzone section',
270
270
  matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
271
271
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionForMultipleOptions([['Petals', 'Leaves'], ['Roots'], ['Stem', 'Seeds']]);
272
272
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
273
- /* cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but with an extra option which is not set as correct answer and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses and incorrect icon should be displayed besides the incorrect answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
274
- matchingPage.steps.checkAnswer();
275
- matchingPage.steps.verifyCorrectOptionIcon(0, 0);
276
- matchingPage.steps.verifyCorrectOptionIcon(0, 1);
277
- matchingPage.steps.verifyCorrectOptionIcon(1, 0);
278
- matchingPage.steps.verifyIncorrectOptionIcon(1, 1);
279
- matchingPage.steps.verifyCorrectOptionIcon(2, 0);
280
- matchingPage.steps.verifyCorrectOptionIcon(2, 1);
281
- matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
282
- matchingPage.steps.verifyCorrectAnswerSectionNotExists(); */
273
+ /* cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but with an extra option which is not set as correct answer and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses and incorrect icon should be displayed besides the incorrect answer responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
274
+ matchingPage.steps.checkAnswer();
275
+ matchingPage.steps.verifyCorrectOptionIcon(0, 0);
276
+ matchingPage.steps.verifyCorrectOptionIcon(0, 1);
277
+ matchingPage.steps.verifyCorrectOptionIcon(1, 0);
278
+ matchingPage.steps.verifyIncorrectOptionIcon(1, 1);
279
+ matchingPage.steps.verifyCorrectOptionIcon(2, 0);
280
+ matchingPage.steps.verifyCorrectOptionIcon(2, 1);
281
+ matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
282
+ matchingPage.steps.verifyCorrectAnswerSectionNotExists(); */
283
283
  });
284
284
 
285
285
  it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
@@ -273,13 +273,13 @@ describe('Create Item page - Matching : Student view settings', () => {
273
273
  before(() => {
274
274
  matchingPage.steps.navigateToCreateQuestion('matching');
275
275
  cy.barsPreLoaderWait();
276
+ matchingPage.steps.allotPoints(5);
276
277
  matchingPage.steps.addTextInQuestionInstructionsInputField('Matching');
277
278
  matchingPage.steps.enterTextInOptionInputField(options.slice(0, 3));
278
279
  matchingPage.steps.checkAllowMultipleInstancesOfSameDraggableOptionCheckbox();
279
280
  matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Petals', dropzoneIndex: 0 }]);
280
281
  matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Petals', dropzoneIndex: 1 }]);
281
282
  matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Leaves', dropzoneIndex: 2 }]);
282
- matchingPage.steps.allotPoints(5);
283
283
  matchingPage.steps.switchToPreviewTab();
284
284
  });
285
285
 
@@ -241,11 +241,11 @@ describe('Create Item page - Matching : Student view settings for grouped option
241
241
  matchingPage.steps.addGroupTitle(groupTitles[0]);
242
242
  matchingPage.steps.addMultipleOptionFields(1);
243
243
  matchingPage.steps.enterTextInOptionInputField(animals[0]);
244
+ matchingPage.steps.allotPoints(5);
244
245
  matchingPage.steps.checkAllowMultipleInstancesOfSameDraggableOptionCheckbox();
245
246
  matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }]);
246
247
  matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 1 }]);
247
248
  matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Elephant', dropzoneIndex: 2 }]);
248
- matchingPage.steps.allotPoints(5);
249
249
  matchingPage.steps.switchToPreviewTab();
250
250
  });
251
251
 
@@ -26,9 +26,9 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
26
26
 
27
27
  it('When the user sets correct answer responses and allots points, then the alloted points should be displayed in the preview tab', () => {
28
28
  multipleSelectionPage.steps.switchToEditTab();
29
+ multipleSelectionPage.steps.allotPoints(20);
29
30
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(0);
30
31
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(1);
31
- multipleSelectionPage.steps.allotPoints(20);
32
32
  multipleSelectionPage.steps.switchToPreviewTab();
33
33
  multipleSelectionPage.steps.verifyPreviewScore(0, 20);
34
34
  });
@@ -53,9 +53,9 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
53
53
  cy.barsPreLoaderWait();
54
54
  multipleSelectionPage.steps.addTextInQuestionInstructionsInputField('Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.')
55
55
  multipleSelectionPage.steps.addInputToOptionsInputField(options);
56
+ multipleSelectionPage.steps.allotPoints(20);
56
57
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(0);
57
58
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(1);
58
- multipleSelectionPage.steps.allotPoints(20);
59
59
  multipleSelectionPage.steps.switchToPreviewTab();
60
60
  break;
61
61
  case 'Item preview':
@@ -24,10 +24,10 @@ describe('Create item page - Multiple selection: All or nothing with alternative
24
24
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(2);
25
25
  multipleSelectionPage.steps.allotPoints(20);
26
26
  multipleSelectionPage.steps.clickOnAddAlternativeAnswerButton();
27
+ multipleSelectionPage.steps.allotPoints(10);
27
28
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(2);
28
29
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(3);
29
30
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(4);
30
- multipleSelectionPage.steps.allotPoints(10);
31
31
  //multipleSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
32
32
  multipleSelectionPage.steps.switchToPreviewTab();
33
33
  });
@@ -327,10 +327,10 @@ describe('Create item page - Multiple selection: All or nothing with alternative
327
327
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(2);
328
328
  multipleSelectionPage.steps.allotPoints(10);
329
329
  multipleSelectionPage.steps.clickOnAddAlternativeAnswerButton();
330
+ multipleSelectionPage.steps.allotPoints(20);
330
331
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(2);
331
332
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(3);
332
333
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(4);
333
- multipleSelectionPage.steps.allotPoints(20);
334
334
  //multipleSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
335
335
  multipleSelectionPage.steps.switchToPreviewTab();
336
336
  });
@@ -570,10 +570,10 @@ describe('Create item page - Multiple selection: All or nothing with alternative
570
570
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(2);
571
571
  multipleSelectionPage.steps.allotPoints(20);
572
572
  multipleSelectionPage.steps.clickOnAddAlternativeAnswerButton();
573
+ multipleSelectionPage.steps.allotPoints(20);
573
574
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(2);
574
575
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(3);
575
576
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(4);
576
- multipleSelectionPage.steps.allotPoints(20);
577
577
  //multipleSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
578
578
  multipleSelectionPage.steps.switchToPreviewTab();
579
579
  });
@@ -34,9 +34,9 @@ describe('Multiple selection create question page accessibility checks', functio
34
34
  cy.loginAs('admin');
35
35
  multipleSelectionPage.steps.navigateToCreateQuestion('multiple selection');
36
36
  multipleSelectionPage.steps.addQuestionInstructions();
37
+ multipleSelectionPage.steps.allotPoints(5);
37
38
  multipleSelectionPage.steps.addInputToOptionsInputField(options);
38
39
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(0);
39
- multipleSelectionPage.steps.allotPoints(5);
40
40
  multipleSelectionPage.steps.switchToPreviewTab();
41
41
  });
42
42
 
@@ -22,10 +22,10 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
22
22
  multipleSelectionPage.steps.allotPoints(20);
23
23
  multipleSelectionPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
24
24
  multipleSelectionPage.steps.clickOnAddAlternativeAnswerButton();
25
+ multipleSelectionPage.steps.allotPoints(10);
25
26
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(2);
26
27
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(3);
27
28
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(4);
28
- multipleSelectionPage.steps.allotPoints(10);
29
29
  //multipleSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
30
30
  multipleSelectionPage.steps.switchToPreviewTab();
31
31
  });
@@ -341,10 +341,10 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
341
341
  multipleSelectionPage.steps.allotPoints(10);
342
342
  multipleSelectionPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
343
343
  multipleSelectionPage.steps.clickOnAddAlternativeAnswerButton();
344
+ multipleSelectionPage.steps.allotPoints(20);
344
345
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(2);
345
346
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(3);
346
347
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(4);
347
- multipleSelectionPage.steps.allotPoints(20);
348
348
  //multipleSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
349
349
  multipleSelectionPage.steps.switchToPreviewTab();
350
350
  });
@@ -636,10 +636,10 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
636
636
  multipleSelectionPage.steps.allotPoints(20);
637
637
  multipleSelectionPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
638
638
  multipleSelectionPage.steps.clickOnAddAlternativeAnswerButton();
639
+ multipleSelectionPage.steps.allotPoints(20);
639
640
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(2);
640
641
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(3);
641
642
  multipleSelectionPage.steps.checkOptionsCheckboxInSpecifyCorrectAnswerSection(4);
642
- multipleSelectionPage.steps.allotPoints(20);
643
643
  //multipleSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
644
644
  multipleSelectionPage.steps.switchToPreviewTab();
645
645
  });
@@ -13,11 +13,11 @@ describe('Create item page - Multiple selection grid: Partial equal weights', ()
13
13
  cy.barsPreLoaderWait();
14
14
  multipleSelectionGridPage.steps.addTextInQuestionInstructionsInputField('Please select following animals facts are correct or not')
15
15
  multipleSelectionGridPage.steps.setRowsAndColumnsForBasicQuestion();
16
+ multipleSelectionGridPage.steps.allotPoints(15);
16
17
  multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 3, column: 0 }, 'Whale are mammals');
17
18
  multipleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 4, column: 0 }, 'Tigers can jump upto 3 metres');
18
19
  multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSpecifyCorrectAnswerSection([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
19
20
  multipleSelectionGridPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
20
- multipleSelectionGridPage.steps.allotPoints(15);
21
21
  //multipleSelectionGridPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
22
22
  multipleSelectionGridPage.steps.switchToPreviewTab();
23
23
  });
@@ -48,9 +48,9 @@ describe('Create item page - Short text response: All or nothing', () => {
48
48
  case 'Question preview':
49
49
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
50
50
  cy.barsPreLoaderWait();
51
+ shortTextResponsePage.steps.allotPoints(20);
51
52
  shortTextResponsePage.steps.addTextInQuestionInstructionsInputField('Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.')
52
53
  shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Buildings');
53
- shortTextResponsePage.steps.allotPoints(20);
54
54
  shortTextResponsePage.steps.switchToPreviewTab();
55
55
  break;
56
56
  case 'Item preview':
@@ -16,8 +16,8 @@ describe('Create item page - Single selection: All or nothing with alternative a
16
16
  shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Buildings');
17
17
  shortTextResponsePage.steps.allotPoints(20);
18
18
  shortTextResponsePage.steps.clickOnAddAlternativeAnswerButton();
19
- shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Fossil fuel combustion');
20
19
  shortTextResponsePage.steps.allotPoints(10);
20
+ shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Fossil fuel combustion');
21
21
  //shortTextResponsePage.steps.checkAllowStudentToCheckAnswerCheckbox();
22
22
  shortTextResponsePage.steps.switchToPreviewTab();
23
23
  });
@@ -113,8 +113,8 @@ describe('Create item page - Single selection: All or nothing with alternative a
113
113
  shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Buildings');
114
114
  shortTextResponsePage.steps.allotPoints(10);
115
115
  shortTextResponsePage.steps.clickOnAddAlternativeAnswerButton();
116
- shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Fossil fuel combustion');
117
116
  shortTextResponsePage.steps.allotPoints(20);
117
+ shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Fossil fuel combustion');
118
118
  //shortTextResponsePage.steps.checkAllowStudentToCheckAnswerCheckbox();
119
119
  shortTextResponsePage.steps.switchToPreviewTab();
120
120
  });
@@ -183,8 +183,8 @@ describe('Create item page - Single selection: All or nothing with alternative a
183
183
  shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Buildings');
184
184
  shortTextResponsePage.steps.allotPoints(20);
185
185
  shortTextResponsePage.steps.clickOnAddAlternativeAnswerButton();
186
- shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Fossil fuel combustion');
187
186
  shortTextResponsePage.steps.allotPoints(20);
187
+ shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Fossil fuel combustion');
188
188
  //shortTextResponsePage.steps.checkAllowStudentToCheckAnswerCheckbox();
189
189
  shortTextResponsePage.steps.switchToPreviewTab();
190
190
  });
@@ -28,8 +28,8 @@ describe('Create Item page - Single Selection: Scoring cases', () => {
28
28
 
29
29
  it('When the user sets correct answer responses and allots points, then the alloted points should be displayed in the preview tab', () => {
30
30
  singleSelectionPage.steps.switchToEditTab();
31
- singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(0);
32
31
  singleSelectionPage.steps.allotPoints(20);
32
+ singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(0);
33
33
  singleSelectionPage.steps.switchToPreviewTab();
34
34
  singleSelectionPage.steps.verifyPreviewScore(0, 20);
35
35
  });
@@ -51,10 +51,10 @@ describe('Create Item page - Single Selection: Scoring cases', () => {
51
51
  case 'Question preview':
52
52
  singleSelectionPage.steps.navigateToCreateQuestion('single selection');
53
53
  cy.barsPreLoaderWait();
54
- singleSelectionPage.steps.addTextInQuestionInstructionsInputField('Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.')
54
+ singleSelectionPage.steps.addTextInQuestionInstructionsInputField('Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.');
55
+ singleSelectionPage.steps.allotPoints(20);
55
56
  singleSelectionPage.steps.addInputToOptionsInputField(options);
56
57
  singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(1);
57
- singleSelectionPage.steps.allotPoints(20);
58
58
  singleSelectionPage.steps.switchToPreviewTab();
59
59
  break;
60
60
  case 'Item preview':
@@ -19,8 +19,8 @@ describe('Create item page - Single selection: All or nothing with alternative a
19
19
  singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(1);
20
20
  singleSelectionPage.steps.allotPoints(20);
21
21
  singleSelectionPage.steps.clickOnAddAlternativeAnswerButton();
22
- singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(2);
23
22
  singleSelectionPage.steps.allotPoints(10);
23
+ singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(2);
24
24
  //singleSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
25
25
  singleSelectionPage.steps.switchToPreviewTab();
26
26
  });
@@ -140,8 +140,8 @@ describe('Create item page - Single selection: All or nothing with alternative a
140
140
  singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(1);
141
141
  singleSelectionPage.steps.allotPoints(10);
142
142
  singleSelectionPage.steps.clickOnAddAlternativeAnswerButton();
143
- singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(2);
144
143
  singleSelectionPage.steps.allotPoints(20);
144
+ singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(2);
145
145
  //singleSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
146
146
  singleSelectionPage.steps.switchToPreviewTab();
147
147
  });
@@ -239,8 +239,8 @@ describe('Create item page - Single selection: All or nothing with alternative a
239
239
  singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(1);
240
240
  singleSelectionPage.steps.allotPoints(20);
241
241
  singleSelectionPage.steps.clickOnAddAlternativeAnswerButton();
242
- singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(2);
243
242
  singleSelectionPage.steps.allotPoints(20);
243
+ singleSelectionPage.steps.checkOptionInSpecifyCorrectAnswerSection(2);
244
244
  //singleSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
245
245
  singleSelectionPage.steps.switchToPreviewTab();
246
246
  });
@@ -11,13 +11,13 @@ describe('Create item page - Single selection grid: Partial equal weights', () =
11
11
  before(() => {
12
12
  singleSelectionGridPage.steps.navigateToCreateQuestion('single selection grid');
13
13
  cy.barsPreLoaderWait();
14
- singleSelectionGridPage.steps.addTextInQuestionInstructionsInputField('Please select following animals facts are correct or not')
14
+ singleSelectionGridPage.steps.addTextInQuestionInstructionsInputField('Please select following animals facts are correct or not');
15
+ singleSelectionGridPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
16
+ singleSelectionGridPage.steps.allotPoints(15);
15
17
  singleSelectionGridPage.steps.setRowsAndColumnsForBasicQuestion();
16
18
  singleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 3, column: 0 }, 'Whale are mammals');
17
19
  singleSelectionGridPage.steps.enterTextInCellPropertyInputField({ row: 4, column: 0 }, 'Tigers can jump upto 3 metres');
18
20
  singleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSpecifyCorrectAnswerSection([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
19
- singleSelectionGridPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
20
- singleSelectionGridPage.steps.allotPoints(15);
21
21
  //singleSelectionGridPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
22
22
  singleSelectionGridPage.steps.switchToPreviewTab();
23
23
  });
@@ -34,9 +34,9 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
34
34
  equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
35
35
  equationEditorFlyout.steps.clickOnOkButton();
36
36
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
37
+ textEntryMathPage.steps.allotPoints(20);
37
38
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
38
39
  equationEditorFlyout.steps.enterQuadraticEquation();
39
- textEntryMathPage.steps.allotPoints(20);
40
40
  textEntryMathPage.steps.switchToPreviewTab();
41
41
  textEntryMathPage.steps.verifyPreviewScore(0, 20);
42
42
  });
@@ -68,6 +68,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
68
68
  textEntryMathPage.steps.addResponseArea();
69
69
  textEntryMathPage.steps.addResponseArea();
70
70
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
71
+ textEntryMathPage.steps.allotPoints(20);
71
72
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
72
73
  equationEditorFlyout.steps.clearAll();
73
74
  equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
@@ -78,7 +79,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
78
79
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
79
80
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
80
81
  equationEditorFlyout.steps.enterEquationUsingPiSymbol();
81
- textEntryMathPage.steps.allotPoints(20);
82
82
  textEntryMathPage.steps.switchToPreviewTab();
83
83
  break;
84
84
  case 'Item preview':
@@ -21,6 +21,7 @@ describe('Create item page - Text entry math: Preview contents', () => {
21
21
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
22
22
  cy.barsPreLoaderWait();
23
23
  textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
24
+ textEntryMathPage.steps.allotPoints(10);
24
25
  textEntryMathPage.steps.addResponseArea();
25
26
  textEntryMathPage.steps.addResponseArea();
26
27
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
@@ -31,7 +32,6 @@ describe('Create item page - Text entry math: Preview contents', () => {
31
32
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
32
33
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
33
34
  equationEditorFlyout.steps.enterQuadraticEquation();
34
- textEntryMathPage.steps.allotPoints(10);
35
35
  textEntryMathPage.steps.switchToPreviewTab();
36
36
  break;
37
37
  case 'Item view':
@@ -32,6 +32,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
32
32
  it('When the user sets correct answer responses and allots points, then the alloted points should be displayed in the preview tab', () => {
33
33
  textEntryMathWithImagePage.steps.switchToEditTab();
34
34
  textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
35
+ textEntryMathWithImagePage.steps.allotPoints(20);
35
36
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
36
37
  equationEditorFlyout.steps.clearAll();
37
38
  equationEditorFlyout.steps.enterTextInPreviewInputField('Correct1');
@@ -39,7 +40,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
39
40
  textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
40
41
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
41
42
  equationEditorFlyout.steps.enterQuadraticEquation();
42
- textEntryMathWithImagePage.steps.allotPoints(20);
43
43
  textEntryMathWithImagePage.steps.switchToPreviewTab();
44
44
  textEntryMathWithImagePage.steps.verifyPreviewScore(0, 20);
45
45
  });
@@ -67,6 +67,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
67
67
  textEntryMathWithImagePage.steps.navigateToCreateQuestion('Text Entry Math');
68
68
  cy.barsPreLoaderWait();
69
69
  textEntryMathWithImagePage.steps.addBackground();
70
+ textEntryMathWithImagePage.steps.allotPoints(20);
70
71
  textEntryMathWithImagePage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
71
72
  textEntryMathWithImagePage.steps.uploadFile('highlightImage.jpg');
72
73
  textEntryMathWithImagePage.steps.verifyImageIsUploaded();
@@ -84,7 +85,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
84
85
  textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
85
86
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
86
87
  equationEditorFlyout.steps.enterEquationUsingPiSymbol();
87
- textEntryMathWithImagePage.steps.allotPoints(20);
88
88
  textEntryMathWithImagePage.steps.switchToPreviewTab();
89
89
  break;
90
90
  case 'Item preview':
@@ -20,6 +20,7 @@ describe('Create item page - Text entry math: Preview contents', () => {
20
20
  case 'Question preview':
21
21
  textEntryMathWithImagePage.steps.navigateToCreateQuestion('Text Entry Math');
22
22
  cy.barsPreLoaderWait();
23
+ textEntryMathWithImagePage.steps.allotPoints(10);
23
24
  textEntryMathWithImagePage.steps.addBackground();
24
25
  textEntryMathWithImagePage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
25
26
  textEntryMathWithImagePage.steps.uploadFile('highlightImage.jpg');
@@ -35,7 +36,6 @@ describe('Create item page - Text entry math: Preview contents', () => {
35
36
  textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
36
37
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
37
38
  equationEditorFlyout.steps.enterQuadraticEquation();
38
- textEntryMathWithImagePage.steps.allotPoints(10);
39
39
  textEntryMathWithImagePage.steps.switchToPreviewTab();
40
40
  break;
41
41
  case 'Item view':
@@ -17,9 +17,9 @@ describe('Create Item page - Text selection: Preview tab Scoring Section - All o
17
17
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
18
18
  textSelectionPage.steps.allotPoints(12);
19
19
  textSelectionPage.steps.addAlternativeAnswerAccordion(1);
20
+ textSelectionPage.steps.allotPoints(20);
20
21
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
21
22
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
22
- textSelectionPage.steps.allotPoints(20);
23
23
  //textSelectionPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
24
24
  textSelectionPage.steps.switchToPreviewTab();
25
25
  });
@@ -17,9 +17,9 @@ describe('Create Item page - Text selection: Preview tab Scoring Section - All o
17
17
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
18
18
  textSelectionPage.steps.allotPoints(20);
19
19
  textSelectionPage.steps.addAlternativeAnswerAccordion(1);
20
+ textSelectionPage.steps.allotPoints(20);
20
21
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
21
22
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
22
- textSelectionPage.steps.allotPoints(20);
23
23
  //textSelectionPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
24
24
  textSelectionPage.steps.switchToPreviewTab();
25
25
  });
@@ -17,9 +17,9 @@ describe('Create Item page - Text selection: Preview tab Scoring Section - All o
17
17
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
18
18
  textSelectionPage.steps.allotPoints(20);
19
19
  textSelectionPage.steps.addAlternativeAnswerAccordion(1);
20
+ textSelectionPage.steps.allotPoints(12);
20
21
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
21
22
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
22
- textSelectionPage.steps.allotPoints(12);
23
23
  //textSelectionPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
24
24
  textSelectionPage.steps.switchToPreviewTab();
25
25
  });
@@ -19,6 +19,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
19
19
  textSelectionPage.steps.navigateToCreateQuestion('text selection');
20
20
  cy.barsPreLoaderWait();
21
21
  textSelectionPage.steps.addQuestionInstructions();
22
+ textSelectionPage.steps.allotPoints(20);
22
23
  textSelectionPage.steps.clearQuestionInputField();
23
24
  paragraphTextArray.forEach((paragraphText) => {
24
25
  textSelectionPage.steps.addInputToQuestionInputField(`${paragraphText}{enter}`);
@@ -31,7 +32,6 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
31
32
  });
32
33
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(customTextSelectionArray[0]);
33
34
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(customTextSelectionArray[1]);
34
- textSelectionPage.steps.allotPoints(20);
35
35
  //textSelectionPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
36
36
  textSelectionPage.steps.switchToPreviewTab();
37
37
  });
@@ -127,6 +127,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
127
127
  textSelectionPage.steps.navigateToCreateQuestion('text selection');
128
128
  cy.barsPreLoaderWait();
129
129
  textSelectionPage.steps.addQuestionInstructions();
130
+ textSelectionPage.steps.allotPoints(20);
130
131
  textSelectionPage.steps.clearQuestionInputField();
131
132
  paragraphTextArray.forEach((paragraphText) => {
132
133
  textSelectionPage.steps.addInputToQuestionInputField(`${paragraphText}{enter}`);
@@ -139,7 +140,6 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
139
140
  textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(wordTextArray[3]);
140
141
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(wordTextArray[0]);
141
142
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(wordTextArray[1]);
142
- textSelectionPage.steps.allotPoints(20);
143
143
  //textSelectionPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
144
144
  textSelectionPage.steps.switchToPreviewTab();
145
145
  });
@@ -233,6 +233,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
233
233
  textSelectionPage.steps.navigateToCreateQuestion('text selection');
234
234
  cy.barsPreLoaderWait();
235
235
  textSelectionPage.steps.addQuestionInstructions();
236
+ textSelectionPage.steps.allotPoints(20);
236
237
  textSelectionPage.steps.clearQuestionInputField();
237
238
  paragraphTextArray.forEach((paragraphText) => {
238
239
  textSelectionPage.steps.addInputToQuestionInputField(`${paragraphText}{enter}`);
@@ -245,7 +246,6 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
245
246
  textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(sentenceTextArray[3]);
246
247
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(sentenceTextArray[0]);
247
248
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(sentenceTextArray[1]);
248
- textSelectionPage.steps.allotPoints(20);
249
249
  //textSelectionPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
250
250
  textSelectionPage.steps.switchToPreviewTab();
251
251
  });
@@ -22,10 +22,10 @@ describe('Create item page - Text selection: Partial equal with alternative answ
22
22
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
23
23
  textSelectionPage.steps.allotPoints(9);
24
24
  textSelectionPage.steps.addAlternativeAnswerAccordion(1);
25
+ textSelectionPage.steps.allotPoints(15);
25
26
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
26
27
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[3]);
27
28
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[4]);
28
- textSelectionPage.steps.allotPoints(15);
29
29
  //textSelectionPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
30
30
  textSelectionPage.steps.switchToPreviewTab();
31
31
  });
@@ -22,10 +22,10 @@ describe('Create item page - Text selection: Partial equal with alternative answ
22
22
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
23
23
  textSelectionPage.steps.allotPoints(15);
24
24
  textSelectionPage.steps.addAlternativeAnswerAccordion(1);
25
+ textSelectionPage.steps.allotPoints(15);
25
26
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
26
27
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[3]);
27
28
  textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[4]);
28
- textSelectionPage.steps.allotPoints(15);
29
29
  //textSelectionPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
30
30
  textSelectionPage.steps.switchToPreviewTab();
31
31
  });