itemengine-cypress-automation 1.0.244-consoleErrorScriptFullExecution-a3a0f2c.0 → 1.0.245-2AugustRepoUpdate-589ab5f.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +2 -2
  2. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
  3. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +10 -10
  4. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabScoring.js +3 -2
  5. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +1 -1
  6. package/cypress/e2e/ILC/EssayResponse/equationEditorCategories1.js +2 -2
  7. package/cypress/e2e/ILC/EssayResponse/equationEditorCategories2.js +2 -2
  8. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +2 -2
  9. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/headerSection.js +2 -2
  10. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -5
  11. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/additionalSettingsBasic.js +1 -0
  12. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +2 -2
  13. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +3 -1
  14. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettingsForGroupedLayout.js +2 -1
  15. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsBasic.js +1 -1
  16. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +2 -2
  17. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +2 -2
  18. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +2 -1
  19. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/specifyCorrectAnswerSection.js +2 -0
  20. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +2 -2
  21. package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +6 -4
  22. package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -2
  23. package/cypress/e2e/ILC/ListOrderingDropdown/studentViewSettings.js +1 -1
  24. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/specifyCorrectAnswerSection.js +1 -3
  25. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -1
  26. package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +2 -2
  27. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +2 -6
  28. package/cypress/e2e/ILC/ListOrderingNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  29. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +0 -2
  30. package/cypress/e2e/ILC/ListOrderingNew/studentViewSettings.js +2 -1
  31. package/cypress/e2e/ILC/Matching/draggableOptions.js +2 -4
  32. package/cypress/e2e/ILC/Matching/headerSection.js +2 -2
  33. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  34. package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +1 -1
  35. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
  36. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +4 -4
  37. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +2 -2
  38. package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  39. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +2 -2
  40. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +10 -10
  41. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +6 -6
  42. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
  43. package/cypress/e2e/ILC/NumberLineLabel/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  44. package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +2 -2
  45. package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +3 -3
  46. package/cypress/e2e/ILC/ShortTextResponseNew/manuallyAndNonScoredScoring.js +1 -1
  47. package/cypress/e2e/ILC/SingleSelection/headerSection.js +2 -2
  48. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
  49. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +6 -0
  50. package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +2 -0
  51. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +0 -5
  52. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +0 -1
  53. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +0 -1
  54. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +0 -1
  55. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +0 -1
  56. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +0 -6
  57. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +0 -2
  58. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +0 -2
  59. package/cypress/e2e/ILC/TextSelection/headerSection.js +2 -2
  60. package/cypress/e2e/ILC/TextSelection/styleAndLayoutCustomizationAccordionFilledIn.js +7 -7
  61. package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +0 -4
  62. package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +10 -10
  63. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +1 -1
  64. package/cypress/pages/components/chartsCommonComponent.js +3 -1
  65. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +1 -2
  66. package/cypress/pages/components/gridQuestionCommonComponent.js +1 -0
  67. package/cypress/pages/components/optionsWrapperComponent.js +2 -0
  68. package/cypress/pages/drawingResponsePage.js +2 -0
  69. package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -4
  70. package/cypress/pages/imageHighlightPage.js +4 -5
  71. package/cypress/pages/listOrderingPage.js +9 -12
  72. package/cypress/pages/numberLineLabelPage.js +4 -5
  73. package/cypress/pages/singleSelectionPage.js +2 -2
  74. package/cypress/pages/textSelectionPage.js +4 -21
  75. package/cypress/pages/videoResponsePage.js +3 -0
  76. package/package.json +1 -1
  77. package/scripts/sorry-cypress.mjs +1 -1
@@ -102,13 +102,13 @@ describe('Create item page - Matching: Partial different weights', () => {
102
102
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
103
103
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
104
104
  });
