itemengine-cypress-automation 1.0.194-packageUpdate1-2424cfe.0 → 1.0.195-15thMayUpdates-cc82cc7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. package/cypress/e2e/ILC/AudioPlayerNew/audioOverviewAndTranscript.js +6 -6
  2. package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +4 -4
  3. package/cypress/e2e/ILC/AudioPlayerNew/compactAudioPlayerStyle.js +4 -4
  4. package/cypress/e2e/ILC/AudioPlayerNew/customizePlayerLayoutSettings.js +27 -12
  5. package/cypress/e2e/ILC/AudioPlayerNew/standardAudioPlayerStyle.js +7 -7
  6. package/cypress/e2e/ILC/AudioPlayerNew/uploadAndAddAudioFile.js +1 -1
  7. package/cypress/e2e/ILC/AudioResponseNew/customizePlaybackControls.js +2 -2
  8. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +9 -8
  9. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +1 -1
  10. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +7 -7
  11. package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +2 -2
  12. package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +2 -2
  13. package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +11 -9
  14. package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -1
  15. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions1.smoke.js +1 -0
  16. package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +1 -1
  17. package/cypress/e2e/ILC/FeedbackScaleNew/numbersFeedbackScaleStyle.js +2 -2
  18. package/cypress/e2e/ILC/FeedbackScaleNew/textFeedbackScaleStyle.js +4 -6
  19. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownSettings.js +3 -0
  20. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +1 -1
  21. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +11 -11
  22. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/clickAndDrop.js +1 -1
  23. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +4 -4
  24. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  25. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/responseLevelAlternateAnswersBasicScoring.js +6 -4
  26. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -3
  27. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +2 -1
  28. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +2 -1
  29. package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
  30. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
  31. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -1
  32. package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +2 -1
  33. package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +2 -1
  34. package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +2 -1
  35. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -3
  36. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -3
  37. package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +4 -3
  38. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +6 -5
  39. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +6 -5
  40. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
  41. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +2 -1
  42. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -2
  43. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +3 -2
  44. package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  45. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -3
  46. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +4 -4
  47. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +4 -4
  48. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
  49. package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
  50. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +4 -4
  51. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
  52. package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
  53. package/cypress/e2e/ILC/Matching/additionalSettings.js +4 -4
  54. package/cypress/e2e/ILC/Matching/draggableOptions.js +1 -1
  55. package/cypress/e2e/ILC/Matching/specifyCorrectAnswerSection.js +1 -1
  56. package/cypress/e2e/ILC/Matching/studentViewSettings.js +3 -3
  57. package/cypress/e2e/ILC/Matching/studentViewSettingsForGroupedLayout.js +4 -4
  58. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +0 -4
  59. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +78 -86
  60. package/cypress/e2e/ILC/MultipleSelection/checkAnswerFunctionalityForAllViews.smoke.js +1 -6
  61. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +12 -12
  62. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +9 -5
  63. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -2
  64. package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +9 -21
  65. package/cypress/e2e/ILC/NumberLineLabel/editTabBasicSection.js +6 -5
  66. package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/numberLineSection.js +2 -2
  67. package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +5 -5
  68. package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +2 -2
  69. package/cypress/e2e/ILC/Ruler/rulerHeaderSection.js +12 -21
  70. package/cypress/e2e/ILC/ShortTextResponseNew/responseAnswersAndAcceptedStudentInput.js +13 -13
  71. package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +5 -5
  72. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +7 -7
  73. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +3 -3
  74. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +5 -4
  75. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +5 -5
  76. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +5 -5
  77. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +1 -1
  78. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +30 -30
  79. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +2 -2
  80. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
  81. package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +1 -1
  82. package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +1 -1
  83. package/cypress/e2e/ILC/TextSelection/Scoring/manuallyAndNonScored.js +1 -1
  84. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsBasic.js +1 -1
  85. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  86. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  87. package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  88. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsBasic.js +1 -1
  89. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  90. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  91. package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  92. package/cypress/e2e/ILC/TextSelection/headerSection.js +0 -2
  93. package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +9 -9
  94. package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +4 -5
  95. package/cypress/e2e/ILC/UploadResponse/studentViewSettingsSection.js +1 -1
  96. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +19 -19
  97. package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControlsCompactRecorderStyle.js +1 -1
  98. package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControlsStandardRecorderStyle.js +8 -8
  99. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +3 -3
  100. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -3
  101. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +2 -2
  102. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosFourFunctionCalculatorPreviewContents.smoke.js +1 -1
  103. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosGraphingCalculatorPreviewContents.smoke.js +1 -1
  104. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosMatrixCalculatorPreviewContents.smoke.js +1 -1
  105. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosScientificCalculatorEditTabBasicSection.js +6 -6
  106. package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosScientificCalculatorPreviewContents.smoke.js +1 -1
  107. package/cypress/e2e/ThirdPartyQuestions/DesmosGraphing/additionalSettings.js +5 -7
  108. package/cypress/e2e/ThirdPartyQuestions/DesmosGraphing/studentViewSettings.js +6 -33
  109. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/3DGraphingCalculatorEditTabBasicSection.js +3 -3
  110. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/3DGraphingCalculatorPreviewTabContents.smoke.js +2 -2
  111. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/casCalculatorEditTabBasicSection.js +3 -3
  112. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/casCalculatorPreviewTabContents.smoke.js +1 -1
  113. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/geometryCalculatorEditTabBasicSection.js +4 -4
  114. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/geometryCalculatorPreviewTabContents.smoke.js +2 -2
  115. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/graphingCalculatorEditTabBasicSection.js +3 -3
  116. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/graphingCalculatorPreviewTabContents.smoke.js +2 -2
  117. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/probablityCalculatorEditTabBasicSection.js +3 -3
  118. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/probablityCalculatorPreviewTabContents.smoke.js +1 -1
  119. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/scientificCalculatorEditTabBasicSection.js +3 -3
  120. package/cypress/e2e/ThirdPartyQuestions/GeoGebra/scientificCalculatorPreviewTabContents.smoke.js +2 -2
  121. package/cypress/e2e/ThirdPartyQuestions/GeogebraActivity/additionalSettings.js +4 -4
  122. package/cypress/e2e/ThirdPartyQuestions/GeogebraActivity/headerSection.js +0 -2
  123. package/cypress/e2e/ThirdPartyQuestions/GeogebraActivity/insertResourceLink.js +1 -1
  124. package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +1 -1
  125. package/cypress/fixtures/theme/ilc.json +8 -2
  126. package/cypress/fixtures/uploads/sample1.txt +4 -0
  127. package/cypress/fixtures/uploads/sample2.txt +13 -0
  128. package/cypress/fixtures/uploads/sample300kb.txt +1 -0
  129. package/cypress/pages/audioPlayerPage.js +3 -2
  130. package/cypress/pages/chartsLinePage.js +2 -1
  131. package/cypress/pages/components/ariaLabelSectionComponent.js +1 -0
  132. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +2 -2
  133. package/cypress/pages/components/colorPopupComponent.js +1 -1
  134. package/cypress/pages/components/draggableOptionContainer.js +2 -2
  135. package/cypress/pages/components/editCategoryFlyout.js +26 -17
  136. package/cypress/pages/components/enableOuterBorderComponent.js +5 -5
  137. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +2 -1
  138. package/cypress/pages/components/imageCanvasComponent.js +14 -8
  139. package/cypress/pages/components/layoutSectionComponent.js +1 -1
  140. package/cypress/pages/components/maximumCapacityPerDropzoneComponent.js +1 -1
  141. package/cypress/pages/components/numberLineCommonComponent.js +2 -2
  142. package/cypress/pages/components/questionInputFieldComponent.js +1 -1
  143. package/cypress/pages/components/specifyRowsAndColumnsComponent.js +1 -0
  144. package/cypress/pages/desmosGraphingPage.js +1 -1
  145. package/cypress/pages/desmosToolPage.js +16 -4
  146. package/cypress/pages/drawingResponsePage.js +3 -3
  147. package/cypress/pages/essayResponsePage.js +1 -0
  148. package/cypress/pages/feedbackScalePage.js +13 -3
  149. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +19 -11
  150. package/cypress/pages/geoGebraActivityPage.js +12 -3
  151. package/cypress/pages/geoGebraToolsPage.js +1 -1
  152. package/cypress/pages/graphingPage.js +7 -8
  153. package/cypress/pages/matchingPage.js +8 -12
  154. package/cypress/pages/multipleSelectionPage.js +35 -1
  155. package/cypress/pages/numberLineLabelPage.js +1 -1
  156. package/cypress/pages/numberLinePage.js +36 -8
  157. package/cypress/pages/rulerPage.js +0 -6
  158. package/cypress/pages/selectQuestionResourceToolPage.js +0 -4
  159. package/cypress/pages/singleSelectionPage.js +1 -2
  160. package/cypress/pages/uploadResponsePage.js +2 -2
  161. package/cypress/pages/videoResponsePage.js +11 -11
  162. package/package.json +1 -1
  163. package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +0 -366
  164. package/cypress/e2e/ILC/UploadResponse/uploadResponseAdditionalSettings.js +0 -41
  165. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingForAllViews.smoke.js +0 -0
  166. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingGroupedScoring.js +0 -0
  167. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +0 -0
  168. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +0 -0
  169. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +0 -0
  170. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/manuallyAndNonScored.js +0 -0
  171. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -0
  172. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsBasic.js +0 -0
  173. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +0 -0
  174. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +0 -0
  175. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsBasic.js +0 -0
  176. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +0 -0
  177. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +0 -0
  178. /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +0 -0
  179. /package/cypress/e2e/ILC/UploadResponse/{uploadResponseEditTabBasicSections.js → editTabBasicSection.js} +0 -0
  180. /package/cypress/e2e/ILC/UploadResponse/{uploadResponseHeaderSection.js → headerSection.js} +0 -0
  181. /package/cypress/e2e/ILC/UploadResponse/{uplodResponsePreviewUploadedFileProperties.js → uploadedFileProperties.js} +0 -0
