itemengine-cypress-automation 1.0.199-20thMayRepoUpdate-6af11c9.0 → 1.0.199

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. package/cypress/e2e/ILC/AudioPlayerNew/allSupportedFileTypes.js +3 -1
  2. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -0
  3. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +348 -0
  4. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +346 -0
  5. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +401 -0
  6. package/cypress/e2e/ILC/ChartsBar/Scoring/allOrNothingPenaltyScoring.js +53 -0
  7. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +251 -0
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightBasic.js +251 -0
  9. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +366 -0
  10. package/cypress/e2e/ILC/ChartsBar/checkAnswerFunctionalityForAllViews.smoke.js +2 -2
  11. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +367 -0
  12. package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +3 -3
  13. package/cypress/e2e/ILC/Compass/compassEditTabBasicsSection.js +134 -0
  14. package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +88 -0
  15. package/cypress/e2e/ILC/FeedbackScaleNew/editTabBasicSection.js +2 -1
  16. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +3 -3
  17. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -2
  18. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -0
  19. package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +4 -2
  20. package/cypress/e2e/ILC/Graphing/toolsControlsAndBackgroundSection.js +3 -3
  21. package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +1 -1
  22. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +5 -5
  23. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
  24. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  25. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
  26. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +1 -1
  27. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +4 -4
  28. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +3 -3
  29. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +4 -4
  30. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +4 -4
  31. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +4 -4
  32. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +1 -1
  33. package/cypress/e2e/ILC/UploadResponse/studentViewSettingsSection.js +1 -16
  34. package/cypress/e2e/ILC/chartsDotsPlot/checkAnswerFunctionalityForAllViews.smoke.js +0 -1
  35. package/cypress/e2e/ILC/chartsDotsPlot/editTabScoring.js +223 -0
  36. package/cypress/e2e/ILC/chartsDotsPlot/headerSection.js +110 -0
  37. package/cypress/e2e/ILC/chartsDotsPlot/minimumScoringPenaltyPointsAndRoundingDropdown.js +199 -0
  38. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +375 -0
  39. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +382 -0
  40. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +422 -0
  41. package/cypress/e2e/ILC/chartsDotsPlot/scoring/manualAndNonScoredScoring.js +159 -0
  42. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsBasic.js +233 -0
  43. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +380 -0
  44. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +293 -0
  45. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +382 -0
  46. package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +184 -0
  47. package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +76 -0
  48. package/cypress/pages/chartsBarPage.js +23 -15
  49. package/cypress/pages/chartsDotPlotPage.js +130 -7
  50. package/cypress/pages/chartsLinePage.js +11 -11
  51. package/cypress/pages/compassPage.js +57 -0
  52. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +1 -0
  53. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +3 -0
  54. package/cypress/pages/components/barAndLineChartComponent.js +7 -7
  55. package/cypress/pages/components/chartsCommonComponent.js +55 -7
  56. package/cypress/pages/components/createQuestionBasePage.js +1 -1
  57. package/cypress/pages/components/optionsWrapperComponent.js +1 -1
  58. package/cypress/pages/components/questionInputFieldComponent.js +2 -2
  59. package/cypress/pages/feedbackScalePage.js +3 -1
  60. package/cypress/pages/graphingPage.js +1 -1
  61. package/cypress/pages/imageHighlightPage.js +4 -434
  62. package/cypress/pages/index.js +2 -1
  63. package/cypress/pages/listOrderingPage.js +9 -9
  64. package/cypress/pages/textEntryMathPage.js +16 -16
  65. package/package.json +2 -2
@@ -173,7 +173,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
173
173
  it('When the user attempts the question correctly along with an incorrect response, then penalty points should get deducted from the awarded points', () => {
174
174
  fillInTheGapsTextPage.steps.resetQuestionPreview();
175
175
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Seed' }]);
176
- fillInTheGapsTextPage.steps.verifyPreviewScore(5, 20);
176
+ fillInTheGapsTextPage.steps.verifyPreviewScore(11, 20);
177
177
  });
178
178
 
179
179
  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', () => {