105
-
105
+
106
106
  it('When the user has attempted the question with equal number of correct responses from correct and alternative accordion, then the user should be awarded with points of the alternative accordion as points from the alternative accordion are more than tha correct accordion and on switching to \'Grading\' view, green check-mark icon should be displayed besides response field with alternative answer responses, red cross-mark icon should be displayed beside responses from the correct accordion, a status message should not be displayed and correct answer section with all correct answers from the correct accordion along with dropdown numeration should be displayed', () => {
107
107
  matchingPage.steps.resetQuestionPreview();
108
108
  matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[1] }, { dropdownIndex: 1, dropdownOption: optionsArray[5] }, { dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
109
109
  matchingPage.steps.verifyPreviewScore(12, 15);
110
110
  matchingPage.steps.switchToGradingView();
111
- matchingPage.steps.verifyCorrectOptionIconDropdown(0);
111
+ matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
112
112
  matchingPage.steps.verifyCorrectOptionIconDropdown(1);
113
113
  matchingPage.steps.verifyCorrectOptionIconDropdown(2);
114
114
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
@@ -154,7 +154,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
154
154
  matchingPage.steps.expandAdditionalSettings();
155
155
  matchingPage.steps.switchToPreviewTab();
156
156
  matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[3] }, { dropdownIndex: 1, dropdownOption: optionsArray[2] }, { dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
157
- matchingPage.steps.verifyPreviewScore(7.67, 23);
157
+ matchingPage.steps.verifyPreviewScore(7.6667, 23);
158
158
  matchingPage.steps.switchToGradingView();
159
159
  matchingPage.steps.verifyCorrectOptionIconDropdown(0);
160
160
  matchingPage.steps.verifyIncorrectOptionIconDropdown(1);
@@ -42,11 +42,11 @@ describe('Create item page - Multiple selection: Header section and Saving quest
42
42
  });
43
43
 
44
44
  describe('Validation error messages', () => {
45
- dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please set points', 'Please enter all option values']);
45
+ dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please enter all option values', 'Please set points']);
46
46
 
47
47
  it('Validation error messages should be displayed below required input fields', () => {
48
48
  multipleSelectionPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
49
- multipleSelectionPage.steps.verifyWarningIconOnRequiredFields(['Please set points', 'Please enter all option values']);
49
+ multipleSelectionPage.steps.verifyWarningIconOnRequiredFields(['Please enter all option values', 'Please set points']);
50
50
  });
51
51
 
52
52
  it('Validation error messages should disappear when required input fields are filled', () => {
@@ -143,11 +143,11 @@ describe('Create item page - Multiple selection grid: All or nothing with altern
143
143
  multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 1 }, { row: 4, column: 2 }]);
144
144
  multipleSelectionGridPage.steps.verifyPreviewScore(0, 20);
145
145
  multipleSelectionGridPage.steps.switchToGradingView();
146
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
147
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 1 });
146
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
147
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 1 });
148
148
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
149
149
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
150
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
150
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
151
151
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 2 });
152
152
  multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
153
153
  multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 2, column: 2 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 2 }]);
@@ -169,9 +169,9 @@ describe('Create item page - Multiple selection grid: All or nothing with altern
169
169
  multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 1, column: 2 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 }]);
170
170
  multipleSelectionGridPage.steps.verifyPreviewScore(0, 20);
171
171
  multipleSelectionGridPage.steps.switchToGradingView();
172
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
173
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 2 });
174
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 1 });
172
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
173
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 2 });
174
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 1 });
175
175
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
176
176
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
177
177
  multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -193,13 +193,13 @@ describe('Create item page - Multiple selection grid: All or nothing with altern
193
193
  multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 1, column: 2 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 0 }, { row: 4, column: 1 }, { row: 4, column: 2 }]);
194
194
  multipleSelectionGridPage.steps.verifyPreviewScore(0, 20);
195
195
  multipleSelectionGridPage.steps.switchToGradingView();
196
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
197
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 2 });
198
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 1 });
196
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
197
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 2 });
198
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 1 });
199
199
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
200
200
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
201
201
  multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 0 });
202
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
202
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
203
203
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 2 });
204
204
  multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
205
205
  multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 2, column: 2 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 2 }]);
@@ -231,9 +231,9 @@ describe('Create item page - Multiple selection grid: All or nothing with altern
231
231
  multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 2, column: 2 }, { row: 3, column: 0 }, { row: 3, column: 1 }]);
232
232
  multipleSelectionGridPage.steps.verifyPreviewScore(0, 20);
233
233
  multipleSelectionGridPage.steps.switchToGradingView();
234
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
235
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
236
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 2 });
234
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
235
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
236
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 2 });
237
237
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
238
238
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
239
239
  multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
@@ -255,9 +255,9 @@ describe('Create item page - Multiple selection grid: All or nothing with altern
255
255
  multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 2, column: 2 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 0 }, { row: 4, column: 2 }]);
256
256
  multipleSelectionGridPage.steps.verifyPreviewScore(0, 20);
257
257
  multipleSelectionGridPage.steps.switchToGradingView();
258
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
259
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
260
- multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 2 });
258
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
259
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
260
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 2 });
261
261
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
262
262
  multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
263
263
  multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 0 });
@@ -136,7 +136,7 @@ describe('Create item page - Multiple selection grid: Partial different weights'
136
136
  cy.log('Pre-step: Setting penalty scoring to \'Penalty points for the entire question\', allotting penalty points')
137
137
  multipleSelectionGridPage.steps.switchToEditTab();
138
138
  multipleSelectionGridPage.steps.expandPenaltyScoringDropdown();
139
- multipleSelectionGridPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for the entire question');
139
+ multipleSelectionGridPage.steps.selectOptionFromPenaltyScoringDropdown('enalty points for the entire question');
140
140
  multipleSelectionGridPage.steps.allotPenaltyPoints(4);
141
141
  multipleSelectionGridPage.steps.switchToPreviewTab();
142
142
  multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }]);