@@ -300,8 +300,8 @@ describe('Create item page - Multiple selection grid: Partial equal weights with
300
300
  multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
301
301
  cy.log('When the user has attempted the question partially with correct options of both correct and alternative accordions (same options set correct in both the accordions) and clicks on \'Check answer\' button, correct icon should be displayed besides the correct answer responses, correct/incorrect answer status message and correct answer section should not be displayed')
302
302
  multipleSelectionGridPage.steps.checkAnswer();
303
- multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
304
- multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
303
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
304
+ multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 2 });
305
305
  multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
306
306
  multipleSelectionGridPage.steps.verifyCorrectAnswerSectionNotExists();
307
307
  });
@@ -29,16 +29,8 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
29
29
  });
30
30
 
31
31
  it(`The ${selectedToolOption} should be in selected state with tick icons and all the options should be in unselected state`, () => {
32
- selectedToolOption.forEach((toolOption, index) => {
33
- utilities.verifyElementVisibilityState(numberLinePage.toolOptions(`${toolOption} selected`), 'visible');
34
- utilities.verifyInnerText(utilities.getNthElement(numberLinePage.toolOptionsLabel(), index), toolOption);
35
- utilities.verifyElementVisibilityState(utilities.getNthElement(numberLinePage.toolOptionsTickIcon(), index), 'visible');
36
- });
37
- unselectedToolOption.forEach((toolOption, index) => {
38
- utilities.verifyElementVisibilityState(numberLinePage.toolOptions(`${toolOption} not-selected`), 'visible');
39
- utilities.verifyInnerText(utilities.getNthElement(numberLinePage.toolOptionsLabel(), index + 5), toolOption);
40
- utilities.verifyElementVisibilityState(utilities.getNthElement(numberLinePage.toolOptionsTickIcon(), index + 5), 'hidden');
41
- });
32
+ numberLinePage.steps.verifySelectedToolOptions(selectedToolOption);
33
+ numberLinePage.steps.verifyUnselectedToolOptions(unselectedToolOption);
42
34
  });
