itemengine-cypress-automation 1.0.174-uploadResponseMigrationScript-45ca862.0 → 1.0.174

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +0 -18
  2. package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +1 -1
  3. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +10 -7
  4. package/cypress/e2e/ILC/FeedbackScaleNew/additionalSettings.js +111 -0
  5. package/cypress/e2e/ILC/FeedbackScaleNew/colorPopup.js +206 -0
  6. package/cypress/e2e/ILC/FeedbackScaleNew/editTabBasicSection.js +262 -0
  7. package/cypress/e2e/ILC/FeedbackScaleNew/headerSection.js +51 -0
  8. package/cypress/e2e/ILC/FeedbackScaleNew/numbersFeedbackScaleStyle.js +17 -17
  9. package/cypress/e2e/ILC/FeedbackScaleNew/thumbsFeedbackScaleStyle.js +1 -1
  10. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/additionalSettings.js +2 -2
  11. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/clickAndDrop.js +3 -3
  12. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/conditionalCheckboxScoring.js +1 -0
  13. package/cypress/e2e/ILC/Graphing/addBackgroundShapesSection.js +6 -7
  14. package/cypress/e2e/ILC/Graphing/additionalSettingsBasic.js +3 -3
  15. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +0 -1
  16. package/cypress/e2e/ILC/Graphing/checkAnswerFunctionalityForAllViews.smoke.js +0 -1
  17. package/cypress/e2e/ILC/Graphing/toolsControlsAndBackgroundSection.js +0 -1
  18. package/cypress/e2e/ILC/GridFill/checkAnswerFunctionalityForAllViews.smoke.js +2 -0
  19. package/cypress/e2e/ILC/GridFill/gridLayoutContents.js +3 -4
  20. package/cypress/e2e/ILC/GridFill/gridLayoutEditTabFunctionality.js +2 -2
  21. package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +12 -12
  22. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +91 -90
  23. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +93 -92
  24. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +97 -95
  25. package/cypress/e2e/ILC/NumberLine/Scoring/manualAndNonScoredScoring.js +62 -62
  26. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsBasic.js +118 -117
  27. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithAlternatePointsGreaterThanCorrectPoints.js +124 -120
  28. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternatePoints.js +128 -125
  29. package/cypress/e2e/ILC/NumberLine/Scoring/partialEqualWeigtsWithCorrectPointsEqualToAlternatePoints.js +97 -96
  30. package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +222 -196
  31. package/cypress/e2e/ILC/NumberLine/checkAnswerFunctionalityForAllViews.smoke.js +34 -34
  32. package/cypress/e2e/ILC/NumberLine/editTabScoringSection.js +20 -20
  33. package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +29 -29
  34. package/cypress/e2e/ILC/NumberLine/headerSection.js +3 -2
  35. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +40 -37
  36. package/cypress/e2e/ILC/NumberLine/specifyCorrectAnswerSection.js +7 -4
  37. package/cypress/e2e/ILC/NumberLine/studentViewSettings.js +14 -12
  38. package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +24 -23
  39. package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +2 -2
  40. package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
  41. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +2 -0
  42. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -0
  43. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -0
  44. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +1 -0
  45. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +1 -0
  46. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -0
  47. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -15
  48. package/cypress/e2e/ILC/TextEntryMath/specifyCorrectAnswerSection.js +1 -0
  49. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +1 -0
  50. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +1 -1
  51. package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +332 -0
  52. package/cypress/e2e/ILC/TextSelection/Scoring/manuallyAndNonScored.js +149 -0
  53. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsBasic.js +0 -1
  54. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsBasic.js +0 -1
  55. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +11 -11
  56. package/cypress/e2e/ILC/TextSelection/checkAnswerFunctionalityForAllViews.smoke.js +3 -3
  57. package/cypress/e2e/ILC/TextSelection/editTabScoringSection.js +337 -0
  58. package/cypress/e2e/ILC/TextSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +206 -0
  59. package/cypress/e2e/ILC/TextSelection/{previewContentsForAllViews.js → previewContentsForAllViews.smoke.js} +3 -3
  60. package/cypress/e2e/ILC/UploadResponse/uplodResponsePreviewUploadedFileProperties.js +87 -87
  61. package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +5 -5
  62. package/cypress/pages/audioResponsePage.js +1 -0
  63. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -1
  64. package/cypress/pages/components/autoScoredStudentViewSettings.js +1 -1
  65. package/cypress/pages/components/backgroundImageUploadComponent.js +1 -4
  66. package/cypress/pages/components/colorPopupComponent.js +11 -0
  67. package/cypress/pages/components/createCustomCategoryFlyout.js +13 -9
  68. package/cypress/pages/components/draggableOptionContainer.js +1 -0
  69. package/cypress/pages/components/equationEditorFlyout.js +0 -1
  70. package/cypress/pages/components/essayResponseCommonComponents.js +1 -1
  71. package/cypress/pages/components/imageCanvasComponent.js +1 -1
  72. package/cypress/pages/components/index.js +2 -1
  73. package/cypress/pages/components/optionsWrapperComponent.js +2 -1
  74. package/cypress/pages/components/questionInputFieldComponent.js +1 -1
  75. package/cypress/pages/components/questionInstructionsComponent.js +19 -7
  76. package/cypress/pages/components/setPointsPopupBase.js +17 -4
  77. package/cypress/pages/components/studentViewSettingsLabelComponent.js +2 -2
  78. package/cypress/pages/drawingResponsePage.js +2 -3
  79. package/cypress/pages/feedbackScalePage.js +143 -2
  80. package/cypress/pages/fillInTheGapsDragAndDropPage.js +1 -1
  81. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +12 -12
  82. package/cypress/pages/graphingPage.js +6 -6
  83. package/cypress/pages/gridFillPage.js +64 -7
  84. package/cypress/pages/matchingPage.js +3 -3
  85. package/cypress/pages/numberLinePage.js +342 -215
  86. package/cypress/pages/readingRulerPage.js +1 -1
  87. package/cypress/pages/textEntryMathPage.js +9 -0
  88. package/cypress/pages/textEntryMathWithImagePage.js +11 -11
  89. package/cypress/pages/textSelectionPage.js +125 -57
  90. package/package.json +2 -2
  91. package/cypress/e2e/ILC/FeedbackScaleNew/feedbackScaleStylePreviewTab.js +0 -161
  92. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettings.js +0 -356
  93. package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettingsResponseAccordion.js +0 -299
  94. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToCorrectPoints.js +0 -355
  95. package/cypress/e2e/ILC/MultipleSelectionGridNew/test.js +0 -28
  96. package/cypress/pages/feedbackScalePage copy.js +0 -716