@@ -209,7 +209,7 @@ describe('Create item page - Fill in the gaps with text: Partial different weigh
209
209
  it('When the user attempts the question correctly along with an incorrect option, then penalty points should get deducted from the awarded points', () => {
210
210
  fillInTheGapsTextPage.steps.resetQuestionPreview();
211
211
  fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Roots' }]);
212
- fillInTheGapsTextPage.steps.verifyPreviewScore(12.67, 20);
212
+ fillInTheGapsTextPage.steps.verifyPreviewScore(13.67, 20);
213
213
  });
214
214
 
215
215
  it('When the user attempts the question correctly along with multiple incorrect options, then Penalty points for each incorrect text container should get deducted from the awarded points', () => {
@@ -76,6 +76,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
76
76
  utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
77
77
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
78
78
  graphingPage.steps.verifyCorrectAnswerSectionNotExist();
79
+ utilities.verifyElementVisibilityState(graphingPage.correctIncorrectStatusMessageText(), 'notExist');
79
80
  });
80
81
 
81
82
  it('When the user attempts the question with responses from the correct accordion, then the user should be awarded full points and on switching to \'Grading\' view the attempted graph should be displayed correct, a status message with text \'Your answer is correct\' should be displayed above the question preview, correct answer section should not be displayed', () => {
@@ -362,9 +362,11 @@ describe('Graphing: Layout section - Edit tab and preview tab tool options', ()
362
362
  it('When snap to grid is unchecked user should be able to plot decimal points on the graph in \'Specify correct answer\' section and background section graph', () => {
363
363
  graphingPage.steps.uncheckSnapToGridCheckbox();
364
364
  graphingPage.steps.plotPointsOnGraphEditTab([{ x: 2.5, xRange: 20, y: 2.5, yRange: 20 }]);
365
- graphingPage.steps.verifyPointsPlottedOnEditTabGraph([{ x: 2.5, xRange: 20, y: 2.5, yRange: 20 }]);
365
+ graphingPage.steps.verifyPointsPlottedNotExistOnEditTabGraph([{ x: 2, xRange: 20, y: 2, yRange: 20 }]);
366
+ graphingPage.steps.verifyPointsPlottedNotExistOnEditTabGraph([{ x: 3, xRange: 20, y: 3, yRange: 20 }]);
366
367
  graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 3.5, xRange: 20, y: 3.5, yRange: 20 }]);
367
- graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 3.5, xRange: 20, y: 3.5, yRange: 20 }]);
368
+ graphingPage.steps.verifyPointsPlottedNotExistOnSpecifyCorrectAnswerSection([{ x: 2, xRange: 20, y: 2, yRange: 20 }]);
369
+ graphingPage.steps.verifyPointsPlottedNotExistOnSpecifyCorrectAnswerSection([{ x: 3, xRange: 20, y: 3, yRange: 20 }]);
368
370
  });
369
371
 