43
35
 
44
36
  it('\'Controls\' label should be displayed with 2 control options', () => {
@@ -48,11 +40,7 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
48
40
 
49
41
  it('All the control options should be displayed in selected state', () => {
50
42
  let controlOptions = ['Undo/Redo', 'Reset'];
51
- controlOptions.forEach((controlOption, index) => {
52
- utilities.verifyElementVisibilityState(numberLinePage.controlOptions(`${controlOption} selected`), 'visible');
53
- utilities.verifyInnerText(utilities.getNthElement(numberLinePage.controlsOptionsLabel(), index), controlOption);
54
- utilities.verifyElementVisibilityState(utilities.getNthElement(numberLinePage.controlsTickIcon(), index), 'visible');
55
- });
43
+ numberLinePage.steps.verifyControlOptions(controlOptions);
56
44
  });
57
45
 
58
46
  numberLinePage.tests.verifyDefaultToolDropdown(toolOptionsArray);
@@ -115,16 +103,16 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
115
103
  });
116
104
 
117
105
  it('CSS of tools and controls', { tags: 'css' }, () => {
118
- utilities.verifyCSS(numberLinePage.toolOptions('Right/up ray').find('svg circle'), {
106
+ utilities.verifyCSS(numberLinePage.toolOptions('right/up ray').find('svg circle'), {
119
107
  'fill': css.color.secondaryBtn
120
108
  });
121
- utilities.verifyCSS(numberLinePage.toolOptions('Right/up ray'), {
109
+ utilities.verifyCSS(numberLinePage.toolOptions('right/up ray'), {
122
110
  'background-color': css.color.secondaryBtnBg
123
111
  });
124
- utilities.verifyCSS(numberLinePage.toolOptions('Segment').find('svg path'), {
112
+ utilities.verifyCSS(numberLinePage.toolOptions('segment').find('svg path'), {
125
113
  'fill': css.color.primaryBtn
126
114
  });
127
- utilities.verifyCSS(numberLinePage.toolOptions('Segment'), {
115
+ utilities.verifyCSS(numberLinePage.toolOptions('segment'), {
128
116
  'background-color': css.color.activeButtons
129
117
  });
130
118
  utilities.verifyCSS(numberLinePage.toolOptionsTickIcon().eq(1).find('[data-name="Icon feather-check"]'), {
@@ -272,7 +260,7 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
272
260
  numberLinePage.steps.selectNumberLineControlOptionSpecifyCorrectAnswerSection('Reset');
273
261
  });
274
262
 
275
- numberLinePage.tests.verifyResetPopupContentWithCSSAndA11y();
263
+ numberLinePage.tests.verifyResetPopupContentWithCSSAndA11y('graph');
276
264
 
277
265
  it('When the user clicks on the \'Cancel\' button then the plotted number line should not be \'Reset\'', () => {
278
266
  numberLinePage.steps.cancelReset();
@@ -350,7 +338,7 @@ describe('Number line: Tools and controls - Edit tab and preview tab tool option
350
338
  numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Reset');
351
339
  });
352
340
 
353
- numberLinePage.tests.verifyResetPopupContentWithCSSAndA11y();
341
+ numberLinePage.tests.verifyResetPopupContentWithCSSAndA11y('graph');
354
342
 
355
343
  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', () => {
356
344
  numberLinePage.steps.cancelReset();
@@ -127,13 +127,14 @@ describe('Create Item page - Number line label : Question instructions and label
127
127
  });
128
128
  });
129
129
 
130
- it('When only two labels are present, the delete buttons should be in disabled state', () => {
130
+ it('When only one label is present, the delete button should be in disabled state', () => {
131
+ numberLineLabelPage.steps.deleteLabel(0);
131
132
  numberLineLabelPage.steps.verifyDeleteLabelButtonDisabledState();
132
133
  });
133
134
 
134
- it('When the user hovers over the disabled delete buttons of the labels then \'Minimum two labels are required\' message should be displayed on a tooltip and the tooltip should disappear if focus is removed from the delete button', () => {
135
+ it('When the user hovers over the disabled delete buttons of the labels then \'Minimum one labels is required\' message should be displayed on a tooltip and the tooltip should disappear if focus is removed from the delete button', () => {
135
136
  numberLineLabelPage.steps.mouseoverDisabledDeleteButton(0);
136
- utilities.verifyInnerText(numberLineLabelPage.tooltipText(), 'Minimum two labels are required');
137
+ utilities.verifyInnerText(numberLineLabelPage.tooltipText(), 'Minimum one label is required');
137
138
  numberLineLabelPage.steps.mouseoutDisabledDeleteButton(0);
138
139
  utilities.verifyElementVisibilityState(numberLineLabelPage.tooltipText(), 'notExist');
139
140
  });
@@ -169,12 +170,12 @@ describe('Create Item page - Number line label : Question instructions and label
169
170
  });
170
171
 
171
172
  it('When user focus in and out of any of the \'Labels\' input field without typing anything, an error message should be thrown', () => {
172
- numberLineLabelPage.steps.focusInAndOutOfLabelsInputField(2)
173
+ numberLineLabelPage.steps.focusInAndOutOfLabelsInputField(1)
173
174
  utilities.verifyInnerText(numberLineLabelPage.errorMessage(), 'Error: Label is required.');
174
175
  });
175
176
 
176
177
  it('User should be able to enter text in labels input field and \'Error: Option is required.\' error message should disappear', () => {
177
- numberLineLabelPage.steps.enterTextInLabelInputField(2, 'Label 4')
178
+ numberLineLabelPage.steps.enterTextInLabelInputField(1, 'Label 4')
178
179
  utilities.verifyElementVisibilityState(numberLineLabelPage.errorMessage(), 'notExist');
179
180
  });
180
181
 
@@ -58,7 +58,7 @@ describe('Number line: Number line section', () => {
58
58
  numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
59
59
  cy.barsPreLoaderWait();
60
60
  numberLineLabelPage.steps.navigateToLabelNumberLineTab();
61
- numberLineLabelPage.steps.enterTextInIntervalInputField(2);
61
+ numberLineLabelPage.steps.enterTextInIntervalInputField(0.5);
62
62
  numberLineLabelPage.steps.selectOrientationToggleButton("Vertical");
63
63
  });
64
64
 
@@ -71,7 +71,7 @@ describe('Number line: Number line section', () => {
71
71
  numberLineLabelPage.steps.navigateToCreateQuestion('Number line');
72
72
  cy.barsPreLoaderWait();
73
73
  numberLineLabelPage.steps.navigateToLabelNumberLineTab();
74
- numberLineLabelPage.steps.enterTextInIntervalInputField(2);
74
+ numberLineLabelPage.steps.enterTextInIntervalInputField(0.5);
75
75
  numberLineLabelPage.steps.selectOrientationToggleButton("Vertical");
76
76
  });
77
77
 
@@ -461,17 +461,17 @@ describe('Create Item page - Ruler: Edit Tab', () => {
461
461
  rulerPage.steps.verifyOpacityInputFieldValue(50);
462
462
  });
463
463
 
464
- it('\'Ruler Color\' label and 6 solid color should be displayed and by default \'White\' color radio button should be selected', () => {
464
+ it('\'Ruler Color\' label and 6 solid color should be displayed and by default \'Purple\' color radio button should be selected', () => {
465
465
  utilities.verifyInnerText(rulerPage.toolColorLabel(), 'Ruler Color');
466
466
  utilities.verifyElementVisibilityState(rulerPage.toolColorLabel(), 'visible');
467
467
  rulerPage.steps.verifyToolColorBlocksVisibility();
468
- rulerPage.steps.verifyToolColorSelectedState(0);
468
+ rulerPage.steps.verifyToolColorSelectedState(1);
469
469
  });
470
470
 
471
471
  it('When the user selects a color block from the \'Color\' section then the selected color should change and the selected icon should be displayed on the newly selected color', () => {
472
- rulerPage.steps.selectColorBlock(1);
473
- rulerPage.steps.verifyToolColorSelectedState(1);
474
- rulerPage.steps.verifyToolColorUnselectedState(0);
472
+ rulerPage.steps.selectColorBlock(2);
473
+ rulerPage.steps.verifyToolColorSelectedState(2);
474
+ rulerPage.steps.verifyToolColorUnselectedState(1);
475
475
  });
476
476
 
477
477
  it('CSS of \'Color\' Section in Edit tab', { tags: 'css' }, () => {
@@ -225,8 +225,8 @@ describe('Ruler: Edit tab functionality', () => {
225
225
  });
226
226
 
227
227
  //Failed due to https://redmine.zeuslearning.com/issues/556472
228
- it('When white color block is selected in the color section, then the color of the ruler should be set to white in the preview tab', () => {
229
- rulerPage.steps.verifyColorOfRulerInPreview(0);
228
+ it('When purple color block is selected in the color section, then the color of the ruler should be set to purple in the preview tab', () => {
229
+ rulerPage.steps.verifyColorOfRulerInPreview(1);
230
230
  rulerPage.steps.verifyRulerVisible();
231
231
  });
232
232
 
@@ -1,4 +1,4 @@
1
- import { rulerPage } from "../../../pages";
1
+ import { dialogBoxBase, rulerPage } from "../../../pages";
2
2
  import abortEarlySetup from "../../../support/helpers/abortEarly";
3
3
  import utilities from "../../../support/helpers/utilities";
4
4
 
@@ -10,7 +10,6 @@ describe('Create question page - Ruler: Header section and saving resource tool'
10
10
  describe('Header section contents', () => {
11
11
  abortEarlySetup();
12
12
  before(() => {
13
- cy.log('Navigating to Ruler resource tool');
14
13
  rulerPage.steps.navigateToCreateResource('ruler');
15
14
  });
16
15
 
@@ -20,7 +19,6 @@ describe('Create question page - Ruler: Header section and saving resource tool'
20
19
  describe('Tabs section', () => {
21
20
  abortEarlySetup();
22
21
  before(() => {
23
- cy.log('Navigating to Ruler resource tool');
24
22
  rulerPage.steps.navigateToCreateResource('ruler');
25
23
  });
26
24
 
@@ -30,40 +28,34 @@ describe('Create question page - Ruler: Header section and saving resource tool'
30
28
  describe('Cancel button', () => {
31
29
  abortEarlySetup();
32
30
  before(() => {
33
- cy.log('Navigating to Ruler resource tool');
34
31
  rulerPage.steps.navigateToCreateResource('ruler');
35
32
  });
36
33
 
37
34
  it('When user has made no edits and clicks on Cancel button, the user should be directed back to the \'Select a Question\' page', () => {
38
- rulerPage.cancelButton()
39
- .click();
35
+ rulerPage.steps.clickOnCancelButton();
40
36
  utilities.verifyElementVisibilityState(rulerPage.selectAQuestionHeaderText(), 'visible');
41
37
  utilities.verifyElementVisibilityState(rulerPage.questionTypeOptionTitle(), 'visible');
42
38
  });
43
39
 
44
40
  it('When user has made some edits/changes and clicks on Cancel button, a popup should be displayed', () => {
45
41
  rulerPage.steps.selectResourceType('ruler');
46
- rulerPage.steps.enterInputToOpacityInputField(30);
47
- rulerPage.cancelButton()
48
- .click();
49
- utilities.verifyElementVisibilityState(rulerPage.dialogBox(), 'visible');
42
+ rulerPage.steps.expandUnitOfMeasurementDropdown();
43
+ rulerPage.steps.selectOptionFromUnitOfMeasurementDropdown('Inch');
44
+ rulerPage.steps.clickOnCancelButton();
45
+ utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
50
46
  });
51
47
 
52
- rulerPage.tests.verifyContentsOfLeavePagePopupWithCSSAnda11y();
48
+ dialogBoxBase.tests.verifyContentsOfLeavePagePopupWithCSSAnda11y();
53
49
 
54
50
  it(`Clicking on \'No, I'd like to go back\' button should close the popup and user should remain on the edit interface of the question`, () => {
55
- rulerPage.buttonReject()
56
- .click();
57
- rulerPage.editTab()
58
- .should('have.attr', 'aria-selected', 'true');
59
- rulerPage.steps.verifyOpacityInputFieldValue(30);
51
+ dialogBoxBase.steps.clickOnRejectButtonInDialogBox();
52
+ rulerPage.steps.verifyEditTabSelectedState();
53
+ utilities.verifyInnerText(rulerPage.unitOfMeasurementDropdown(), 'Inch');
60
54
  });
61
55
 
62
56
  it(`Clicking on \'Yes, I want to leave this page\' button should discard all changes and direct the user to the \'Select a question\' page.`, () => {
63
- rulerPage.cancelButton()
64
- .click();
65
- rulerPage.buttonAccept()
66
- .click();
57
+ rulerPage.steps.clickOnCancelButton();
58
+ dialogBoxBase.steps.clickOnAcceptButtonInDialogBox();
67
59
  utilities.verifyElementVisibilityState(rulerPage.selectAQuestionHeaderText(), 'visible');
68
60
  utilities.verifyElementVisibilityState(rulerPage.questionTypeOptionTitle(), 'visible');
69
61
  });
@@ -72,7 +64,6 @@ describe('Create question page - Ruler: Header section and saving resource tool'
72
64
  describe('Save button', () => {
73
65
  abortEarlySetup();
74
66
  before(() => {
75
- cy.log('Navigating to Ruler resource tool');
76
67
  rulerPage.steps.navigateToCreateResource('ruler');
77
68
  });
78
69
 
@@ -126,10 +126,18 @@ describe('Create Item page - Short text response ', () => {
126
126
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('Flower23^^');
127
127
  });
128
128
 
129
- it('When user enters numerical values in the response input field, then warning message \'Only text can be typed.\' should appear', () => {
130
- shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('23');
129
+ it('When user selects \'Number\' in accepted student input in edit tab, then user should be able to enter numbers inside response input field in preview tab', () => {
130
+ shortTextResponsePage.steps.switchToEditTab();
131
+ shortTextResponsePage.steps.selectAcceptedStudentInputType(0, 'Number');
132
+ shortTextResponsePage.steps.switchToPreviewTab();
133
+ shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('232&');
134
+ shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('232');
135
+ });
136
+
137
+ it('When user enters numerical values in the response input field, then warning message \'Only number can be typed.\' should appear', () => {
138
+ shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Number');
131
139
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('');
132
- shortTextResponsePage.steps.verifyWarningMessagePreviewTab('Only text can be typed.');
140
+ shortTextResponsePage.steps.verifyWarningMessagePreviewTab('Only number can be typed.');
133
141
  });
134
142
 
135
143
  it('CSS of warning message', { tags: 'css' }, () => {
@@ -153,20 +161,12 @@ describe('Create Item page - Short text response ', () => {
153
161
  cy.checkAccessibility(shortTextResponsePage.warningMessage());
154
162
  });
155
163
 
156
- it('When user enters alphanumeric text in response field then warning message should disappear', () => {
157
- shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Alphanumeric text');
164
+ it('When user enters numerical value in response field then warning message should disappear', () => {
165
+ shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('23');
158
166
  shortTextResponsePage.steps.focusOutOfResponseInputFieldPreviewTab();
159
167
  shortTextResponsePage.steps.verifyWarningMessageNotExist();
160
168
  });
161
169
 
162
- it('When user selects \'Number\' in accepted student input in edit tab, then user should be able to enter numbers inside response input field in preview tab', () => {
163
- shortTextResponsePage.steps.switchToEditTab();
164
- shortTextResponsePage.steps.selectAcceptedStudentInputType(0, 'Number');
165
- shortTextResponsePage.steps.switchToPreviewTab();
166
- shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('232&');
167
- shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('232');
168
- });
169
-
170
170
  it('User should be able to enter decimal numbers inside response input field in preview tab', () => {
171
171
  shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('23.2');
172
172
  shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('23.2');
@@ -81,13 +81,13 @@ describe('Create Item page - Short text response : Student view settings', () =>
81
81
  shortTextResponsePage.steps.checkAutoScaleTheResponseFieldHeightCheckbox();
82
82
  });
83
83
 
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');
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');
86
86
  shortTextResponsePage.steps.verifyAllowStudentsToCheckAnswerCheckboxUnchecked();
87
87
  });
88
88
 
89
89
  it('When the user checks the \'Allow student to check answer\' checkbox, then \'Maximum check answer attempts\' dropdown should be displayed', () => {
90
- shortTextResponsePage.steps.checkAllowStudentsToCheckAnswerCheckbox();
90
+ shortTextResponsePage.steps.checkAllowStudentToCheckAnswerCheckbox();
91
91
  utilities.verifyElementVisibilityState(shortTextResponsePage.maximumCheckAnswerAttemptsDropdown(), 'visible');
92
92
  });
93
93
 
@@ -254,7 +254,7 @@ describe('Create Item page - Short text response : Student view settings', () =>
254
254
  });
255
255
  });
256
256
 
257
- describe('Allow students to check answer: Preview tab', () => {
257
+ describe('Allow student to check answer: Preview tab', () => {
258
258
  abortEarlySetup();
259
259
  before(() => {
260
260
  shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
@@ -263,7 +263,7 @@ describe('Create Item page - Short text response : Student view settings', () =>
263
263
  shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Correct');
264
264
  });
265
265
 
266
- it('When the user has specified correct answer and points then on checking the \'Allow students to check answer\' checkbox the Check answer button should be displayed in the preview tab', () => {
266
+ it('When the user has specified correct answer and points then on checking the \'Allow student to check answer\' checkbox the Check answer button should be displayed in the preview tab', () => {
267
267
  shortTextResponsePage.steps.checkAllowStudentToCheckAnswerCheckbox();
268
268
  shortTextResponsePage.steps.switchToPreviewTab();
269
269
  utilities.verifyInnerText(shortTextResponsePage.checkAnswerButton(), 'Check answer');
@@ -82,7 +82,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
82
82
  it('When user has selected \'Number\' from the syntax dropdown and user enters input using epsilon and parenthesis in preview tab response fields they should be treated as incorrect', () => {
83
83
  textEntryMathPage.steps.resetQuestionPreview();
84
84
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
85
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
85
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
86
86
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
87
87
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
88
88
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -416,14 +416,14 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
416
416
  equationEditorFlyout.steps.enterTextInPreviewInputField('9000%');
417
417
  equationEditorFlyout.steps.clickOnOkButton();
418
418
  textEntryMathPage.steps.switchToGradingView();
419
- textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
420
- textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
419
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
420
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
421
421
  });
422
422
 
423
423
  it('When user has selected \'Fraction\' from the syntax dropdown and user enters input using epsilon and parenthesis in preview tab response fields they should be treated as incorrect', () => {
424
424
  textEntryMathPage.steps.resetQuestionPreview();
425
425
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
426
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000');
426
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000');
427
427
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
428
428
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
429
429
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -995,7 +995,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
995
995
  textEntryMathPage.steps.resetQuestionPreview();
996
996
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
997
997
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['sqrt'] }]);
998
- equationEditorFlyout.steps.enterTextInFirstEmptyBox(['4x']);
998
+ equationEditorFlyout.steps.enterTextAtInputFieldCursor('4x');
999
999
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'intermediate', symbolName: ['square'] }]);
1000
1000
  equationEditorFlyout.steps.clickOnOkButton();
1001
1001
  textEntryMathPage.steps.switchToGradingView();
@@ -1056,7 +1056,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
1056
1056
  it('When user has selected \'Expression\' from the syntax dropdown and user enters input using epsilon and parenthesis in preview tab response fields they should be treated as incorrect', () => {
1057
1057
  textEntryMathPage.steps.resetQuestionPreview();
1058
1058
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
1059
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
1059
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
1060
1060
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
1061
1061
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
1062
1062
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -1231,7 +1231,7 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
1231
1231
  it('When user has selected \'Scientific\' from the syntax dropdown and user enters input using epsilon and parenthesis in preview tab response fields they should be treated as incorrect', () => {
1232
1232
  textEntryMathPage.steps.resetQuestionPreview();
1233
1233
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
1234
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000');
1234
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000');
1235
1235
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
1236
1236
  equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^');
1237
1237
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -187,14 +187,14 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
187
187
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
188
188
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
189
189
  equationEditorFlyout.steps.clearAll();
190
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
190
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
191
191
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', 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
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
197
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
198
198
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
199
199
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
200
200
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -207,7 +207,7 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
207
207
  it('When the user enters a equation using epsilon in \'Specify correct answer\' response field and then the user enters the same value but different parenthesis then it should be treated as incorrect', () => {
208
208
  textEntryMathPage.steps.resetQuestionPreview();
209
209
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
210
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
210
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
211
211
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
212
212
  equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^10')
213
213
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -190,19 +190,20 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
190
190
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
191
191
  });
192
192
 
193
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-3006
193
194
  it('When the user enters a equation with parenthesis equation with epsilon in \'Specify correct answer\' response field and then the user enters the exact same equation then it should be treated as correct', () => {
194
195
  textEntryMathPage.steps.switchToEditTab();
195
196
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
196
197
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
197
198
  equationEditorFlyout.steps.clearAll();
198
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
199
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
199
200
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
200
201
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
201
202
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
202
203
  equationEditorFlyout.steps.clickOnOkButton();
203
204
  textEntryMathPage.steps.switchToPreviewTab();
204
205
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
205
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
206
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
206
207
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
207
208
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
208
209
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -215,7 +216,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
215
216
  it('When the user enters a equation using epsilon in \'Specify correct answer\' response field and then the user enters the same value but different form then it should be treated as correct', () => {
216
217
  textEntryMathPage.steps.resetQuestionPreview();
217
218
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
218
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
219
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
219
220
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
220
221
  equationEditorFlyout.steps.enterTextInPreviewInputField('([1.3]^10)^')
221
222
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -228,7 +229,7 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
228
229
  it('When the user enters a equation using epsilon in \'Specify correct answer\' response field and then the user enters the same value but different form then it should be treated as correct', () => {
229
230
  textEntryMathPage.steps.resetQuestionPreview();
230
231
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
231
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
232
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
232
233
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
233
234
  equationEditorFlyout.steps.enterTextInPreviewInputField('(1.3)^10')
234
235
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -168,8 +168,8 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
168
168
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
169
169
  equationEditorFlyout.steps.clickOnOkButton();
170
170
  textEntryMathPage.steps.switchToGradingView();
171
- textEntryMathPage.steps.verifyCorrectResponseIcon(0);
172
- textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
171
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
172
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
173
173
  });
174
174
 
175
175
  it('When the user enters a equation using polynomial quadratic equations in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
@@ -239,14 +239,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
239
239
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
240
240
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
241
241
  equationEditorFlyout.steps.clearAll();
242
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
242
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
243
243
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', 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
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
249
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
250
250
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
251
251
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
252
252
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -259,7 +259,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
259
259
  it('When the user enters a factored equation in \'Specify correct answer\' response field and then the user enters the same value but different form then it should be treated as correct', () => {
260
260
  textEntryMathPage.steps.resetQuestionPreview();
261
261
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
262
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
262
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
263
263
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
264
264
  equationEditorFlyout.steps.enterTextInPreviewInputField('([1.3]^10)^')
265
265
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -171,8 +171,8 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
171
171
  equationEditorFlyout.steps.enterTextInFirstEmptyBox(['1', '3']);
172
172
  equationEditorFlyout.steps.clickOnOkButton();
173
173
  textEntryMathPage.steps.switchToGradingView();
174
- textEntryMathPage.steps.verifyCorrectResponseIcon(0);
175
- textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
174
+ textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
175
+ textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
176
176
  });
177
177
 
178
178
  it('When the user enters a equation using polynomial quadratic equations in \'Specify correct answer\' and the user enters the exact same equation then it should be treated as correct', () => {
@@ -242,14 +242,14 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
242
242
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
243
243
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
244
244
  equationEditorFlyout.steps.clearAll();
245
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
245
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
246
246
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', 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
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
252
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
253
253
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
254
254
  equationEditorFlyout.steps.enterTextInPreviewInputField('((1.3)^10)^')
255
255
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -262,7 +262,7 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
262
262
  it('When the user enters a factored equation in \'Specify correct answer\' response field and then the user enters the same value but different form then it should be treated as correct', () => {
263
263
  textEntryMathPage.steps.resetQuestionPreview();
264
264
  textEntryMathPage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
265
- equationEditorFlyout.steps.enterTextInPreviewInputField('100,000')
265
+ equationEditorFlyout.steps.enterTextInPreviewInputField('100000')
266
266
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['dotMultiplier'] }]);
267
267
  equationEditorFlyout.steps.enterTextInPreviewInputField('([1.3]^10)^')
268
268
  equationEditorFlyout.steps.enterEquation([{ categoryName: 'greek', symbolName: ['varEpsilon'] }]);
@@ -56,7 +56,7 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
56
56
  equationEditorFlyout.steps.enterTextInPreviewInputField('4+1>4<6');
57
57
  equationEditorFlyout.steps.clickOnOkButton();
58
58
  textEntryMathPage.steps.switchToGradingView();
59
- textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
59
+ textEntryMathPage.steps.verifyCorrectResponseIcon(0);
60
60
  textEntryMathPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
61
61
  });
62
62