@@ -5,7 +5,7 @@ const unselectedToolOption = ['Left/down ray', 'Right/up ray', 'Left/down ray w/
5
5
  const selectedToolOption = ['Point', 'Segment', 'Segment left/down hollow pt', 'Segment right/up hollow pt', 'Segment both hollow pts'];
6
6
  const controlOptions = ['Undo', 'Redo', 'Reset'];
7
7
  const toolOptions = [...selectedToolOption, ...unselectedToolOption];
8
- const range = 20;
8
+ const range = 20.4472843;
9
9
  const css = Cypress.env('css');
10
10
 
11
11
  describe('Number line: Tools and controls - Edit tab and preview tab tool options', () => {
@@ -14,9 +14,8 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
14
14
  });
15
15
 
16
16
  describe('Tools and controls - Edit tab content and functionality', () => {
17
- const unselectedToolOption = ['Left/down ray', 'Right/up ray', 'Left/down ray w/hollow pt', 'Right/up ray w/hollow pt'];
18
- const selectedToolOption = ['Point', 'Segment', 'Segment left/down hollow pt', 'Segment right/up hollow pt', 'Segment both hollow pts'];
19
- const toolOptions = [...selectedToolOption, ...unselectedToolOption];
17
+ const unselectedToolOptions = ['Left/down ray', 'Right/up ray', 'Left/down ray w/hollow pt', 'Right/up ray w/hollow pt'];
18
+ const toolOptionsArray = [...selectedToolOption, ...unselectedToolOptions];
20
19
  abortEarlySetup();
21
20
  before(() => {
22
21
  numberLinePage.steps.navigateToCreateQuestion('Number line');
@@ -56,7 +55,7 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
56
55
  });
57
56
  });
58
57
 
59
- numberLinePage.tests.verifyDefaultToolDropdown(toolOptions);
58
+ numberLinePage.tests.verifyDefaultToolDropdown(toolOptionsArray);
60
59
 
61
60
  it(`The ${selectedToolOption} options should be displayed in the \'Specify correct answer\' section`, () => {
62
61
  selectedToolOption.forEach((toolOption) => {
@@ -230,8 +229,9 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
230
229
  });
231
230
 
232
231
  it('When the user plots points on the number line then the \'Undo\' and \'Reset\' buttons should be displayed in enabled state whereas, \'Redo\' button should be displayed in disabled state', () => {
233
- numberLinePage.steps.plotPointOnNumberLineSpecifyCorrectAnswer([{ x: 2, xRange: range }, { x: 3, xRange: range }]);
234
- numberLinePage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer([{ x: 2, xRange: range }, { x: 3, xRange: range }]);
232
+ numberLinePage.steps.plotPointOnNumberLineSpecifyCorrectAnswer("horizontal", range, 2);
233
+ numberLinePage.steps.plotPointOnNumberLineSpecifyCorrectAnswer("horizontal", range, 3);
234
+ numberLinePage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [2, 3]);
235
235
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionSpecifyCorrectAnswer('Undo'));
236
236
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionSpecifyCorrectAnswer('Reset'));
237
237
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionSpecifyCorrectAnswer('Redo'));
@@ -239,15 +239,15 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
239
239
 
240
240
  it('When the user selects \'Undo\' button then the latest action should be reversed and the \'Redo\' button should become enabled', () => {
241
241
  numberLinePage.steps.selectNumberLineControlOptionSpecifyCorrectAnswerSection('Undo');
242
- numberLinePage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer([{ x: 2, xRange: range }]);
243
- numberLinePage.steps.verifyPointsPlottedOnNumberLineNotExistSpecifyCorrectAnswer([{ x: 3, xRange: range }]);
242
+ numberLinePage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [2]);
243
+ numberLinePage.steps.verifyPointsPlottedOnNumberLineNotExistSpecifyCorrectAnswer(range, [3]);
244
244
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionSpecifyCorrectAnswer('Undo'));
245
245
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionSpecifyCorrectAnswer('Redo'));
246
246
  });
