itemengine-cypress-automation 1.0.166 → 1.0.169-uploadResponseMigration-83ab996.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +2 -2
  2. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +11 -22
  3. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/clickAndDrop.js +7 -18
  4. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/clickAndDrop.js +6 -11
  5. package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +1 -0
  6. package/cypress/e2e/ILC/Graphing/toolsControlsAndBackgroundSection.js +36 -2
  7. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +34 -22
  8. package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +24 -8
  9. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +25 -5
  10. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +114 -68
  11. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +111 -67
  12. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +123 -71
  13. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingScoringCellShadeCount.js +63 -41
  14. package/cypress/e2e/ILC/GridFill/scoring/manuallyAndNonScored.js +25 -21
  15. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsBasic.js +85 -50
  16. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +115 -68
  17. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +98 -54
  18. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +120 -72
  19. package/cypress/e2e/ILC/GridFill/studentViewSettingsSection.js +3 -3
  20. package/cypress/e2e/ILC/Matching/specifyCorrectAnswerSection.js +1 -1
  21. package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +4 -4
  22. package/cypress/fixtures/theme/ilc.json +26 -14
  23. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +1 -1
  24. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +0 -3
  25. package/cypress/pages/components/autoScoredStudentViewSettings.js +1 -1
  26. package/cypress/pages/components/colorPopupComponent.js +2 -2
  27. package/cypress/pages/components/gridQuestionCommonComponent.js +2 -629
  28. package/cypress/pages/components/index.js +0 -3
  29. package/cypress/pages/components/maximumCapacityPerDropzoneComponent.js +1 -1
  30. package/cypress/pages/components/measuringToolComponent.js +2 -2
  31. package/cypress/pages/components/scoringSectionBaseEditTab.js +1 -1
  32. package/cypress/pages/components/setPointsPopupBase.js +4 -6
  33. package/cypress/pages/components/specifyRowsAndColumnsComponent.js +3 -60
  34. package/cypress/pages/components/toolSettingsComponent.js +12 -80
  35. package/cypress/pages/dragAndDropIntoCategoriesPage.js +8 -0
  36. package/cypress/pages/feedbackScalePage.js +449 -591
  37. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +1 -3
  38. package/cypress/pages/graphingPage.js +145 -9
  39. package/cypress/pages/gridFillPage.js +120 -135
  40. package/cypress/pages/highlightPage.js +394 -0
  41. package/cypress/pages/index.js +2 -5
  42. package/cypress/pages/matchingPage.js +20 -78
  43. package/cypress/pages/multipleSelectionGridPage.js +1 -88
  44. package/cypress/pages/singleSelectionGridPage.js +0 -86
  45. package/cypress/support/migrationHelpers/extractLrnQuestionData.js +38 -1
  46. package/cypress/support/migrationHelpers/lrnQestionTypesENUM.js +1 -0
  47. package/cypress/support/migrationHelpers/migrationScript.js +4 -0
  48. package/cypress/support/migrationHelpers/verifyIeQuestionData.js +34 -2
  49. package/package.json +2 -2
  50. package/cypress/e2e/ILC/BrainingCampManipulative/additionalSettings.js +0 -83
  51. package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +0 -200
  52. package/cypress/e2e/ILC/BrainingCampManipulative/editTabScoringSection.js +0 -56
  53. package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -95
  54. package/cypress/e2e/ILC/BrainingCampManipulative/headerSection.js +0 -71
  55. package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +0 -72
  56. package/cypress/e2e/ILC/BrainingCampManipulative/toolSettings.js +0 -71
  57. package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettings.js +0 -432
  58. package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettingsBasic.js +0 -134
  59. package/cypress/e2e/ILC/FeedbackScaleNew/feedbackScaleStylePreviewTab.js +0 -161
  60. package/cypress/e2e/ILC/FeedbackScaleNew/numbersFeedbackScaleStyle.js +0 -308
  61. package/cypress/e2e/ILC/FeedbackScaleNew/previewContentsForAllViews.smoke.js +0 -216
  62. package/cypress/e2e/ILC/FeedbackScaleNew/starsHeartsFeedbackScaleStyle.js +0 -336
  63. package/cypress/e2e/ILC/FeedbackScaleNew/textFeedbackScaleStyle.js +0 -570
  64. package/cypress/e2e/ILC/FeedbackScaleNew/thumbsFeedbackScaleStyle.js +0 -214
  65. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettings.js +0 -356
  66. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettingsResponseAccordion.js +0 -299
  67. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +0 -355
  68. package/cypress/e2e/ILC/Matching/maximumCapacityPerDropzoneSection.js +0 -309
  69. package/cypress/e2e/ILC/Matching/toolSettings.js +0 -72
  70. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabBasicSection.js +0 -1033
  71. package/cypress/e2e/ILC/MultipleSelectionGridNew/test.js +0 -28
  72. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +0 -236
  73. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +0 -239
  74. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +0 -278
  75. package/cypress/e2e/ILC/NumberLine/Scoring/manualAndNonScoredScoring.js +0 -178
  76. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsBasic.js +0 -407
  77. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithAlternatePointsGreaterThanCorrectPoints.js +0 -273
  78. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternatePoints.js +0 -278
  79. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeigtsWithCorrectPointsEqualToAlternatePoints.js +0 -228
  80. package/cypress/e2e/ILC/NumberLine/additionalSettings.js +0 -120
  81. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +0 -659
  82. package/cypress/e2e/ILC/NumberLine/checkAnswerFunctionalityForAllViews.smoke.js +0 -149
  83. package/cypress/e2e/ILC/NumberLine/editTabScoringSection.js +0 -151
  84. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +0 -171
  85. package/cypress/e2e/ILC/NumberLine/headerSection.js +0 -76
  86. package/cypress/e2e/ILC/NumberLine/minimumScoringPenaltyPointsAndRoundingDropdown.js +0 -54
  87. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +0 -200
  88. package/cypress/e2e/ILC/NumberLine/specifyCorrectAnswerSection.js +0 -67
  89. package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +0 -135
  90. package/cypress/e2e/ILC/NumberLine/toolSettings.js +0 -73
  91. package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +0 -372
  92. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabBasicSection.js +0 -1014
  93. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +0 -235
  94. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -235
  95. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +0 -235
  96. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsBasic.js +0 -457
  97. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +0 -342
  98. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +0 -342
  99. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +0 -342
  100. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsBasic.js +0 -155
  101. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +0 -314
  102. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +0 -275
  103. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +0 -314
  104. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +0 -290
  105. package/cypress/e2e/ILC/TextSelection/checkAnswerFunctionalityForAllViews.smoke.js +0 -142
  106. package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.js +0 -137
  107. package/cypress/pages/brainingCampManipulativePage.js +0 -122
  108. package/cypress/pages/components/defaultToolDropdown.js +0 -77
  109. package/cypress/pages/components/resetPopupComponent.js +0 -74
  110. package/cypress/pages/components/toolsAndControlsComponent.js +0 -69
  111. package/cypress/pages/feedbackScalePage copy.js +0 -716
  112. package/cypress/pages/numberLinePage.js +0 -723
  113. package/cypress/pages/textSelectionPage.js +0 -582