370
372
  it('When the user checks snap to grid checkbox then the X and Y tolerance should become disabled and the user should not be able to plot decimal points', () => {
@@ -302,7 +302,7 @@ describe('Graphing: Tools and controls - Edit tab and preview tab tool options',
302
302
  graphingPage.steps.selectGraphControlOptionEditTab('Reset');
303
303
  });
304
304
 
305
- graphingPage.tests.verifyResetPopupContentWithCSSAndA11y();
305
+ graphingPage.tests.verifyResetPopupContentWithCSSAndA11y("graph");
306
306
 
307
307
  it('When the user clicks on the \'Cancel\' button then the plotted graph should not be \'Reset\'', () => {
308
308
  graphingPage.steps.cancelReset();
@@ -380,7 +380,7 @@ describe('Graphing: Tools and controls - Edit tab and preview tab tool options',
380
380
  graphingPage.steps.selectGraphControlOptionSpecifyCorrectAnswerSection('Reset');
381
381
  });
382
382
 
383
- graphingPage.tests.verifyResetPopupContentWithCSSAndA11y();
383
+ graphingPage.tests.verifyResetPopupContentWithCSSAndA11y("graph");
384
384
 
385
385
  it('When the user clicks on the \'Cancel\' button then the plotted graph should not be \'Reset\'', () => {
386
386
  graphingPage.steps.cancelReset();
@@ -459,7 +459,7 @@ describe('Graphing: Tools and controls - Edit tab and preview tab tool options',
459
459
  graphingPage.steps.selectGraphControlOptionPreviewTab('Reset');
460
460
  });
461
461
 
462
- graphingPage.tests.verifyResetPopupContentWithCSSAndA11y();
462
+ graphingPage.tests.verifyResetPopupContentWithCSSAndA11y("graph");
463
463
 
464
464
  it('When the user clicks on the \'Cancel\' button then the plotted graph should not be \'Reset\' and the dialog box should not be displayed', () => {
465
465
  graphingPage.steps.cancelReset();
@@ -160,7 +160,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
160
160
  });
161
161
 
162
162
  if (!grepTags || !grepTags.includes('smoke')) {
163
- describe.only('Question preview: Auto scored - All or nothing: Minimum scoring', () => {
163
+ describe('Question preview: Auto scored - All or nothing: Minimum scoring', () => {
164
164
  abortEarlySetup();
165
165
  before(() => {
166
166
  listOrderingPage.steps.navigateToCreateQuestion('list ordering');
@@ -141,16 +141,16 @@ describe('Create item page - Matching: Partial different weights', () => {
141
141
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
142
142
  matchingPage.steps.verifyPreviewScore(11, 15);
143
143
  matchingPage.steps.switchToGradingView();
144
- matchingPage.steps.verifyCorrectOptionIcon(0);
145
- matchingPage.steps.verifyIncorrectOptionIcon(1);
144
+ matchingPage.steps.verifyIncorrectOptionIcon(0);
145
+ matchingPage.steps.verifyCorrectOptionIcon(1);
146
146
  matchingPage.steps.verifyCorrectOptionIcon(2);
147
147
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
148
148
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
149
149
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
150
150
  cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the alternative answer responses, red cross-mark should be displayed beside responses of the correct accordion status message and correct answer section should not be displayed')
151
151
  matchingPage.steps.checkAnswer();
152
- matchingPage.steps.verifyCorrectOptionIcon(0);
153
- matchingPage.steps.verifyIncorrectOptionIcon(1);
152
+ matchingPage.steps.verifyIncorrectOptionIcon(0);
153
+ matchingPage.steps.verifyCorrectOptionIcon(1);
154
154
  matchingPage.steps.verifyCorrectOptionIcon(2);
155
155
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
156
156
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();
@@ -233,7 +233,7 @@ describe('Create item page - Matching: Partial different weights', () => {
233
233
  matchingPage.steps.verifyIncorrectOptionIcon(1);
234
234
  matchingPage.steps.verifyCorrectOptionIcon(2);
235
235
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
236
- matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Roots'], ['Stem'], ['Seed']]);
236
+ matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
237
237
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
238
238
  cy.log('When user attempts the question correctly and clicks on the \'Check answer\' button, green check-mark icons should be displayed beside the correct responses from the correct accordion, red cross-mark icons should be displayed beside the incorrectly answered responses, correct/incorrect answer label and its border, correct answer container should not be displayed')
239
239
  matchingPage.steps.checkAnswer();
@@ -141,16 +141,16 @@ describe('Create item page - Matching: Partial different weights', () => {
141
141
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
142
142
  matchingPage.steps.verifyPreviewScore(12, 15);
143
143
  matchingPage.steps.switchToGradingView();
144
- matchingPage.steps.verifyCorrectOptionIcon(0);
145
- matchingPage.steps.verifyIncorrectOptionIcon(1);
144
+ matchingPage.steps.verifyIncorrectOptionIcon(0);
145
+ matchingPage.steps.verifyCorrectOptionIcon(1);
146
146
  matchingPage.steps.verifyCorrectOptionIcon(2);
147
147
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
148
148
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
149
149
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
150
150
  cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed beside empty responses a status message should not be displayed and correct answer section should not be displayed')
151
151
  matchingPage.steps.checkAnswer();
152
- matchingPage.steps.verifyCorrectOptionIcon(0);
153
- matchingPage.steps.verifyIncorrectOptionIcon(1);
152
+ matchingPage.steps.verifyIncorrectOptionIcon(0);
153
+ matchingPage.steps.verifyCorrectOptionIcon(1);
154
154
  matchingPage.steps.verifyCorrectOptionIcon(2);
155
155
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
156
156
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();
@@ -213,7 +213,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
213
213
  matchingPage.steps.verifyIncorrectOptionIcon(1);
214
214
  matchingPage.steps.verifyIncorrectOptionIcon(2);
215
215
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
216
- matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Roots'], ['Stem'], ['Seed']]);
216
+ matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
217
217
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
218
218
  cy.log('When user attempts the question correctly and clicks on the \'Check answer\' button, green check-mark icons should be displayed beside the correct responses from the correct accordion, red cross-mark icons should be displayed beside the incorrectly answered responses, correct/incorrect answer label and its border, correct answer container should not be displayed')
219
219
  matchingPage.steps.checkAnswer();
@@ -209,17 +209,17 @@ describe('Create item page - Matching: Partial equal weights with alternative an
209
209
  matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Eagle', dropzoneIndex: 2 }]);
210
210
  matchingPage.steps.verifyPreviewScore(7.67, 23);
211
211
  matchingPage.steps.switchToGradingView();
212
- matchingPage.steps.verifyIncorrectOptionIcon(0);
212
+ matchingPage.steps.verifyCorrectOptionIcon(0);
213
213
  matchingPage.steps.verifyIncorrectOptionIcon(1);
214
- matchingPage.steps.verifyCorrectOptionIcon(2);
214
+ matchingPage.steps.verifyIncorrectOptionIcon(2);
215
215
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
216
216
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
217
217
  matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
218
218
  cy.log('When user attempts the question correctly and clicks on the \'Check answer\' button, green check-mark icons should be displayed beside the correct responses from the correct accordion, red cross-mark icons should be displayed beside the incorrectly answered responses, correct/incorrect answer label and its border, correct answer container should not be displayed')
219
219
  matchingPage.steps.checkAnswer();
220
- matchingPage.steps.verifyIncorrectOptionIcon(0);
220
+ matchingPage.steps.verifyCorrectOptionIcon(0);
221
221
  matchingPage.steps.verifyIncorrectOptionIcon(1);
222
- matchingPage.steps.verifyCorrectOptionIcon(2);
222
+ matchingPage.steps.verifyIncorrectOptionIcon(2);
223
223
  matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
224
224
  matchingPage.steps.verifyCorrectAnswerSectionNotExists();
225
225
  });
@@ -57,7 +57,7 @@ describe('Create item page - Text entry math: Question instructions, Add structu
57
57
 
58
58
  it('The user should be able to edit text in the question input field', () => {
59
59
  textEntryMathPage.steps.addInputToQuestionInputField('Lorem Ipsum');
60
- utilities.verifyInnerText(textEntryMathPage.questionInputField(), '1Response\nclose\n2Response\nclose\n​​​​​​​Lorem Ipsum\n');
60
+ utilities.verifyInnerText(textEntryMathPage.questionInputField(), '1\nclose\n2\nclose\n​​​​​​​Lorem Ipsum\n');
61
61
  });
62
62
 
63
63
  it('When the user focuses in the question input field, the CKEditor toolbar should be displayed with a \'+Response\' button and when the user clicks on \'+Response\' button, then a response token should be added in the question input field', () => {
@@ -83,7 +83,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
83
83
  textEntryMathPage.steps.resetQuestionPreview();
84
84
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
85
85
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
86
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
86
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
87
87
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
88
88
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
89
89
  equationEditorFlyout.steps.clickOnOkButton();
@@ -424,7 +424,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
424
424
  textEntryMathPage.steps.resetQuestionPreview();
425
425
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
426
426
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000');
427
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
427
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
428
428
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
429
429
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
430
430
  equationEditorFlyout.steps.clickOnOkButton();
@@ -1057,7 +1057,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
1057
1057
  textEntryMathPage.steps.resetQuestionPreview();
1058
1058
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
1059
1059
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
1060
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
1060
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
1061
1061
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
1062
1062
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
1063
1063
  equationEditorFlyout.steps.clickOnOkButton();
@@ -1232,7 +1232,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
1232
1232
  textEntryMathPage.steps.resetQuestionPreview();
1233
1233
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
1234
1234
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000');
1235
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
1235
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
1236
1236
  equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^');
1237
1237
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
1238
1238
  equationEditorFlyout.steps.clickOnOkButton();
@@ -188,14 +188,14 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
188
188
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
189
189
  equationEditorFlyout.steps.clearAll();
190
190
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
191
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
191
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
192
192
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
193
193
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
194
194
  equationEditorFlyout.steps.clickOnOkButton();
195
195
  textEntryMathPage.steps.switchToPreviewTab();
196
196
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
197
197
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
198
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
198
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
199
199
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
200
200
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
201
201
  equationEditorFlyout.steps.clickOnOkButton();
@@ -208,7 +208,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
208
208
  textEntryMathPage.steps.resetQuestionPreview();
209
209
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
210
210
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
211
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
211
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
212
212
  equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^10')
213
213
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
214
214
  equationEditorFlyout.steps.clickOnOkButton();
@@ -197,14 +197,14 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
197
197
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
198
198
  equationEditorFlyout.steps.clearAll();
199
199
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
200
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
200
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
201
201
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
202
202
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
203
203
  equationEditorFlyout.steps.clickOnOkButton();
204
204
  textEntryMathPage.steps.switchToPreviewTab();
205
205
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
206
206
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
207
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
207
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
208
208
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
209
209
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
210
210
  equationEditorFlyout.steps.clickOnOkButton();
@@ -217,7 +217,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
217
217
  textEntryMathPage.steps.resetQuestionPreview();
218
218
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
219
219
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
220
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
220
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
221
221
  equationEditorFlyout.steps.enterTextInPreviewInputField('([1.3]^10)^')
222
222
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
223
223
  equationEditorFlyout.steps.clickOnOkButton();
@@ -230,7 +230,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
230
230
  textEntryMathPage.steps.resetQuestionPreview();
231
231
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
232
232
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
233
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
233
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
234
234
  equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^10')
235
235
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
236
236
  equationEditorFlyout.steps.clickOnOkButton();
@@ -240,14 +240,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
240
240
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
241
241
  equationEditorFlyout.steps.clearAll();
242
242
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
243
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
243
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
244
244
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
245
245
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
246
246
  equationEditorFlyout.steps.clickOnOkButton();
247
247
  textEntryMathPage.steps.switchToPreviewTab();
248
248
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
249
249
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
250
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
250
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
251
251
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
252
252
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
253
253
  equationEditorFlyout.steps.clickOnOkButton();
@@ -260,7 +260,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
260
260
  textEntryMathPage.steps.resetQuestionPreview();
261
261
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
262
262
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
263
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
263
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
264
264
  equationEditorFlyout.steps.enterTextInPreviewInputField('([1.3]^10)^')
265
265
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
266
266
  equationEditorFlyout.steps.clickOnOkButton();
@@ -273,7 +273,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
273
273
  textEntryMathPage.steps.resetQuestionPreview();
274
274
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
275
275
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
276
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
276
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
277
277
  equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^10^')
278
278
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
279
279
  equationEditorFlyout.steps.clickOnOkButton();
@@ -243,14 +243,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
243
243
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
244
244
  equationEditorFlyout.steps.clearAll();
245
245
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
246
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
246
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
247
247
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
248
248
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
249
249
  equationEditorFlyout.steps.clickOnOkButton();
250
250
  textEntryMathPage.steps.switchToPreviewTab();
251
251
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
252
252
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
253
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
253
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
254
254
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
255
255
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
256
256
  equationEditorFlyout.steps.clickOnOkButton();
@@ -263,7 +263,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
263
263
  textEntryMathPage.steps.resetQuestionPreview();
264
264
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
265
265
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
266
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
266
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
267
267
  equationEditorFlyout.steps.enterTextInPreviewInputField('([1.3]^10)^')
268
268
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
269
269
  equationEditorFlyout.steps.clickOnOkButton();
@@ -276,7 +276,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
276
276
  textEntryMathPage.steps.resetQuestionPreview();
277
277
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
278
278
  equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
279
- equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
279
+ equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['dotMultiplier'] }]);
280
280
  equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^10^')
281
281
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
282
282
  equationEditorFlyout.steps.clickOnOkButton();
@@ -57,7 +57,7 @@ describe('Create item page - Upload response : Preview contents', () => {
57
57
  it('Upload response area should have a Cloud icon and text \'Drag & Drop files here \'or browse files on your device, or capture an image\' should be displayed', () => {
58
58
  utilities.verifyElementVisibilityState(uploadResponsePage.uploadCloudIcon(), 'visible');
59
59
  utilities.verifyInnerText(uploadResponsePage.dragAndDropFilesText(), 'Drag & Drop files here');
60
- utilities.verifyTextContent(uploadResponsePage.fileUploadOptionsLabel(), 'or browse files on your device, or capture an image');
60
+ utilities.verifyTextContent(uploadResponsePage.fileUploadOptionsLabel(), 'or browse files on your device or capture an image');
61
61
  });
62
62
 
63
63
  it('Computer icon should be displayed before link texts \'device\'', () => {
@@ -28,7 +28,6 @@ describe('Create question page - Upload Response: Additional Settings', () => {
28
28
  it('User should be able to unselect Upload controls options', () => {
29
29
  uploadResponsePage.steps.unselectUploadControlsOption(0);
30
30
  uploadResponsePage.steps.unselectUploadControlsOption(1);
31
- uploadResponsePage.steps.unselectUploadControlsOption(2);
32
31
  });
33
32
 
34
33
  it('\'Display per file size limit to student\' label and checkbox should be displayed and by default checkbox should be checked', () => {
@@ -110,20 +109,6 @@ describe('Create question page - Upload Response: Additional Settings', () => {
110
109
  uploadResponsePage.steps.verifyUploadOptionNotVisibleInUploadResponseArea('Capture photo');
111
110
  });
112
111
 
113
- it('When the \'Google Drive\' option is selected then in the preview tab, the upload response area text should have \'Google drive\' option', () => {
114
- uploadResponsePage.steps.switchToPreviewTab();
115
- uploadResponsePage.steps.verifyUploadOptionVisibleInUploadResponseArea('Google Drive');
116
- });
117
-
118
- it('When the user unselects the \'Google Drive\' option, then in the Preview tab the upload response area text should have not \'Google drive\' option', () => {
119
- cy.log('Switching to Edit tab.');
120
- uploadResponsePage.steps.switchToEditTab();
121
- uploadResponsePage.steps.unselectUploadControlsOption(1);
122
- cy.log('Switching to Preview tab.');
123
- uploadResponsePage.steps.switchToPreviewTab();
124
- uploadResponsePage.steps.verifyUploadOptionNotVisibleInUploadResponseArea('Google Drive');
125
- });
126
-
127
112
  it('When the \'Drag and drop files\' option is selected then in the preview tab, the upload response area text should be \'Drag and drop files here\'', () => {
128
113
  uploadResponsePage.steps.switchToPreviewTab();
129
114
  utilities.verifyElementVisibilityState(uploadResponsePage.uploadCloudIcon(), 'visible');
@@ -133,7 +118,7 @@ describe('Create question page - Upload Response: Additional Settings', () => {
133
118
  it('When the user unselects the \'Drag and drop files\' option, then in the Preview tab the upload response area text should be \'Upload file here\'', () => {
134
119
  cy.log('Switching to Edit tab.');
135
120
  uploadResponsePage.steps.switchToEditTab();
136
- uploadResponsePage.steps.unselectUploadControlsOption(2);
121
+ uploadResponsePage.steps.unselectUploadControlsOption(1);
137
122
  uploadResponsePage.steps.switchToPreviewTab();
138
123
  utilities.verifyElementVisibilityState(uploadResponsePage.uploadCloudIcon(), 'visible');
139
124
  utilities.verifyInnerText(uploadResponsePage.dragAndDropFilesText(), 'Upload file here');
@@ -105,7 +105,6 @@ describe('Create item page - Charts : Dot - Check answer functionality', () => {
105
105
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 0.25 });
106
106
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 0.25, defaultDots: 0 });
107
107
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 0.25, defaultDots: 0 });
108
- chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
109
108
  });
110
109
 
111
110
  it('When the user attempts the question incorrectly then on clicking \'Check answer\' button, \'Your answer is incorrect\' should be displayed and the attempted dot column should be displayed incorrect', () => {