247
247
 
248
248
  it('When the user clicks on the \'Redo\' button the latest action should be reinstated and the the \'Redo\' button should be disabled again', () => {
249
249
  numberLinePage.steps.selectNumberLineControlOptionSpecifyCorrectAnswerSection('Redo');
250
- numberLinePage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer([{ x: 2, xRange: range }, { x: 3, xRange: range }]);
250
+ numberLinePage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [2, 3]);
251
251
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionSpecifyCorrectAnswer('Undo'));
252
252
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionSpecifyCorrectAnswer('Redo'));
253
253
  });
@@ -255,7 +255,7 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
255
255
  it('When the user reaches the initial state by performing \'Undo\' actions then the \'Redo\' button should be in enabled state and \'Undo\' button should be in disabled state', () => {
256
256
  numberLinePage.steps.selectNumberLineControlOptionSpecifyCorrectAnswerSection('Undo');
257
257
  numberLinePage.steps.selectNumberLineControlOptionSpecifyCorrectAnswerSection('Undo');
258
- numberLinePage.steps.verifyPointsPlottedOnNumberLineNotExistSpecifyCorrectAnswer([{ x: 2, xRange: range }, { x: 3, xRange: range }]);
258
+ numberLinePage.steps.verifyPointsPlottedOnNumberLineNotExistSpecifyCorrectAnswer(range, [2, 3]);
259
259
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionSpecifyCorrectAnswer('Undo'));
260
260
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionSpecifyCorrectAnswer('Redo'));
261
261
  });
@@ -263,7 +263,7 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
263
263
  it('When the user reaches the latest state by performing \'Redo\' actions then the \'Undo\' button should be in enabled state and \'Redo\' button should be in disabled state', () => {
264
264
  numberLinePage.steps.selectNumberLineControlOptionSpecifyCorrectAnswerSection('Redo');
265
265
  numberLinePage.steps.selectNumberLineControlOptionSpecifyCorrectAnswerSection('Redo');
266
- numberLinePage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer([{ x: 2, xRange: range }, { x: 3, xRange: range }]);
266
+ numberLinePage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [2, 3]);
267
267
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionSpecifyCorrectAnswer('Undo'));
268
268
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionSpecifyCorrectAnswer('Redo'));
269
269
  });