@@ -169,7 +169,7 @@ describe('Create item page - Multiple selection grid: Partial different weights'
169
169
  //Penalty points for the entire question
170
170
  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', () => {
171
171
  multipleSelectionGridPage.steps.expandPenaltyScoringDropdown();
172
- multipleSelectionGridPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for the entire question');
172
+ multipleSelectionGridPage.steps.selectOptionFromPenaltyScoringDropdown('enalty points for the entire question');
173
173
  multipleSelectionGridPage.steps.uncheckRoundNegativeScoresToZeroCheckbox();
174
174
  multipleSelectionGridPage.steps.allotPenaltyPoints(4);
175
175
  multipleSelectionGridPage.steps.switchToPreviewTab();
@@ -255,7 +255,7 @@ describe('Create Item page - Number line: Partial equal weights with alternative
255
255
  numberLineLabelPage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [8]);
256
256
  numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 4', 'horizontal', range, 6);
257
257
  numberLineLabelPage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [6]);
258
- numberLineLabelPage.steps.verifyPreviewScore(11.5, 15);
258
+ numberLineLabelPage.steps.verifyPreviewScore(11.5, 23);
259
259
  numberLineLabelPage.steps.switchToGradingView();
260
260
  numberLineLabelPage.steps.verifyIncorrectResponseOnNumberLinePreviewTab('Label 1', range, 1);
261
261
  numberLineLabelPage.steps.verifyIncorrectResponseOnNumberLinePreviewTab('Label 2', range, 8);
@@ -49,11 +49,11 @@ describe('Create item page - Number line: Header section and saving question', (
49
49
  });
50
50
 