@@ -1,457 +0,0 @@
1
- import { textSelectionPage } from "../../../../pages";
2
- import abortEarlySetup from "../../../../support/helpers/abortEarly";
3
- import utilities from "../../../../support/helpers/utilities";
4
-
5
- const paragraphTextArray = ['All animals have a unique role to play in maintaining the balance of nature.', 'A lot of animal species exist in both, land and water. As a result, each of them has a purpose for their existence.', 'The animals divide into specific groups in biology. Amphibians are those which can live on both, land and water.', 'Mammals are ones which give birth to their offspring in the womb and have mammary glands.', 'Birds are creatures with feathers, beaks, and the ability to lay eggs.', 'Many animal species are undocumented even today.', 'Research is going on to discover new species in the far corners of the earth']
6
-
7
- describe('Create item page - Text selection: Partial different weights', () => {
8
- before(() => {
9
- cy.loginAs('admin');
10
- });
11
-
12
- describe('Auto scored - Partial different weights', () => {
13
- abortEarlySetup();
14
- before(() => {
15
- textSelectionPage.steps.navigateToCreateQuestion('text selection');
16
- cy.barsPreLoaderWait();
17
- textSelectionPage.steps.setQuestionAndOptionsInEditTab();
18
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[0]);
19
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
20
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
21
- textSelectionPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
22
- textSelectionPage.steps.addPartialDifferentWeightsPointsInSetPointsPopup(['9', '6', '5']);
23
- textSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
24
- textSelectionPage.steps.switchToPreviewTab();
25
- });
26
-
27
- it('When the user selects \'Grading\' view without attempting the question, correct answers section with a label \'Correct answers\' should be displayed with correct answers', () => {
28
- textSelectionPage.steps.verifyPreviewScore(0, 20);
29
- textSelectionPage.steps.switchToGradingView();
30
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[0]);
31
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[1]);
32
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
33
- utilities.verifyInnerText(textSelectionPage.correctAnswersLabel(), 'Correct answers');
34
- textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
35
- textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
36
- textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[2]);
37
- textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
38
- });
39
-
40
- it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, red cross-marks should be displayed besides all incorrect responses, a status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
41
- textSelectionPage.steps.resetQuestionPreview();
42
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
43
- textSelectionPage.steps.verifyPreviewScore(0, 20);
44
- textSelectionPage.steps.switchToGradingView();
45
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[0]);
46
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[1]);
47
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
48
- textSelectionPage.steps.verifyIncorrectIconForOption(paragraphTextArray[3]);
49
- textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
50
- textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
51
- textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[2]);
52
- textSelectionPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
53
- textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
54
- cy.log('When user clicks on Check answer button after attempting the question incorrectly, then incorrect icons should be displayed besides all incorrect responses, status message and correct answer section should not be displayed')
55
- textSelectionPage.steps.checkAnswer();
56
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[0]);
57
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[1]);
58
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
59
- textSelectionPage.steps.verifyIncorrectIconForOption(paragraphTextArray[3]);
60
- textSelectionPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
61
- textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();
62
- });
63
-
64
- it('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options, then the user should be awarded points alloted to the responses and on switching to \'Grading\' view, green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed besides incorrect answer response, a status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
65
- textSelectionPage.steps.resetQuestionPreview();
66
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
67
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
68
- textSelectionPage.steps.verifyPreviewScore(9, 20);
69
- textSelectionPage.steps.switchToGradingView();
70
- textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[0]);
71
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[1]);
72
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
73
- textSelectionPage.steps.verifyIncorrectIconForOption(paragraphTextArray[3]);
74
- textSelectionPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
75
- textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
76
- textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
77
- textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[2]);
78
- textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
79
- cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed besides incorrect answer response, a status message should not be displayed and correct answer section should not be displayed')
80
- textSelectionPage.steps.checkAnswer();
81
- textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[0]);
82
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[1]);
83
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[2]);
84
- textSelectionPage.steps.verifyIncorrectIconForOption(paragraphTextArray[3]);
85
- textSelectionPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
86
- textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();
87
- });
88
-
89
- it('When the user attempts the question partially correct with all the responses correctly attempted but one response incomplete, then the user should be awarded points of the correctly attempted responses and on switching to \'Grading\' view, green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed besides incorrect answer response, a status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
90
- textSelectionPage.steps.resetQuestionPreview();
91
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
92
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
93
- textSelectionPage.steps.verifyPreviewScore(11, 20);
94
- textSelectionPage.steps.switchToGradingView();
95
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[0]);
96
- textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[1]);
97
- textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[2]);
98
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
99
- textSelectionPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
100
- textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
101
- textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
102
- textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[2]);
103
- textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
104
- cy.log('When the user attempts the question partially correct with all the responses correctly attempted but one response incomplete and clicks on \'Check answer\' green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed besides incorrect answer response, a status message should not be displayed and correct answer section should not be displayed')
105
- textSelectionPage.steps.checkAnswer();
106
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[0]);
107
- textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[1]);
108
- textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[2]);
109
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
110
- textSelectionPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
111
- textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();
112
- });
113
-
114
- it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then green check-marks should be displayed beside all the correct responses, green check-mark should be displayed besides the correct answer responses, a status message and correct answer section should not be displayed', () => {
115
- textSelectionPage.steps.resetQuestionPreview();
116
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
117
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
118
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
119
- textSelectionPage.steps.verifyPreviewScore(20, 20);
120
- textSelectionPage.steps.switchToGradingView();
121
- textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[0]);
122
- textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[1]);
123
- textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[2]);
124
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
125
- textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();
126
- textSelectionPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
127
- textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
128
- cy.log('When the user attempts the question with all the responses correctly attempted and clicks on \'Check answer\' green check-mark should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
129
- textSelectionPage.steps.checkAnswer();
130
- textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[0]);
131
- textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[1]);
132
- textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[2]);
133
- textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[3]);
134
- textSelectionPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
135
- textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();
136
- });
137
- });
138
-
139
- describe('Question preview: Auto scored - Partial different weights: Minimum scoring', () => {
140
- abortEarlySetup();
141
- before(() => {
142
- textSelectionPage.steps.navigateToCreateQuestion('text selection');
143
- cy.barsPreLoaderWait();
144
- textSelectionPage.steps.setQuestionAndOptionsInEditTab();
145
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[0]);
146
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
147
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
148
- textSelectionPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
149
- textSelectionPage.steps.addPartialDifferentWeightsPointsInSetPointsPopup(['1', '6', '5']);
150
- textSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
151
- });
152
-
153
- it('When the user selects \'Award minimum score\' from the minimum scoring dropdown, does not attempt the question and switches to grading view, then the user should be awarded with minimum points', () => {
154
- textSelectionPage.steps.expandMinimumScoringDropdown();
155
- textSelectionPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score');
156
- textSelectionPage.steps.allotMinimumPoints(2);
157
- textSelectionPage.steps.switchToPreviewTab();
158
- textSelectionPage.steps.switchToGradingView();
159
- textSelectionPage.steps.verifyPreviewScore(2, 12);
160
- textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
161
- });
162
-
163
- it('When the user has selected \'Award minimum score\' from the minimum scoring dropdown, attempts the question incorrectly and switches to grading view, the user should be awarded with minimum points', () => {
164
- textSelectionPage.steps.resetQuestionPreview();
165
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
166
- textSelectionPage.steps.verifyPreviewScore(2, 12);
167
- textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
168
- });
169
-
170
- it('When the user selects \'Award minimum score only if attempted\' from the minimum scoring dropdown, does not attempt the question and switches to grading view, then the user should be awarded with 0 points', () => {
171
- textSelectionPage.steps.switchToEditTab();
172
- textSelectionPage.steps.expandMinimumScoringDropdown();
173
- textSelectionPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
174
- textSelectionPage.steps.allotMinimumPoints(2);
175
- textSelectionPage.steps.switchToPreviewTab();
176
- textSelectionPage.steps.switchToGradingView();
177
- textSelectionPage.steps.verifyPreviewScore(0, 12);
178
- textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
179
- });
180
-
181
- it('When the user has selected \'Award minimum score only if attempted\' from the minimum scoring dropdown, attempts the question incorrectly and switches to grading view, the user should be awarded with minimum points', () => {
182
- textSelectionPage.steps.resetQuestionPreview();
183
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
184
- textSelectionPage.steps.verifyPreviewScore(2, 12);
185
- });
186
-
187
- it('When the user attempts the question partially correct such that points of the correctly attempted option are greater than minimum points, then the user should be awarded with points as per the correctly attempted response', () => {
188
- textSelectionPage.steps.resetQuestionPreview();
189
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
190
- textSelectionPage.steps.verifyPreviewScore(6, 12);
191
- });
192
-
193
- it('When the user attempts the question partially correct such that minimum points are greater than points of the correctly attempted option, then the user should be awarded with minimum points', () => {
194
- textSelectionPage.steps.resetQuestionPreview();
195
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
196
- textSelectionPage.steps.verifyPreviewScore(2, 12);
197
- });
198
- });
199
-
200
- describe('Question preview: Auto scored - Partial different weights: Rounding', () => {
201
- abortEarlySetup();
202
- before(() => {
203
- textSelectionPage.steps.navigateToCreateQuestion('text selection');
204
- cy.barsPreLoaderWait();
205
- textSelectionPage.steps.setQuestionAndOptionsInEditTab();
206
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[0]);
207
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
208
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
209
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[3]);
210
- textSelectionPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
211
- textSelectionPage.steps.addPartialDifferentWeightsPointsInSetPointsPopup(['2.67', '1.99', '1.34', '4.5']);
212
- });
213
-
214
- it('When the user sets \'Rounding\' to \'Round down if <=0.99\', attempts the question partially correct with an option such that points of the correctly attempted options has decimal value greater than 0.5 and less than 0.99, then the points awarded should be rounded down to the nearest integer value', () => {
215
- textSelectionPage.steps.expandRoundingDropdown();
216
- textSelectionPage.steps.selectOptionFromRoundingDropdown('round down if <= 0.99');
217
- textSelectionPage.steps.switchToPreviewTab();
218
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
219
- textSelectionPage.steps.verifyPreviewScore(2, 10.5);
220
- });
221
-
222
- it('When the user has set \'Rounding\' to \'Round down if <=0.99\', attempts the question partially correct with an option such that points of the correctly attempted options has decimal value equal to 0.99, then the points awarded should be rounded down to the nearest integer value', () => {
223
- textSelectionPage.steps.resetQuestionPreview();
224
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
225
- textSelectionPage.steps.verifyPreviewScore(1, 10.5);
226
- });
227
-
228
- it('When the user sets \'Rounding\' to \'Round down if <=0.50\', attempts the question partially correct with an option such that points of the correctly attempted options has decimal value less than 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
229
- textSelectionPage.steps.switchToEditTab();
230
- textSelectionPage.steps.expandRoundingDropdown();
231
- textSelectionPage.steps.selectOptionFromRoundingDropdown('round down if <= 0.50');
232
- textSelectionPage.steps.switchToPreviewTab();
233
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
234
- textSelectionPage.steps.verifyPreviewScore(1, 10.5);
235
- });
236
-
237
- it('When the user has set \'Rounding\' to \'Round down if <=0.50\', attempts the question partially correct with an option such that points of the correctly attempted options has decimal value equal to 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
238
- textSelectionPage.steps.resetQuestionPreview();
239
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
240
- textSelectionPage.steps.verifyPreviewScore(4, 10.5);
241
- });
242
-
243
- it('When the user sets \'Rounding\' to \'Round down if <=0.50, Round up if > 0.50\', attempts the question partially correct with an option such that points of the correctly attempted options has decimal value less than 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
244
- textSelectionPage.steps.switchToEditTab();
245
- textSelectionPage.steps.expandRoundingDropdown();
246
- textSelectionPage.steps.selectOptionFromRoundingDropdown('round down if <= 0.50; Round up if > 0.50');
247
- textSelectionPage.steps.switchToPreviewTab();
248
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
249
- textSelectionPage.steps.verifyPreviewScore(1, 10.5);
250
- });
251
-
252
- it('When the user has set \'Rounding\' to \'Round down if <=0.50, Round up if > 0.50\', attempts the question partially correct with an option such that points of the correctly attempted options has decimal value equal to 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
253
- textSelectionPage.steps.resetQuestionPreview();
254
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
255
- textSelectionPage.steps.verifyPreviewScore(4, 10.5);
256
- });
257
-
258
- it('When the user has set \'Rounding\' to \'Round down if <=0.50, Round up if > 0.50\', attempts the question partially correct with an option such that points of the correctly attempted options has decimal value greater than 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
259
- textSelectionPage.steps.resetQuestionPreview();
260
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
261
- textSelectionPage.steps.verifyPreviewScore(3, 10.5);
262
- });
263
-
264
- it('When \'Round negative score to zero\' is in checked state and the user attempts the question incorrectly, then the user should be awarded with 0 points', () => {
265
- cy.log('Pre-step: Setting penalty scoring to \'Penalty points for the entire question\', allotting penalty points')
266
- textSelectionPage.steps.switchToEditTab();
267
- textSelectionPage.steps.expandPenaltyScoringDropdown();
268
- textSelectionPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for the entire question');
269
- textSelectionPage.steps.allotPenaltyPoints(4);
270
- textSelectionPage.steps.switchToPreviewTab();
271
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[4]);
272
- textSelectionPage.steps.verifyPreviewScore(0, 10.5);
273
- });
274
-
275
- it('When the user unchecks \'Round negative score to zero\' checkbox and the user attempts the question incorrectly, then the user should be awarded with negative points', () => {
276
- textSelectionPage.steps.switchToEditTab();
277
- textSelectionPage.steps.uncheckRoundNegativeScoresToZeroCheckbox();
278
- textSelectionPage.steps.switchToPreviewTab();
279
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[4]);
280
- textSelectionPage.steps.verifyPreviewScore(-4, 10.5);
281
- });
282
- });
283
-
284
- //Failing due to https://redmine.zeuslearning.com/issues/567111
285
- describe('Question preview: Auto scored - Partial different weights: Penalty scoring with \'Round negative score to zero\' unchecked', () => {
286
- abortEarlySetup();
287
- before(() => {
288
- textSelectionPage.steps.navigateToCreateQuestion('text selection');
289
- cy.barsPreLoaderWait();
290
- textSelectionPage.steps.setQuestionAndOptionsInEditTab();
291
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[0]);
292
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
293
- textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
294
- textSelectionPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
295
- textSelectionPage.steps.addPartialDifferentWeightsPointsInSetPointsPopup(['9', '6', '5']);
296
- textSelectionPage.steps.checkAllowStudentToCheckAnswerCheckbox();
297
- });
298
-
299
- //Penalty points for the entire question
300
- it('When the user sets penalty scoring to \'Penalty points for the entire question\', allots penalty points and attempts the question incorrectly, then the user should be awarded with negative points', () => {
301
- textSelectionPage.steps.expandPenaltyScoringDropdown();
302
- textSelectionPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for the entire question');
303
- textSelectionPage.steps.uncheckRoundNegativeScoresToZeroCheckbox();
304
- textSelectionPage.steps.allotPenaltyPoints(4);
305
- textSelectionPage.steps.switchToPreviewTab();
306
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
307
- textSelectionPage.steps.verifyPreviewScore(-4, 20);
308
- });
309
-
310
- it('When the user attempts the question correctly along with an incorrect response, then penalty points should get deducted from the awarded points', () => {
311
- textSelectionPage.steps.resetQuestionPreview();
312
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
313
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
314
- textSelectionPage.steps.verifyPreviewScore(5, 20);
315
- });
316
-
317
- it('When the user attempts the question correctly along with multiple incorrect responses, then penalty points should get deducted from the awarded points only once, the deducted penalty points should not increase as per number of attempted incorrect responses', () => {
318
- textSelectionPage.steps.resetQuestionPreview();
319
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
320
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
321
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[4]);
322
- textSelectionPage.steps.verifyPreviewScore(5, 20);
323
- });
324
-
325
- it('When the user has defined penalty points and also sets minimum scoring to \'Award minimum score only if attempted\' and allots minimum points, then on attempting the question incorrectly, minimum points should be awarded', () => {
326
- textSelectionPage.steps.switchToEditTab();
327
- textSelectionPage.steps.expandMinimumScoringDropdown();
328
- textSelectionPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
329
- textSelectionPage.steps.allotMinimumPoints(3);
330
- textSelectionPage.steps.switchToPreviewTab();
331
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
332
- textSelectionPage.steps.verifyPreviewScore(3, 20);
333
- cy.log('Post step: Switching to edit tab and resetting minimum scoring to "No minimum score"')
334
- textSelectionPage.steps.switchToEditTab();
335
- textSelectionPage.steps.expandMinimumScoringDropdown();
336
- textSelectionPage.steps.selectOptionFromMinimumScoringDropdown('No minimum score');
337
- });
338
-
339
- // Penalty points for each incorrect answer - Specify total penalty points
340
- it('When the user sets penalty scoring to \'Penalty points for each incorrect answer\', and \'Specify total penalty points\' radio button in checked state, allots total penalty points and attempts the question incorrectly, then the user should be awarded with negative points of all the empty and incorrect answer', () => {
341
- textSelectionPage.steps.expandPenaltyScoringDropdown();
342
- textSelectionPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for each incorrect answer');
343
- textSelectionPage.steps.allotTotalPenaltyPoints(4);
344
- textSelectionPage.steps.switchToPreviewTab();
345
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
346
- textSelectionPage.steps.verifyPreviewScore(-4, 20);
347
- });
348
-
349
- it('When the user attempts the question correctly along with an incorrect option, then penalty points should get deducted from the awarded points', () => {
350
- textSelectionPage.steps.resetQuestionPreview();
351
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
352
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
353
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
354
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
355
- textSelectionPage.steps.verifyPreviewScore(19, 20);
356
- });
357
-
358
- it('When the user attempts the question correctly along with multiple incorrect options, then penalty points for each incorrect answer should get deducted from the awarded points', () => {
359
- textSelectionPage.steps.resetQuestionPreview();
360
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
361
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
362
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
363
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
364
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[4]);
365
- textSelectionPage.steps.verifyPreviewScore(18, 20);
366
- });
367
-
368
- it('When the user has defined penalty points and also sets minimum scoring to \'Award minimum score only if attempted\' and allots minimum points, then on attempting the question incorrectly, minimum points should be awarded', () => {
369
- textSelectionPage.steps.switchToEditTab();
370
- textSelectionPage.steps.expandMinimumScoringDropdown();
371
- textSelectionPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
372
- textSelectionPage.steps.allotMinimumPoints(3);
373
- textSelectionPage.steps.switchToPreviewTab();
374
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
375
- textSelectionPage.steps.verifyPreviewScore(3, 20);
376
- cy.log('Post step: Switching to edit tab and resetting minimum scoring to "No minimum score"')
377
- textSelectionPage.steps.switchToEditTab();
378
- textSelectionPage.steps.expandMinimumScoringDropdown();
379
- textSelectionPage.steps.selectOptionFromMinimumScoringDropdown('No minimum score');
380
- });
381
-
382
- //Penalty points for each incorrect answer - Specify points for each incorrect answer
383
- it('When the user has set penalty scoring to \'Penalty points for each incorrect answer\', and \'Specify total penalty points\' radio button in checked state, allots total penalty points and attempts the question incorrectly, then the user should be awarded with negative points for the incorrect and empty answer', () => {
384
- textSelectionPage.steps.selectPenaltyPointsForEachIncorrectOptionType('Specify points for each incorrect option');
385
- textSelectionPage.steps.allotPenaltyPointsForEachIncorrectOption(4);
386
- textSelectionPage.steps.switchToPreviewTab();
387
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
388
- textSelectionPage.steps.verifyPreviewScore(-12, 20);
389
- });
390
-
391
- it('When the user attempts the question correctly along with an incorrect option, then penalty points should get deducted from the awarded points', () => {
392
- textSelectionPage.steps.resetQuestionPreview();
393
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
394
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
395
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
396
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
397
- textSelectionPage.steps.verifyPreviewScore(10, 20);
398
- });
399
-
400
- it('When the user attempts the question correctly along with multiple incorrect options, then penalty points for each incorrect answer should get deducted from the awarded points', () => {
401
- textSelectionPage.steps.resetQuestionPreview();
402
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
403
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
404
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[4]);
405
- textSelectionPage.steps.verifyPreviewScore(1, 20);
406
- });
407
-
408
- it('When the user has defined penalty points and also sets minimum scoring to \'Award minimum score only if attempted\' and allots minimum points, then on attempting the question incorrectly, minimum points should be awarded', () => {
409
- textSelectionPage.steps.switchToEditTab();
410
- textSelectionPage.steps.expandMinimumScoringDropdown();
411
- textSelectionPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
412
- textSelectionPage.steps.allotMinimumPoints(3);
413
- textSelectionPage.steps.switchToPreviewTab();
414
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
415
- textSelectionPage.steps.verifyPreviewScore(3, 20);
416
- cy.log('Post step: Switching to edit tab and resetting minimum scoring to "No minimum score"')
417
- textSelectionPage.steps.switchToEditTab();
418
- textSelectionPage.steps.expandMinimumScoringDropdown();
419
- textSelectionPage.steps.selectOptionFromMinimumScoringDropdown('No minimum score');
420
- });
421
-
422
- //Penalty points for each incorrect answer - Automatically set penalty for each incorrect answer to total points / no. of incorrect answer
423
- it('When the user has set penalty scoring to \'Penalty points for each incorrect answer\', and checks \'Automatically set penalty for each incorrect answer to total points / no. of incorrect answer\' checkbox and attempts the question incorrectly, then the user should be awarded with negative points for the incorrect and empty answer', () => {
424
- textSelectionPage.steps.checkAutomaticallySetPenaltyPointsCheckbox();
425
- textSelectionPage.steps.switchToPreviewTab();
426
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
427
- textSelectionPage.steps.verifyPreviewScore(-20.01, 20);
428
- });
429
-
430
- it('When the user attempts the question correctly along with an incorrect option, then penalty points should get deducted from the awarded points', () => {
431
- textSelectionPage.steps.resetQuestionPreview();
432
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
433
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
434
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
435
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
436
- textSelectionPage.steps.verifyPreviewScore(7.33, 20);
437
- });
438
-
439
- it('When the user attempts the question correctly along with multiple incorrect options, then penalty points for each incorrect answer should get deducted from the awarded points', () => {
440
- textSelectionPage.steps.resetQuestionPreview();
441
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
442
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
443
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
444
- textSelectionPage.steps.verifyPreviewScore(-4.34, 20);
445
- });
446
-
447
- it('When the user has defined penalty points and also sets minimum scoring to \'Award minimum score only if attempted\' and allots minimum points, then on attempting the question incorrectly, minimum points should be awarded', () => {
448
- textSelectionPage.steps.switchToEditTab();
449
- textSelectionPage.steps.expandMinimumScoringDropdown();
450
- textSelectionPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
451
- textSelectionPage.steps.allotMinimumPoints(3);
452
- textSelectionPage.steps.switchToPreviewTab();
453
- textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
454
- textSelectionPage.steps.verifyPreviewScore(3, 20);
455
- });
456
- });
457
- });