@@ -276,13 +276,13 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
276
276
 
277
277
  it('When the user clicks on the \'Cancel\' button then the plotted number line should not be \'Reset\'', () => {
278
278
  numberLinePage.steps.cancelReset();
279
- numberLinePage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer([{ x: 2, xRange: range }, { x: 3, xRange: range }]);
279
+ numberLinePage.steps.verifyPointsPlottedOnNumberLineSpecifyCorrectAnswer(range, [2, 3]);
280
280
  });
281
281
 
282
282
  it('When the user clicks on \'Confirm \'Reset\'\' then the plotted number line should be \'Reset\'', () => {
283
283
  numberLinePage.steps.selectNumberLineControlOptionSpecifyCorrectAnswerSection('Reset');
284
284
  numberLinePage.steps.confirmReset();
285
- numberLinePage.steps.verifyPointsPlottedOnNumberLineNotExistSpecifyCorrectAnswer([{ x: 2, xRange: range }, { x: 3, xRange: range }]);
285
+ numberLinePage.steps.verifyPointsPlottedOnNumberLineNotExistSpecifyCorrectAnswer(range, [2, 3]);
286
286
  });
287
287
 
288
288
  it('When the user \'Reset\'s the number line then the \'Undo\', \'Redo\' and \'Reset\' buttons should be in disabled state', () => {
@@ -307,8 +307,9 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
307
307
  });
308
308
 
309
309
  it('When the user plots points on the number line then the \'Undo\' button should be displayed in enabled state whereas, \'Redo\' and \'Reset\' buttons should be displayed in disabled state', () => {
310
- numberLinePage.steps.plotPointOnNumberLinePreviewTab([{ x: 1, xRange: range }, { x: 2, xRange: range }]);
311
- numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab([{ x: 1, xRange: range }, { x: 2, xRange: range }]);
310
+ numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 1);
311
+ numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 2);
312
+ numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [1, 2]);
312
313
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionPreviewTab('Undo'));
313
314
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Redo'));
314
315
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionPreviewTab('Reset'));
@@ -316,15 +317,15 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
316
317
 
317
318
  it('When the user selects \'Undo\' button then the latest action should be reversed and the \'Redo\' button should become enabled', () => {
318
319
  numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Undo');
319
- numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab([{ x: 1, xRange: range }]);
320
- numberLinePage.steps.verifyPointsNotExistOnNumberLinePreviewTab([{ x: 2, xRange: range }]);
320
+ numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [1]);
321
+ numberLinePage.steps.verifyPointsNotExistOnNumberLinePreviewTab(range, [2]);
321
322
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionPreviewTab('Undo'));
322
323
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionPreviewTab('Redo'));
323
324
  });
324
325
 
325
326
  it('When the user clicks on the \'Redo\' button the latest action should be reinstated and the the \'Redo\' button should be disabled again', () => {
326
327
  numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Redo');
327
- numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab([{ x: 1, xRange: range }, { x: 2, xRange: range }]);
328
+ numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [1, 2]);
328
329
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionPreviewTab('Undo'));
329
330
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Redo'));
330
331
  });
@@ -332,7 +333,7 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
332
333
  it('When the user reaches the initial state by performing \'Undo\' actions then the \'Redo\' button should be in enabled state and \'Undo\' button should be in disabled state', () => {
333
334
  numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Undo');
334
335
  numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Undo');
335
- numberLinePage.steps.verifyPointsNotExistOnNumberLinePreviewTab([{ x: 1, xRange: range }, { x: 2, xRange: range }]);
336
+ numberLinePage.steps.verifyPointsNotExistOnNumberLinePreviewTab(range, [1, 2]);
336
337
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Undo'));
337
338
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionPreviewTab('Redo'));
338
339
  });