51
51
  describe('Validation error messages', () => {
52
- dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please set points']);
52
+ dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please enter all label values', 'Please set points']);
53
53
 
54
54
  it('Validation error messages should be displayed below required input fields', () => {
55
55
  numberLineLabelPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
56
- numberLineLabelPage.steps.verifyWarningIconOnRequiredFields(['Please set points']);
56
+ numberLineLabelPage.steps.verifyWarningIconOnRequiredFields(['Please enter all label values', 'Please set points']);
57
57
  numberLineLabelPage.steps.verifySpecifyCorrectAnswerErrorIconNotExists();
58
58
  });
59
59
 
@@ -26,7 +26,7 @@ describe('Create item page - Single selection: All or nothing with alternative a
26
26
  it('When the user selects \'Grading\' view without attempting the question then incorrect answer border and correct answer section should be displayed and correct/incorrect icons should not be displayed', () => {
27
27
  shortTextResponsePage.steps.switchToGradingView();
28
28
  shortTextResponsePage.steps.verifyCorrectIncorrectIconNotVisibleGradingView();
29
- shortTextResponsePage.steps.verifyIncorrectAttemptBorder();
29
+ shortTextResponsePage.steps.verifyCorrectIncorrectBorderNotExist();
30
30
  shortTextResponsePage.steps.verifyCorrectAnswerResponseInCorrectAnswerWrapper('Buildings');
31
31
  shortTextResponsePage.steps.switchToStudentView();
32
32
  });
@@ -122,7 +122,7 @@ describe('Create item page - Single selection: All or nothing with alternative a
122
122
  //TODO: need to fix it after https://redmine.zeuslearning.com/issues/561054 is resolved
123
123
  it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed and answer input field should have incorrect answer border and correct answer section should be displayed below response input field', () => {
124
124
  shortTextResponsePage.steps.switchToGradingView();
125
- shortTextResponsePage.steps.verifyIncorrectAttemptBorder();
125
+ shortTextResponsePage.steps.verifyCorrectIncorrectBorderNotExist();
126
126
  shortTextResponsePage.steps.verifyCorrectAnswerResponseInCorrectAnswerWrapper('Fossil fuel combustion');
127
127
  shortTextResponsePage.steps.switchToStudentView();
128
128
  });
@@ -192,7 +192,7 @@ describe('Create item page - Single selection: All or nothing with alternative a
192
192
  //TODO: need to fix it after https://redmine.zeuslearning.com/issues/561054 is resolved
193
193
  it('When the user switches to \'Grading\' view without attempting the question, then incorrect border and correct answer section should be displayed', () => {
194
194
  shortTextResponsePage.steps.switchToGradingView();
195
- shortTextResponsePage.steps.verifyIncorrectAttemptBorder();
195
+ shortTextResponsePage.steps.verifyCorrectIncorrectBorderNotExist();
196
196
  shortTextResponsePage.steps.verifyCorrectAnswerResponseInCorrectAnswerWrapper('Buildings');
197
197
  shortTextResponsePage.steps.switchToStudentView();
198
198
  });
@@ -56,7 +56,7 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
56
56
  shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Incorrect');
57
57
  shortTextResponsePage.steps.switchToGradingView();
58
58
  shortTextResponsePage.steps.verifyIncorrectIcon();
59
- shortTextResponsePage.steps.verifyCorrectIncorrectBorderNotExist();
59
+ shortTextResponsePage.steps.verifyIncorrectAttemptBorder();
60
60
  shortTextResponsePage.steps.verifyCorrectAnswerResponseInCorrectAnswerWrapper('Buildings');
61
61
  shortTextResponsePage.steps.switchToStudentView();
62
62
  /*cy.log('When the user clicks on \'Check answer\' button, red cross mark icon should be displayed besides the response field, Incorrect answer label and border should not be displayed and no correct answer wrapper should be displayed');
@@ -42,11 +42,11 @@ describe('Create Item page - Single Selection: Header section and Saving questio
42
42
  });
43
43
 
44
44
  describe('Validation error messages', () => {
45
- dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please set points', 'Please enter all option values']);
45
+ dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please enter all option values', 'Please set points']);
46
46
 
47
47
  it('Validation error messages should be displayed below required input fields', () => {
48
48
  singleSelectionPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
49
- singleSelectionPage.steps.verifyWarningIconOnRequiredFields(['Please set points', 'Please enter all option values']);
49
+ singleSelectionPage.steps.verifyWarningIconOnRequiredFields(['Please enter all option values', 'Please set points']);
50
50
  });
51
51
 
52
52
  it('Validation error messages should disappear when required input fields are filled', () => {
@@ -137,7 +137,7 @@ describe('Create item page - Single selection grid: Partial different weights',
137
137
  cy.log('Pre-step: Setting penalty scoring to \'Penalty points for the entire question\', allotting penalty points')
138
138
  singleSelectionGridPage.steps.switchToEditTab();
139
139
  singleSelectionGridPage.steps.expandPenaltyScoringDropdown();
140
- singleSelectionGridPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for the entire question');
140
+ singleSelectionGridPage.steps.selectOptionFromPenaltyScoringDropdown('enalty points for the entire question');
141
141
  singleSelectionGridPage.steps.allotPenaltyPoints(4);
142
142
  singleSelectionGridPage.steps.switchToPreviewTab();
143
143
  singleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }]);
@@ -171,7 +171,7 @@ describe('Create item page - Single selection grid: Partial different weights',
171
171
  //Penalty points for the entire question
172
172
  it('When the user sets penalty scoring to \'Penalty points for the entire question\', allots penalty points and attempts the question completely incorrect, then the user should be awarded with negative points', () => {
173
173
  singleSelectionGridPage.steps.expandPenaltyScoringDropdown();
174
- singleSelectionGridPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for the entire question');
174
+ singleSelectionGridPage.steps.selectOptionFromPenaltyScoringDropdown('enalty points for the entire question');
175
175
  singleSelectionGridPage.steps.uncheckRoundNegativeScoresToZeroCheckbox();
176
176
  singleSelectionGridPage.steps.allotPenaltyPoints(4);
177
177
  singleSelectionGridPage.steps.switchToPreviewTab();
@@ -140,6 +140,8 @@ describe('Create item page - Text Entry Math: Partial different weights', () =>
140
140
  equationEditorFlyout.steps.enterTextInPreviewInputField('9000%');
141
141
  equationEditorFlyout.steps.clickOnOkButton();
142
142
  textEntryMathPage.steps.allotPartialDifferentWeightsPoints({ 0: 1, 1: 6, 2: 5 });
143
+ textEntryMathPage.steps.expandAdditionalSettings();
144
+ textEntryMathPage.steps.selectModalVisibilityTypeButton();
143
145
  });
144
146
 
145
147
  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', () => {
@@ -230,6 +232,8 @@ describe('Create item page - Text Entry Math: Partial different weights', () =>
230
232
  equationEditorFlyout.steps.enterTextInPreviewInputField('7.07e');
231
233
  equationEditorFlyout.steps.clickOnOkButton();
232
234
  textEntryMathPage.steps.allotPartialDifferentWeightsPoints({ 0: 2.67, 1: 1.99, 2: 1.34, 3: 4.5 });
235
+ textEntryMathPage.steps.expandAdditionalSettings();
236
+ textEntryMathPage.steps.selectModalVisibilityTypeButton();
233
237
  });
234
238
 
235
239
  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', () => {
@@ -342,6 +346,8 @@ describe('Create item page - Text Entry Math: Partial different weights', () =>
342
346
  equationEditorFlyout.steps.enterTextInPreviewInputField('9000%');
343
347
  equationEditorFlyout.steps.clickOnOkButton();
344
348
  textEntryMathPage.steps.allotPartialDifferentWeightsPoints({ 0: 9, 1: 6, 2: 5 });
349
+ textEntryMathPage.steps.expandAdditionalSettings();
350
+ textEntryMathPage.steps.selectModalVisibilityTypeButton();
345
351
  });
346
352
 
347
353
  //Penalty points for the entire question
@@ -141,6 +141,8 @@ describe('Create item page - Text Entry Math: Partial equal weights', () => {
141
141
  equationEditorFlyout.steps.enterTextInPreviewInputField('6×π');
142
142
  equationEditorFlyout.steps.clickOnOkButton();
143
143
  textEntryMathPage.steps.allotPoints(15);
144
+ textEntryMathPage.steps.expandAdditionalSettings();
145
+ textEntryMathPage.steps.selectModalVisibilityTypeButton();
144
146
  });
145
147
 
146
148
  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', () => {
@@ -26,7 +26,6 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
26
26
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Number');
27
27
  textEntryMathPage.steps.expandAdditionalSettings();
28
28
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
29
- textEntryMathPage.steps.expandAdditionalSettings();
30
29
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
31
30
  textEntryMathPage.steps.switchToPreviewTab();
32
31
  });
@@ -344,7 +343,6 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
344
343
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Fraction');
345
344
  textEntryMathPage.steps.expandAdditionalSettings();
346
345
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
347
- textEntryMathPage.steps.expandAdditionalSettings();
348
346
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
349
347
  textEntryMathPage.steps.switchToPreviewTab();
350
348
  });
@@ -783,7 +781,6 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
783
781
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Variable');
784
782
  textEntryMathPage.steps.expandAdditionalSettings();
785
783
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
786
- textEntryMathPage.steps.expandAdditionalSettings();
787
784
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
788
785
  textEntryMathPage.steps.switchToPreviewTab();
789
786
  });
@@ -933,7 +930,6 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
933
930
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Expression');
934
931
  textEntryMathPage.steps.expandAdditionalSettings();
935
932
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
936
- textEntryMathPage.steps.expandAdditionalSettings();
937
933
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
938
934
  textEntryMathPage.steps.switchToPreviewTab();
939
935
  });
@@ -1233,7 +1229,6 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
1233
1229
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Scientific');
1234
1230
  textEntryMathPage.steps.expandAdditionalSettings();
1235
1231
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
1236
- textEntryMathPage.steps.expandAdditionalSettings();
1237
1232
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
1238
1233
  textEntryMathPage.steps.switchToPreviewTab();
1239
1234
  });
@@ -22,7 +22,6 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
22
22
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
23
23
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
24
24
  textEntryMathPage.steps.selectEvaluationMethod('Match exact');
25
- textEntryMathPage.steps.expandAdditionalSettings();
26
25
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
27
26
  });
28
27
 
@@ -24,7 +24,6 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
24
24
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
25
25
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
26
26
  textEntryMathPage.steps.selectEvaluationMethod('Match value');
27
- textEntryMathPage.steps.expandAdditionalSettings();
28
27
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
29
28
  });
30
29
 
@@ -23,7 +23,6 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
23
23
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
24
24
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
25
25
  textEntryMathPage.steps.selectEvaluationMethod('Symbols are equivalent');
26
- textEntryMathPage.steps.expandAdditionalSettings();
27
26
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
28
27
  });
29
28
 
@@ -21,7 +21,6 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
21
21
  textEntryMathPage.steps.expandAdditionalSettings();
22
22
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
23
23
  textEntryMathPage.steps.allotPoints(20);
24
- textEntryMathPage.steps.expandAdditionalSettings();
25
24
  textEntryMathPage.steps.selectModalVisibilityTypeButton();
26
25
  });
27
26
 
@@ -24,8 +24,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
24
24
  textEntryMathWithImagePage.steps.verifyImageIsUploaded();
25
25
  textEntryMathWithImagePage.steps.insertResponseArea(10);
26
26
  textEntryMathWithImagePage.steps.insertResponseArea(40);
27
- textEntryMathWithImagePage.steps.expandAdditionalSettings();
28
- textEntryMathWithImagePage.steps.selectModalVisibilityTypeButton();
29
27
  textEntryMathWithImagePage.steps.switchToPreviewTab();
30
28
  });
31
29
 
@@ -87,8 +85,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
87
85
  textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
88
86
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
89
87
  equationEditorFlyout.steps.enterEquationUsingPiSymbol();
90
- textEntryMathWithImagePage.steps.expandAdditionalSettings();
91
- textEntryMathWithImagePage.steps.selectModalVisibilityTypeButton();
92
88
  textEntryMathWithImagePage.steps.switchToPreviewTab();
93
89
  break;
94
90
  case 'Item preview':
@@ -292,8 +288,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
292
288
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
293
289
  equationEditorFlyout.steps.enterEquationUsingPiSymbol();
294
290
  textEntryMathWithImagePage.steps.allotPoints(20);
295
- textEntryMathWithImagePage.steps.expandAdditionalSettings();
296
- textEntryMathWithImagePage.steps.selectModalVisibilityTypeButton();
297
291
  });
298
292
 
299
293
  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', () => {
@@ -387,8 +387,6 @@ describe('Create item page - Text entry math: Question instructions, Options sec
387
387
  textEntryMathWithImagePage.steps.verifyFileNameLabel('highlightImage.jpg');
388
388
  utilities.verifyElementVisibilityState(textEntryMathWithImagePage.uploadImageProgressBar(), 'visible');
389
389
  textEntryMathWithImagePage.steps.verifyImageIsUploaded();
390
- textEntryMathWithImagePage.steps.expandAdditionalSettings();
391
- textEntryMathWithImagePage.steps.selectModalVisibilityTypeButton();
392
390
  });
393
391
 
394
392
  it('When the user has uploaded canvas image, then switching to the preview tab should display canvas image with same dimensions', () => {
@@ -36,8 +36,6 @@ describe('Create item page - Text entry math: Preview contents', () => {
36
36
  textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
37
37
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
38
38
  equationEditorFlyout.steps.enterQuadraticEquation();
39
- textEntryMathWithImagePage.steps.expandAdditionalSettings();
40
- textEntryMathWithImagePage.steps.selectModalVisibilityTypeButton();
41
39
  textEntryMathWithImagePage.steps.switchToPreviewTab();
42
40
  break;
43
41
  case 'Item view':
@@ -43,11 +43,11 @@ describe('Create item page - Text selection: Header section and Saving question'
43
43
  });
44
44
 
45
45
  describe('Validation error messages', () => {
46
- dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please set points', 'Please enter all option values']);
46
+ dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(['Please enter all option values', 'Please set points']);
47
47
 
48
48
  it('Validation error messages should be displayed below required input fields', () => {
49
49
  textSelectionPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
50
- textSelectionPage.steps.verifyWarningIconOnRequiredFields(['Please set points', 'Please enter all option values']);
50
+ textSelectionPage.steps.verifyWarningIconOnRequiredFields(['Please enter all option values', 'Please set points']);
51
51
  });
52
52
 
53
53
  it('Validation error messages should disappear when required input fields are filled', () => {
@@ -31,10 +31,10 @@ describe('Create Item page - Text selection : Style and layout customization', (
31
31
  });
32
32
 
33
33
  it('When filled in text selection mode is selected, then \'Filled-in style\' and \'Fill color\' labels should be displayed in style and layout customization accordion', () => {
34
- utilities.verifyInnerText(textSelectionPage.filledInStyleLabel(), 'Filled-in style');
35
- utilities.verifyElementVisibilityState(textSelectionPage.filledInStyleLabel(), 'visible');
36
- utilities.verifyInnerText(textSelectionPage.fillColorLabel(), 'Fill color');
37
- utilities.verifyElementVisibilityState(textSelectionPage.fillColorLabel(), 'visible');
34
+ utilities.verifyInnerText(textSelectionPage.styleLabel(), 'Filled-in style');
35
+ utilities.verifyElementVisibilityState(textSelectionPage.styleLabel(), 'visible');
36
+ utilities.verifyInnerText(textSelectionPage.colorLabel(), 'Fill color');
37
+ utilities.verifyElementVisibilityState(textSelectionPage.colorLabel(), 'visible');
38
38
  });
39
39
 
40
40
  it('5 color blocks and \'Edit color\' button should be displayed and the first blue color block should be selected', () => {
@@ -58,12 +58,12 @@ describe('Create Item page - Text selection : Style and layout customization', (
58
58
  });
59
59
 
60
60
  it('CSS of style and layout customization accordion contents', { tags: 'css' }, () => {
61
- utilities.verifyCSS(textSelectionPage.filledInStyleLabel(), {
61
+ utilities.verifyCSS(textSelectionPage.styleLabel(), {
62
62
  'color': css.color.labels,
63
63
  'font-size': css.fontSize.default,
64
64
  'font-weight': css.fontWeight.bold
65
65
  });
66
- utilities.verifyCSS(textSelectionPage.fillColorLabel(), {
66
+ utilities.verifyCSS(textSelectionPage.colorLabel(), {
67
67
  'color': css.color.labels,
68
68
  'font-size': css.fontSize.normal,
69
69
  'font-weight': css.fontWeight.semibold
@@ -84,7 +84,7 @@ describe('Create Item page - Text selection : Style and layout customization', (
84
84
  });
85
85
 
86
86
  it('Accessibility of style and layout customization accordion contents', { tags: 'a11y' }, () => {
87
- cy.checkAccessibility(textSelectionPage.filledInStyleLabel().parents('.ngie-accordion-detail'));
87
+ cy.checkAccessibility(textSelectionPage.styleLabel().parents('.ngie-accordion-detail'));
88
88
  });
89
89
 
90
90
  it('When the user clicks on the edit color button in the accordion, a color popup should be displayed for the selected color block', () => {
@@ -78,12 +78,8 @@ describe('Create Item page - Text selection: Text selection modes in specify pos
78
78
  textSelectionPage.steps.selectOptionInSpecifyPossibleOptionsSection('Custom', customTextArray[2]);
79
79
  textSelectionPage.steps.clearSelectedOptionsInSpecifyPossibleOptionSection();
80
80
  utilities.verifyElementVisibilityState(textSelectionPage.selectedOptionSpecifyPossibleOptions(), 'notExist');
81
- utilities.verifyInnerText(textSelectionPage.errorMessage(), 'Error: Minimum one highlight option is required.');
82
- textSelectionPage.steps.verifyErroredStateOfSpecifyPossibleOptionsSection();
83
81
  });
84
82
 
85
- textSelectionPage.tests.verifyErrorMessageCSSAndA11y();
86
-
87
83
  it('When user selects Custom text again, the option should be selected and the error message should disappear and option counter should display 1 count', () => {
88
84
  textSelectionPage.steps.selectOptionInSpecifyPossibleOptionsSection('Custom', customTextArray[2]);
89
85
  utilities.verifyElementVisibilityState(textSelectionPage.errorMessage(), 'notExist');
@@ -7,21 +7,21 @@ export const drawingToolbarOptionsAndAdditionalOptions = {
7
7
  },
8
8
  {
9
9
  displayName: 'Scribble',
10
- additionalOptions: [' strokefontcolor', ' strokefontcolorpicker'],
10
+ additionalOptions: [' StrokeFontColor', ' StrokeFontColorPicker'],
11
11
  secondaryToolbarOptions: ['Stroke color', 'Stroke thickness', 'Opacity'],
12
12
  tooltipText: 'PencilDraw freehand lines',
13
13
  toolType: 'tool'
14
14
  },
15
15
  {
16
16
  displayName: 'Line',
17
- additionalOptions: [' strokefontcolor', ' strokefontcolorpicker'],
17
+ additionalOptions: [' StrokeFontColor', ' StrokeFontColorPicker'],
18
18
  secondaryToolbarOptions: ['Stroke color', 'Stroke thickness', 'Line Type', 'Opacity'],
19
19
  tooltipText: 'LineDraw a straight line',
20
20
  toolType: 'tool'
21
21
  },
22
22
  {
23
23
  displayName: 'Curved line',
24
- additionalOptions: [' strokefontcolor', ' strokefontcolorpicker'],
24
+ additionalOptions: [' StrokeFontColor', ' StrokeFontColorPicker'],
25
25
  secondaryToolbarOptions: ['Stroke color', 'Stroke thickness', 'Opacity'],
26
26
  tooltipText: 'Curved LineDraw a curved line',
27
27
  toolType: 'tool'
@@ -32,13 +32,13 @@ export const drawingToolbarOptionsAndAdditionalOptions = {
32
32
  toolType: 'dialog'
33
33
  },
34
34
  {
35
- displayName: 'Insert image',
36
- tooltipText: 'The \'Insert image\' tool uploads an image.',
35
+ displayName: 'Upload image ',
36
+ tooltipText: 'The \'Upload image \' tool uploads an image.',
37
37
  toolType: 'dialog'
38
38
  },
39
39
  {
40
40
  displayName: 'Text',
41
- additionalOptions: [' specialchar', ' mathchar', ' fontsize', ' strokefontcolor', ' strokefontcolorpicker'],
41
+ additionalOptions: [' SpecialChar', ' MathChar', ' FontSize', ' StrokeFontColor', ' StrokeFontColorPicker'],
42
42
  secondaryToolbarOptions: ['Special characters', 'Math characters', 'Font size', 'Text color', 'Opacity'],
43
43
  tooltipText: 'TextAdd text',
44
44
  toolType: 'tool'
@@ -56,28 +56,28 @@ export const drawingToolbarOptionsAndAdditionalOptions = {
56
56
  },
57
57
  {
58
58
  displayName: 'Rectangle',
59
- additionalOptions: [' strokefontcolor', ' strokefontcolorpicker', ' fillcolor', ' fillcolorpicker'],
59
+ additionalOptions: [' StrokeFontColor', ' StrokeFontColorPicker', ' FillColor', ' FillColorPicker'],
60
60
  secondaryToolbarOptions: ['Fill color', 'Stroke color', 'Stroke thickness', 'Opacity'],
61
61
  tooltipText: 'RectangleDraw a rectangle',
62
62
  toolType: 'tool'
63
63
  },
64
64
  {
65
65
  displayName: 'Ellipse',
66
- additionalOptions: [' strokefontcolor', ' strokefontcolorpicker', ' fillcolor', ' fillcolorpicker'],
66
+ additionalOptions: [' StrokeFontColor', ' StrokeFontColorPicker', ' FillColor', ' FillColorPicker'],
67
67
  secondaryToolbarOptions: ['Fill color', 'Stroke color', 'Stroke thickness', 'Opacity'],
68
68
  tooltipText: 'EllipseDraw an ellipse',
69
69
  toolType: 'tool'
70
70
  },
71
71
  {
72
72
  displayName: 'Polygon',
73
- additionalOptions: [' strokefontcolor', ' strokefontcolorpicker', ' fillcolor', ' fillcolorpicker'],
73
+ additionalOptions: [' StrokeFontColor', ' StrokeFontColorPicker', ' FillColor', ' FillColorPicker'],
74
74
  secondaryToolbarOptions: ['Fill color', 'Stroke color', 'Stroke thickness', 'Opacity'],
75
75
  tooltipText: 'PolygonDraw polygon',
76
76
  toolType: 'tool'
77
77
  },
78
78
  {
79
79
  displayName: 'Compass',
80
- additionalOptions: [' strokefontcolor', ' strokefontcolorpicker', ' fillcolor', ' fillcolorpicker'],
80
+ additionalOptions: [' StrokeFontColor', ' StrokeFontColorPicker', ' FillColor', ' FillColorPicker'],
81
81
  secondaryToolbarOptions: ['Stroke color', 'Stroke thickness', 'Opacity'],
82
82
  tooltipText: 'CompassDraw compass',
83
83
  toolType: 'tool'
@@ -354,7 +354,7 @@ const tests = {
354
354
  autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
355
355
  .click();
356
356
  //TODO: Need to add error message according to question types
357
- utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'exist');
357
+ utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'notExist');
358
358
  autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
359
359
  .eq(1)
360
360
  .should('have.attr', 'aria-expanded', 'true');
@@ -120,6 +120,8 @@ const steps = {
120
120
  chartsCommonComponent.pointsInputField()
121
121
  .clear()
122
122
  .type(`${points}`)
123
+ .wait(1000);
124
+ chartsCommonComponent.pointsInputField()
123
125
  .should('have.value', points)
124
126
  .blur();
125
127
  },
@@ -267,7 +269,7 @@ const steps = {
267
269
  verifyCorrectIncorrectStatusMessageNotExists: () => {
268
270
  utilities.verifyElementVisibilityState(chartsCommonComponent.correctIncorrectAnswerTextWrapper(), 'notExist');
269
271
  },
270
-
272
+
271
273
  verifyPointsPerResponseLabel: () => {
272
274
  utilities.verifyInnerText(autoScoredScoringSectionMultiResponseType.pointsPerResponseLabel(), 'Points per response:\n-');
273
275
  utilities.verifyElementVisibilityState(autoScoredScoringSectionMultiResponseType.pointsPerResponseLabel(), 'visible');
@@ -1248,8 +1248,7 @@ const tests = {
1248
1248
  .blur();
1249
1249
  });
1250
1250
 
1251
- // Uncomment below code once https://redmine.zeuslearning.com/issues/578158 is resolved
1252
- // autoScoredSpecifyCorrectAnswerSection.tests.verifyAutoScoredPointsErrorMessageWhenPointsFieldIsEmpty(accordionName);
1251
+ autoScoredSpecifyCorrectAnswerSection.tests.verifyAutoScoredPointsErrorMessageWhenPointsFieldIsEmpty(accordionName);
1253
1252
 
1254
1253
  it('\'Accepted student input\' label, menu and its options - \'Text\', \'Number\', \'Integer\' should be displayed and \'Text\' option should be active', () => {
1255
1254
  utilities.verifyInnerText(acceptedStudentInputComponent.acceptedStudentInputLabel(), 'Accepted student input');
@@ -214,6 +214,7 @@ const steps = {
214
214
  gridQuestionCommonComponent.cellPropertyInputField()
215
215
  .clear()
216
216
  .type(text)
217
+ gridQuestionCommonComponent.cellPropertyInputField()
217
218
  .blur();
218
219
  });
219
220
  });