@@ -340,7 +341,7 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
340
341
  it('When the user reaches the latest state by performing \'Redo\' actions then the \'Undo\' button should be in enabled state and \'Redo\' button should be in disabled state', () => {
341
342
  numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Redo');
342
343
  numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Redo');
343
- numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab([{ x: 1, xRange: range }, { x: 2, xRange: range }]);
344
+ numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [1, 2]);
344
345
  utilities.verifyElementNotDisabled(numberLinePage.numberLineControlOptionPreviewTab('Undo'));
345
346
  utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab('Redo'));
346
347
  });
@@ -353,14 +354,14 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
353
354
 
354
355
  it('When the user clicks on the \'Cancel\' button then the plotted points on number line should not \'Reset\' and the dialog box should not be displayed', () => {
355
356
  numberLinePage.steps.cancelReset();
356
- numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab([{ x: 1, xRange: range }, { x: 2, xRange: range }]);
357
+ numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [1, 2]);
357
358
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
358
359
  });
359
360
 
360
361
  it('When the user clicks on \'Confirm reset\'\' then the plotted number line should be \'Reset\'', () => {
361
362
  numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Reset');
362
363
  numberLinePage.steps.confirmReset();
363
- numberLinePage.steps.verifyPointsNotExistOnNumberLinePreviewTab([{ x: 1, xRange: range }, { x: 2, xRange: range }]);
364
+ numberLinePage.steps.verifyPointsNotExistOnNumberLinePreviewTab(range, [1, 2]);
364
365
  utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
365
366
  });
366
367
 
@@ -81,8 +81,8 @@ describe('Create Item page - Short text response : Student view settings', () =>
81
81
  shortTextResponsePage.steps.checkAutoScaleTheResponseFieldHeightCheckbox();
82
82
  });
83
83
 
84
- it('\'Allow student to check answer\' label and checkbox should be displayed and it should be unchecked by default', () => {
85
- utilities.verifyInnerText(shortTextResponsePage.allowStudentToCheckAnswerLabel(), 'Allow student to check answer');
84
+ it('\'Allow students to check answer\' label and checkbox should be displayed and it should be unchecked by default', () => {
85
+ utilities.verifyInnerText(shortTextResponsePage.allowStudentToCheckAnswerLabel(), 'Allow students to check answer');
86
86
  shortTextResponsePage.steps.verifyAllowStudentsToCheckAnswerCheckboxUnchecked();
87
87
  });
88
88
 
@@ -54,7 +54,7 @@ describe('Preview tab contents for all views for Simple calculator', () => {
54
54
  });
55
55
 
56
56
  it('Calculator should be displayed with an empty display and all the basic buttons along with a drag handle button', () => {
57
- utilities.verifyElementVisibilityState(simpleCalculatorPage.calculatorDragHandleButton(), 'visible');
57
+ utilities.verifyElementVisibilityState(simpleCalculatorPage.calculatorDragHandleButton(), 'exist');
58
58
  simpleCalculatorPage.steps.verifyCalculatorDisplayResultValue('');
59
59
  utilities.verifyElementVisibilityState(simpleCalculatorPage.checkHistoryButton(), 'visible');
60
60
  simpleCalculatorPage.steps.verifyUndoButtonDisabled();
@@ -323,6 +323,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
323
323
  });
324
324
  });
325
325
 
326
+ //Failing due to https://redmine.zeuslearning.com/issues/562013
326
327
  describe('Equivalent structure - Syntax: Fraction, mixed fraction, simple fraction and fraction or decimal', () => {
327
328
  abortEarlySetup();
328
329
  before(() => {
@@ -907,6 +908,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
907
908
  });
908
909
  });
909
910
 
911
+ //Failing due to https://redmine.zeuslearning.com/issues/562013
910
912
  describe('Equivalent structure - Syntax: Expression and equation', () => {
911
913
  abortEarlySetup();
912
914
  before(() => {
@@ -8,6 +8,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
8
8
  cy.loginAs('admin');
9
9
  });
10
10
 
11
+ //Failing due to https://redmine.zeuslearning.com/issues/562013
11
12
  describe('Evaluation methods: Match exact', () => {
12
13
  abortEarlySetup();
13
14
  before(() => {
@@ -8,6 +8,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
8
8
  cy.loginAs('admin');
9
9
  });
10
10
 
11
+ //Failing due to https://redmine.zeuslearning.com/issues/562013
11
12
  describe('Evaluation methods: Match value', () => {
12
13
  abortEarlySetup();
13
14
  before(() => {
@@ -8,6 +8,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
8
8
  cy.loginAs('admin');
9
9
  });
10
10
 
11
+ //Failing due to https://redmine.zeuslearning.com/issues/562013
11
12
  describe('Evaluation methods: Symbols are equivalent', () => {
12
13
  abortEarlySetup();
13
14
  before(() => {
@@ -8,6 +8,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
8
8
  cy.loginAs('admin');
9
9
  });
10
10
 
11
+ //Failing due to https://redmine.zeuslearning.com/issues/562013
11
12
  describe('Evaluation methods: Value is equivalent', () => {
12
13
  abortEarlySetup();
13
14
  before(() => {
@@ -8,6 +8,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
8
8
  cy.loginAs('admin');
9
9
  });
10
10
 
11
+ //Failing due to https://redmine.zeuslearning.com/issues/562013
11
12
  describe('Evaluation methods: Response is true', () => {
12
13
  abortEarlySetup();
13
14
  before(() => {
@@ -201,6 +202,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
201
202
  });
202
203
  });
203
204
 
205
+ //Failing due to https://redmine.zeuslearning.com/issues/562013
204
206
  describe('Evaluation methods: Expanded form', () => {
205
207
  abortEarlySetup();
206
208
  before(() => {
@@ -398,6 +400,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
398
400
  });
399
401
  });
400
402
 
403
+ //Failing due to https://redmine.zeuslearning.com/issues/562013
401
404
  describe('Evaluation methods: Factored form', () => {
402
405
  abortEarlySetup();
403
406
  before(() => {
@@ -593,6 +596,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
593
596
  });
594
597
  });
595
598
 
599
+ //Failing due to https://redmine.zeuslearning.com/issues/562013
596
600
  describe('Evaluation methods: Simplified version', () => {
597
601
  abortEarlySetup();
598
602
  before(() => {
@@ -325,38 +325,31 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
325
325
  } else {
326
326
  utilities.verifyElementVisibilityState(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.interpretIAsImaginary), 'notExist');
327
327
  }
328
- if (evaluationMethod.customSettings.includes('Interpret i as imaginary')) {
329
- utilities.verifyElementVisibilityState(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.interpretIAsImaginary), 'visible');
330
- textEntryMathPage.steps.verifyCustomSettingsCheckboxIsUnchecked(customSettingsIds.interpretIAsImaginary);
331
- textEntryMathPage.steps.verifyCustomSettingsCheckboxLabel(customSettingsIds.interpretIAsImaginary, 'Interpret i as imaginary');
332
- } else {
333
- utilities.verifyElementVisibilityState(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.interpretIAsImaginary), 'notExist');
334
- }
335
- if (evaluationMethod.customSettings.includes('Ignore order')) {
328
+ if (evaluationMethod.customSettings.includes('Accept expressions in any order')) {
336
329
  utilities.verifyElementVisibilityState(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.acceptExpressionsInAnyOrder), 'visible');
337
330
  textEntryMathPage.steps.verifyCustomSettingsCheckboxIsUnchecked(customSettingsIds.acceptExpressionsInAnyOrder);
338
- textEntryMathPage.steps.verifyCustomSettingsCheckboxLabel(customSettingsIds.acceptExpressionsInAnyOrder, 'Ignore order');
331
+ textEntryMathPage.steps.verifyCustomSettingsCheckboxLabel(customSettingsIds.acceptExpressionsInAnyOrder, 'Accept expressions in any order');
339
332
  } else {
340
333
  utilities.verifyElementVisibilityState(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.acceptExpressionsInAnyOrder), 'notExist');
341
334
  }
342
- if (evaluationMethod.customSettings.includes('Inverse result')) {
335
+ if (evaluationMethod.customSettings.includes('Exclude from possible correct answers')) {
343
336
  utilities.verifyElementVisibilityState(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.excludeFromPossibleCorrectAnswers), 'visible');
344
337
  textEntryMathPage.steps.verifyCustomSettingsCheckboxIsUnchecked(customSettingsIds.excludeFromPossibleCorrectAnswers);
345
- textEntryMathPage.steps.verifyCustomSettingsCheckboxLabel(customSettingsIds.excludeFromPossibleCorrectAnswers, 'Inverse result');
338
+ textEntryMathPage.steps.verifyCustomSettingsCheckboxLabel(customSettingsIds.excludeFromPossibleCorrectAnswers, 'Exclude from possible correct answers');
346
339
  } else {
347
340
  utilities.verifyElementVisibilityState(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.excludeFromPossibleCorrectAnswers), 'notExist');
348
341
  }
349
- if (evaluationMethod.customSettings.includes('Ignore trailing zeros')) {
342
+ if (evaluationMethod.customSettings.includes('Ignore zeros after decimal')) {
350
343
  utilities.verifyElementVisibilityState(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.ignoreZerosAfterDecimal), 'visible');
351
344
  textEntryMathPage.steps.verifyCustomSettingsCheckboxIsUnchecked(customSettingsIds.ignoreZerosAfterDecimal);
352
- textEntryMathPage.steps.verifyCustomSettingsCheckboxLabel(customSettingsIds.ignoreZerosAfterDecimal, 'Ignore trailing zeros');
345
+ textEntryMathPage.steps.verifyCustomSettingsCheckboxLabel(customSettingsIds.ignoreZerosAfterDecimal, 'Ignore zeros after decimal');
353
346
  } else {
354
347
  utilities.verifyElementVisibilityState(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.ignoreZerosAfterDecimal), 'notExist');
355
348
  }
356
- if (evaluationMethod.customSettings.includes('Ignore coefficient of 1')) {
349
+ if (evaluationMethod.customSettings.includes('Ignore unit coefficient')) {
357
350
  utilities.verifyElementVisibilityState(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.ignoreUnitCoefficient), 'visible');
358
351
  textEntryMathPage.steps.verifyCustomSettingsCheckboxIsUnchecked(customSettingsIds.ignoreUnitCoefficient);
359
- textEntryMathPage.steps.verifyCustomSettingsCheckboxLabel(customSettingsIds.ignoreUnitCoefficient, 'Ignore coefficient of 1');
352
+ textEntryMathPage.steps.verifyCustomSettingsCheckboxLabel(customSettingsIds.ignoreUnitCoefficient, 'Ignore unit coefficient');
360
353
  } else {
361
354
  utilities.verifyElementVisibilityState(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.ignoreUnitCoefficient), 'notExist');
362
355
  }
@@ -30,6 +30,7 @@ describe('Create Item page - Text entry math: Specify correct answer, Alternativ
30
30
  textEntryMathPage.steps.addResponseToken();
31
31
  });
32
32
 
33
+ //Failing here due to https://redmine.zeuslearning.com/issues/567075
33
34
  textEntryMathPage.tests.verifyAutoScoredAddAlternativeAnswerButtonAndValidation('text entry math');
34
35
 
35
36
  it('When user has added points and given input in response accordion answer input field in the \'Correct\' accordion, then the user should be able to add alternative answer for the question using \'Add alternative answer\' button', () => {
@@ -280,6 +280,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
280
280
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
281
281
  equationEditorFlyout.steps.clearAll();
282
282
  textEntryMathWithImagePage.steps.enterTextInPreviewInputField('Correct1');
283
+ equationEditorFlyout.steps.clickOnOkButton();
283
284
  textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
284
285
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
285
286
  equationEditorFlyout.steps.enterQuadraticEquation();
@@ -3,7 +3,7 @@ import utilities from "../../../support/helpers/utilities";
3
3
  import abortEarlySetup from "../../../support/helpers/abortEarly";
4
4
  const css = Cypress.env('css');
5
5
 
6
- const textContainerPointerStyles = ['None', 'Bottom', 'Bottom right', 'Right', 'Top right', 'Top', 'Top left', 'Left', 'Bottom left'];
6
+ const textContainerPointerStyles = ['none', 'bottom', 'bottom right', 'right', 'top right', 'top', 'top left', 'left', 'bottom left'];
7
7
 
8
8
  describe('Create item page - Text entry math: Question instructions, Options section', () => {
9
9
  before(() => {