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
@@ -31,7 +31,7 @@ describe('Create Item page - Video response: Customize playback controls', () =>
31
31
  utilities.verifyInnerText(videoResponsePage.controlsForPlaybackLabel(), 'Controls for playback');
32
32
  });
33
33
 
34
- it('\'Controls for playback\' options - "Play", "Pause", "Seek", "Record again", "Volume", "Playback speed", "Fullscreen" and "Forward/Backward" should be displayed. By default, all options except for "Forward/Backward" should be in selected state', () => {
34
+ it('\'Controls for playback\' options - "Play", "Pause", "Seek", "Record again", "Volume", "Playback speed", "Fullscreen" and "Forward/backward" should be displayed. By default, all options except for "Forward/backward" should be in selected state', () => {
35
35
  utilities.verifyElementVisibilityState(videoResponsePage.playButtonControlsForPlayback(), 'visible');
36
36
  utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 0), 'Play');
37
37
  utilities.verifyElementVisibilityState(videoResponsePage.pauseButtonControlsForPlayback(), 'visible');
@@ -47,7 +47,7 @@ describe('Create Item page - Video response: Customize playback controls', () =>
47
47
  utilities.verifyElementVisibilityState(videoResponsePage.fullScreenButtonControlsForPlayback(), 'visible');
48
48
  utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 6), 'Fullscreen');
49
49
  utilities.verifyElementVisibilityState(videoResponsePage.forwardBackwardButtonControlsForPlayback(), 'visible');
50
- utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 7), 'Forward/Backward');
50
+ utilities.verifyInnerText(utilities.getNthElement(videoResponsePage.controlsForPlaybackButtonLabel(), 7), 'Forward/backward');
51
51
  videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Play');
52
52
  videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Pause');
53
53
  videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Seek');
@@ -55,7 +55,7 @@ describe('Create Item page - Video response: Customize playback controls', () =>
55
55
  videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Volume');
56
56
  videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Playback speed');
57
57
  videoResponsePage.steps.verifyControlsForPlaybackToggleButtonSelectedState('Full screen');
58
- videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Forward/Backward');
58
+ videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Forward/backward');
59
59
  });
60
60
 
61
61
  it('CSS of \'Customize playback controls (for student player)\' section', { tags: 'css' }, () => {
@@ -107,7 +107,7 @@ describe('Create Item page - Video response: Customize playback controls', () =>
107
107
  utilities.verifyElementDisabled(videoResponsePage.playbackSpeedButtonControlsForPlayback());
108
108
  videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Full screen');
109
109
  utilities.verifyElementDisabled(videoResponsePage.fullScreenButtonControlsForPlayback());
110
- videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Forward/Backward');
110
+ videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Forward/backward');
111
111
  utilities.verifyElementDisabled(videoResponsePage.forwardBackwardButtonControlsForPlayback());
112
112
  videoResponsePage.steps.verifyVideoSettingsToggleButtonSelectedState('Timer');
113
113
  utilities.verifyElementNotDisabled(videoResponsePage.timerButtonVideoSettings());
@@ -115,7 +115,7 @@ describe('Create Item page - Video response: Customize playback controls', () =>
115
115
  utilities.verifyElementDisabled(videoResponsePage.progressIndicatorButtonVideoSettings());
116
116
  });
117
117
 
118
- it('When the user selects the \'Play\' button, "Pause", "Volume", "Playback speed", "Full screen", "Forward/Backward" should get enabled but continue to stay in deselected state. "Progress indicator" should also get enabled from the \'Video settings\' section. "Seek" button should continue to stay in disabled state while "Progress indicator" is in deselected state.', () => {
118
+ it('When the user selects the \'Play\' button, "Pause", "Volume", "Playback speed", "Full screen", "Forward/backward" should get enabled but continue to stay in deselected state. "Progress indicator" should also get enabled from the \'Video settings\' section. "Seek" button should continue to stay in disabled state while "Progress indicator" is in deselected state.', () => {
119
119
  videoResponsePage.steps.selectControlsForPlaybackToggleButton('Play');
120
120
  utilities.verifyElementNotDisabled(videoResponsePage.pauseButtonControlsForPlayback());
121
121
  videoResponsePage.steps.verifyControlsForPlaybackToggleButtonDeselectedState('Pause');
@@ -301,16 +301,16 @@ describe('Create Item page - Video response: Customize playback controls', () =>
301
301
  });
302
302
 
303
303
  //Note: Complete cases when feature is made available
304
- describe.skip('Controls for playback - Forward/Backward', () => {
304
+ describe.skip('Controls for playback - Forward/backward', () => {
305
305
  abortEarlySetup();
306
306
  before(() => {
307
307
  });
308
308
 
309
- it('In standard mode, when the \'Forward/Backward\' option is selected the \'Forward/Backward\' button should be enabled in the preview tab', () => {
309
+ it('In standard mode, when the \'Forward/backward\' option is selected the \'Forward/backward\' button should be enabled in the preview tab', () => {
310
310
 
311
311
  });
312
312
 
313
- it('In standard mode, when the \'Forward/Backward\' option is deselected \'Forward/Backward\' button should not be displayed on the playback player', () => {
313
+ it('In standard mode, when the \'Forward/backward\' option is deselected \'Forward/backward\' button should not be displayed on the playback player', () => {
314
314
  });
315
315
  });
316
316
  });
@@ -86,9 +86,9 @@ describe('Create item page - Video response: Question instructions, Maximum reco
86
86
  videoResponsePage.steps.verifyVideoRecorderDefaultWidthInputFieldValue(600);
87
87
  });
88
88
 
89
- it('When user tries to add a value less than 324 it should be automatically set back to 324 and should not allow to add lower than set value', () => {
89
+ it('When user tries to add a value less than 320 it should be automatically set back to 320 and should not allow to add lower than set value', () => {
90
90
  videoResponsePage.steps.setVideoRecorderDefaultWidth(300);
91
- videoResponsePage.steps.verifyVideoRecorderDefaultWidthInputFieldValue(324);
91
+ videoResponsePage.steps.verifyVideoRecorderDefaultWidthInputFieldValue(320);
92
92
  });
93
93
  });
94
94
 
@@ -189,7 +189,7 @@ describe('Create item page - Video response: Question instructions, Maximum reco
189
189
 
190
190
  it('When user adds decimal values or alphanumeric values then only numeric values should be displayed in the maximum recording length input field', () => {
191
191
  videoResponsePage.steps.setMaximumRecordingDuration('.100.0');
192
- videoResponsePage.steps.verifyMaximumRecordingDuration(1000);
192
+ videoResponsePage.steps.verifyMaximumRecordingDuration(100);
193
193
  videoResponsePage.steps.setMaximumRecordingDuration('!@#abcde584');
194
194
  videoResponsePage.steps.verifyMaximumRecordingDuration(584);
195
195
  });
@@ -59,8 +59,8 @@ describe('Create item page - Video response: Preview contents', () => {
59
59
  utilities.verifyElementVisibilityState(videoResponsePage.startRecordingText(), 'visible');
60
60
  });
61
61
 
62
- it('When the user has not started recording, a status message: \'Allow access to your camera and microphone.\' along with a microphone icon should be displayed on the recording interface', () => {
63
- videoResponsePage.steps.verifyRecordingStatus('Allow access to your camera and microphone.');
62
+ it('When the user has not started recording, a status message: \'Allow camera and microphone access.\' along with a microphone icon should be displayed on the recording interface', () => {
63
+ videoResponsePage.steps.verifyRecordingStatus('Allow camera and microphone access.');
64
64
  });
65
65
 
66
66
  //Note: Add "Blur background" and "Mirror video" assertions when made available
@@ -157,7 +157,7 @@ describe('Create item page - Video response: Preview contents', () => {
157
157
  } else {
158
158
  it('When a recording is in progress and the user clicks on the \'Pause recording\' button, recording should pause and the status message should update to \'Recording paused\'. User should be able to view the duration of their recorded video in minutes, displayed as \'(min:secs/min:sec)\'. \'Pause recording\' button should get replaced with \'Resume recording\' button. \'Stop recording\' button should be displayed beside resume recording button', () => {
159
159
  videoResponsePage.steps.pauseRecording();
160
- videoResponsePage.steps.verifyRecordingTime('0:06', '5:00');
160
+ videoResponsePage.steps.verifyRecordingTime('0:04', '5:00');
161
161
  videoResponsePage.steps.verifyRecordingStatus('Recording paused');
162
162
  utilities.verifyElementVisibilityState(videoResponsePage.pauseButton(), 'notExist');
163
163
  utilities.verifyElementVisibilityState(videoResponsePage.resumeButton(), 'visible');
@@ -181,13 +181,13 @@ describe('Create item page - Video response: Preview tab - Standard recorder sty
181
181
 
182
182
  it('When a recording is in progress and user has reached maximum recording duration, the recorded video response should be saved and \'Your response has been recorded.\' status message should be displayed. User should be able to view the duration of their recorded video in minutes, displayed as \'(min:secs)\'.', () => {
183
183
  videoResponsePage.steps.switchToEditTab();
184
- videoResponsePage.steps.setMaximumRecordingDuration(5);
184
+ videoResponsePage.steps.setMaximumRecordingDuration(30);
185
185
  videoResponsePage.steps.switchToPreviewTab();
186
186
  videoResponsePage.steps.startRecording();
187
187
  videoResponsePage.steps.waitForRecordingToStart();
188
188
  videoResponsePage.steps.addWaitToRecord(5000);
189
189
  utilities.verifyInnerText(videoResponsePage.savedResponseText(), 'Your response has been recorded.');
190
- videoResponsePage.steps.verifyVideoPlaybackTimer('0:00', '0:05');
190
+ videoResponsePage.steps.verifyVideoPlaybackTimer('0:00', '0:30');
191
191
  });
192
192
 
193
193
  it('When a recording is saved, A video player with \'Retake recording\' button, \'Play\' button and progress bar should be displayed. User should be able to view the duration of their recorded video in minutes, displayed as \'(min:secs)\'. Volume control, Playback speed and full screen buttons should be displayed', () => {
@@ -49,7 +49,7 @@ describe('Preview tab contents for all views', () => {
49
49
  }
50
50
  if (view === 'Student view') {
51
51
  studentViewPage.steps.submitResponse();
52
- utilities.verifyElementVisibilityState(studentViewPage.buttonGoToGradingView(), 'visible');
52
+ utilities.verifyElementVisibilityState(studentViewPage.buttonGoToGradingView(), 'exist');
53
53
  }
54
54
  });
55
55
 
@@ -49,7 +49,7 @@ describe('Preview tab contents for all views', () => {
49
49
  }
50
50
  if (view === 'Student view') {
51
51
  studentViewPage.steps.submitResponse();
52
- utilities.verifyElementVisibilityState(studentViewPage.buttonGoToGradingView(), 'visible');
52
+ utilities.verifyElementVisibilityState(studentViewPage.buttonGoToGradingView(), 'exist');
53
53
  }
54
54
  });
55
55
 
@@ -49,7 +49,7 @@ describe('Preview tab contents for all views', () => {
49
49
  }
50
50
  if (view === 'Student view') {
51
51
  studentViewPage.steps.submitResponse();
52
- utilities.verifyElementVisibilityState(studentViewPage.buttonGoToGradingView(), 'visible');
52
+ utilities.verifyElementVisibilityState(studentViewPage.buttonGoToGradingView(), 'exist');
53
53
  }
54
54
  });
55
55
 
@@ -24,7 +24,7 @@ describe('Create Item page - Desmos: Scientific calculator', () => {
24
24
  desmosToolPage.steps.navigateToCreateResource('desmos scientific calculator');
25
25
  });
26
26
 
27
- desmosToolPage.tests.verifyEditTabContents('scientific calculator');
27
+ desmosToolPage.tests.verifyEditTabContents('Scientific calculator');
28
28
  });
29
29
 
30
30
  describe('Scientific calculator: edit tab functionality', () => {
@@ -57,13 +57,13 @@ describe('Create Item page - Desmos: Scientific calculator', () => {
57
57
  desmosToolPage.steps.switchToEditTab();
58
58
  desmosToolPage.steps.checkAddShowHideButtonCheckbox();
59
59
  desmosToolPage.steps.switchToPreviewTab();
60
- desmosToolPage.steps.verifyPreviewTabDesmosToolVisibilityButtonLabel('Show', 'scientific calculator');
60
+ desmosToolPage.steps.verifyPreviewTabDesmosToolVisibilityButtonLabel('Show', 'Scientific calculator');
61
61
  desmosToolPage.steps.verifyDesmosToolDoesNotVisible();
62
62
  });
63
63
 
64
64
  it('When the user selects \'Show Desmos - scientific calculator\' button then the scientific calculator should be displayed and the button should change to \'Hide Desmos - scientific calculator\'', () => {
65
65
  desmosToolPage.steps.clickOnDesmosToolVisibilityButton();
66
- desmosToolPage.steps.verifyPreviewTabDesmosToolVisibilityButtonLabel('Hide', 'scientific calculator');
66
+ desmosToolPage.steps.verifyPreviewTabDesmosToolVisibilityButtonLabel('Hide', 'Scientific calculator');
67
67
  desmosToolPage.steps.verifyDesmosToolIsVisible();
68
68
  desmosToolPage.steps.verifyPreviewTabDesmosToolKeypadIsVisible();
69
69
  desmosToolPage.steps.verifyPreviewTabDesmosToolCloseButtonIsVisible();
@@ -72,7 +72,7 @@ describe('Create Item page - Desmos: Scientific calculator', () => {
72
72
 
73
73
  it('When the user closes the scientific calculator using the \'Close\' button the scientific calculator should close and the \'Show Desmos - scientific calculator\' button should be displayed', () => {
74
74
  desmosToolPage.steps.closeDesmosTool();
75
- desmosToolPage.steps.verifyPreviewTabDesmosToolVisibilityButtonLabel('Show', 'scientific calculator');
75
+ desmosToolPage.steps.verifyPreviewTabDesmosToolVisibilityButtonLabel('Show', 'Scientific calculator');
76
76
  desmosToolPage.steps.verifyDesmosToolDoesNotVisible();
77
77
  });
78
78
 
@@ -80,7 +80,7 @@ describe('Create Item page - Desmos: Scientific calculator', () => {
80
80
  desmosToolPage.steps.switchToEditTab();
81
81
  desmosToolPage.steps.checkLaunchToolByDefaultCheckbox();
82
82
  desmosToolPage.steps.switchToPreviewTab();
83
- desmosToolPage.steps.verifyPreviewTabDesmosToolVisibilityButtonLabel('Hide', 'scientific calculator');
83
+ desmosToolPage.steps.verifyPreviewTabDesmosToolVisibilityButtonLabel('Hide', 'Scientific calculator');
84
84
  desmosToolPage.steps.verifyDesmosToolIsVisible();
85
85
  desmosToolPage.steps.verifyPreviewTabDesmosToolKeypadIsVisible();
86
86
  desmosToolPage.steps.verifyPreviewTabDesmosToolCloseButtonIsVisible();
@@ -91,7 +91,7 @@ describe('Create Item page - Desmos: Scientific calculator', () => {
91
91
 
92
92
  it('When the user selects \'Hide Desmos - scientific calculator\' button then the scientific calculator should not be displayed and the button should change to \'Show Desmos - scientific calculator\'', () => {
93
93
  desmosToolPage.steps.clickOnDesmosToolVisibilityButton();
94
- desmosToolPage.steps.verifyPreviewTabDesmosToolVisibilityButtonLabel('Show', 'scientific calculator');
94
+ desmosToolPage.steps.verifyPreviewTabDesmosToolVisibilityButtonLabel('Show', 'Scientific calculator');
95
95
  desmosToolPage.steps.verifyDesmosToolDoesNotVisible();
96
96
  });
97
97
  });
@@ -49,7 +49,7 @@ describe('Preview tab contents for all views', () => {
49
49
  }
50
50
  if (view === 'Student view') {
51
51
  studentViewPage.steps.submitResponse();
52
- utilities.verifyElementVisibilityState(studentViewPage.buttonGoToGradingView(), 'visible');
52
+ utilities.verifyElementVisibilityState(studentViewPage.buttonGoToGradingView(), 'exist');
53
53
  }
54
54
  });
55
55
 
@@ -3,8 +3,7 @@ import abortEarlySetup from "../../../support/helpers/abortEarly";
3
3
  import utilities from "../../../support/helpers/utilities";
4
4
  const css = Cypress.env('css');
5
5
 
6
- const fontSizeDropdownOptions = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
7
- const fontSizes = ['12px', '14px', '16px', '18px', '22px', '26px'];
6
+ const fontSizes = { 'Tiny': '12px', 'Small': '14px', 'Default': '16px', 'Normal': '18px', 'Big': '22px', 'Huge': '26px' };
8
7
 
9
8
  describe('Desmos graphing: Additional Settings accordion', () => {
10
9
  before(() => {
@@ -21,7 +20,6 @@ describe('Desmos graphing: Additional Settings accordion', () => {
21
20
  desmosGraphingPage.tests.verifyAdditionalSettingsAccordionProperties();
22
21
  });
23
22
 
24
- //Failing due to https://redmine.zeuslearning.com/issues/554758
25
23
  describe('Additional settings: Font size contents', () => {
26
24
  abortEarlySetup();
27
25
  before(() => {
@@ -38,17 +36,17 @@ describe('Desmos graphing: Additional Settings accordion', () => {
38
36
  before(() => {
39
37
  desmosGraphingPage.steps.navigateToCreateQuestion('Desmos graphing');
40
38
  cy.barsPreLoaderWait();
41
- desmosGraphingPage.steps.addQuestionInstructions();
39
+ desmosGraphingPage.steps.addTextInQuestionInstructionsInputField('Desmos graphing question');
42
40
  desmosGraphingPage.steps.expandAdditionalSettings();
43
41
  });
44
42
 
45
- fontSizeDropdownOptions.forEach((option, fontsIndex) => {
43
+ Object.keys(fontSizes).forEach((option) => {
46
44
  it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview tab should change to ${option} accordingly`, () => {
47
- desmosGraphingPage.steps.selectFontSizeOptionFromFontSizeDropdown(fontsIndex);
45
+ desmosGraphingPage.steps.selectFontSizeOptionFromFontSizeDropdown(option);
48
46
  utilities.verifyInnerText(desmosGraphingPage.fontSizeDropdown(), `${option}`);
49
47
  desmosGraphingPage.steps.switchToPreviewTab();
50
48
  utilities.verifyCSS(desmosGraphingPage.questionInstructionsText(), {
51
- 'font-size': fontSizes[fontsIndex]
49
+ 'font-size': fontSizes[option]
52
50
  });
53
51
  desmosGraphingPage.steps.switchToEditTab();
54
52
  });
@@ -88,7 +88,7 @@ describe('Create Item page - Desmos graphing: Student view settings', () => {
88
88
  desmosGraphingPage.steps.switchToEditTab();
89
89
  desmosGraphingPage.steps.checkHideExpressionListCheckbox();
90
90
  desmosGraphingPage.steps.switchToPreviewTab();
91
- utilities.verifyElementVisibilityState(desmosGraphingPage.previewTabDesmosToolKeypadButton(), 'visible');
91
+ utilities.verifyElementVisibilityState(desmosGraphingPage.previewTabDesmosToolKeypadButton(), 'hidden');
92
92
  desmosGraphingPage.steps.verifyPreviewTabExpressionListPanelHidden();
93
93
  });
94
94
 
@@ -130,43 +130,16 @@ describe('Create Item page - Desmos graphing: Student view settings', () => {
130
130
  desmosGraphingPage.steps.verifyButtonResetDimensionsEnabled();
131
131
  });
132
132
 
133
- it('The width and height of the graphing tool should be 500 by 500 pixels', () => {
134
- desmosGraphingPage.steps.verifyDesmosGraphingDimensions('500', '500');
133
+ it('The width and height of the graphing tool should be not be 500 by 500 pixels', () => {
134
+ desmosGraphingPage.steps.verifyDesmosGraphingDimensions('876', '600');
135
135
  });
136
136
 
137
- it('When aspect ratio is locked and user changes the value in width input field, the height input field should also be updated accordingly and the dimensions should be updated for the graphing tool', () => {
138
- desmosGraphingPage.steps.lockAspectRatio();
137
+ it('When user updates the values in width and height input field it should not change in specify pre-defined expression section', () => {
139
138
  desmosGraphingPage.steps.enterInputInDesmosGraphingWidthInputField(200);
140
- desmosGraphingPage.steps.verifyDesmosGraphingHeightInputField('200');
141
- desmosGraphingPage.steps.verifyDesmosGraphingDimensions('200', '200');
142
- });
143
-
144
- it('When user unlocks the aspect ratio button and changes the value in the width input field, the height input field should not change', () => {
145
- desmosGraphingPage.steps.unlockAspectRatio();
146
- desmosGraphingPage.steps.enterInputInDesmosGraphingWidthInputField(400);
147
- desmosGraphingPage.steps.verifyDesmosGraphingHeightInputField('200');
148
- desmosGraphingPage.steps.verifyDesmosGraphingDimensions('400', '200');
149
- });
150
-
151
- it('When user locks the aspect ratio button and changes the value in the width input field, the height input field should be updated accordingly to maintain the updated aspect ratio', () => {
152
- desmosGraphingPage.steps.lockAspectRatio();
153
- desmosGraphingPage.steps.enterInputInDesmosGraphingWidthInputField(300);
154
- desmosGraphingPage.steps.verifyDesmosGraphingHeightInputField('150');
155
- desmosGraphingPage.steps.verifyDesmosGraphingDimensions('300', '150');
156
- });
157
-
158
- it('When user edits the height or width of the image the \'Reset dimensions\' button should be enabled', () => {
159
- desmosGraphingPage.steps.verifyButtonResetDimensionsEnabled();
139
+ desmosGraphingPage.steps.enterInputInDesmosGraphingHeightInputField(200);
140
+ desmosGraphingPage.steps.verifyDesmosGraphingDimensions('876', '600');
160
141
  });
161
142
 
162
- it('When user selects the \'Reset dimensions\' button the height and width should be reset to the original value and graphing tool should have default dimensions', () => {
163
- desmosGraphingPage.steps.resetDimensions();
164
- desmosGraphingPage.steps.verifyDesmosGraphingWidthInputField('500');
165
- desmosGraphingPage.steps.verifyDesmosGraphingHeightInputField('500');
166
- desmosGraphingPage.steps.verifyDesmosGraphingDimensions('500', '500');
167
- });
168
-
169
-
170
143
  it('CSS of height and width section', { tags: 'css' }, () => {
171
144
  utilities.verifyCSS(desmosGraphingPage.desmosGraphingWidthLabel(), {
172
145
  'color': css.color.labels,
@@ -10,7 +10,7 @@ describe('Create Item page - GeoGebra : 3D graphing calculator', () => {
10
10
  describe('3D graphing calculator: Header section', () => {
11
11
  abortEarlySetup();
12
12
  before(() => {
13
- geoGebraToolsPage.steps.navigateToCreateResource('3D graphing calculator');
13
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra 3D graphing calculator');
14
14
  });
15
15
 
16
16
  geoGebraToolsPage.tests.verifyCreateQuestionPageQuestionTypeHeader('GeoGebra 3D graphing calculator');
@@ -19,7 +19,7 @@ describe('Create Item page - GeoGebra : 3D graphing calculator', () => {
19
19
  describe('3D graphing calculator: Edit tab basic section content', () => {
20
20
  abortEarlySetup();
21
21
  before(() => {
22
- geoGebraToolsPage.steps.navigateToCreateResource('3D graphing calculator');
22
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra 3D graphing calculator');
23
23
  });
24
24
 
25
25
  geoGebraToolsPage.tests.verifyEditTabContents('3D graphing calculator');
@@ -28,7 +28,7 @@ describe('Create Item page - GeoGebra : 3D graphing calculator', () => {
28
28
  describe('3D graphing calculator: Edit tab basic section functionality', () => {
29
29
  abortEarlySetup();
30
30
  before(() => {
31
- geoGebraToolsPage.steps.navigateToCreateResource('3D graphing calculator');
31
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra 3D graphing calculator');
32
32
  geoGebraToolsPage.steps.switchToPreviewTab();
33
33
  });
34
34
 
@@ -18,7 +18,7 @@ describe('Preview tab contents for all views', () => {
18
18
  before(() => {
19
19
  switch (view) {
20
20
  case 'Question preview':
21
- geoGebraToolsPage.steps.navigateToCreateResource('3D graphing calculator');
21
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra 3D graphing calculator');
22
22
  geoGebraToolsPage.steps.switchToPreviewTab();
23
23
  break;
24
24
  case 'Item view':
@@ -67,7 +67,7 @@ describe('Preview tab contents for all views', () => {
67
67
  geoGebraToolsPage.steps.clickOnGeoGebraToolKeypadKeys('5');
68
68
  geoGebraToolsPage.steps.clickOnGeoGebraToolKeypadKeys('−');
69
69
  geoGebraToolsPage.steps.clickOnGeoGebraToolKeypadKeys('6');
70
- geoGebraToolsPage.steps.verifyTextAndResultInTextArea('5-6 = -1');
70
+ geoGebraToolsPage.steps.verifyTextAndResultInTextArea('56 = 1');
71
71
  });
72
72
  }
73
73
  });
@@ -10,7 +10,7 @@ describe('Create Item page - GeoGebra : CAS calculator', () => {
10
10
  describe('CAS calculator: Header section', () => {
11
11
  abortEarlySetup();
12
12
  before(() => {
13
- geoGebraToolsPage.steps.navigateToCreateResource('CAS calculator');
13
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra CAS calculator')
14
14
  });
15
15
 
16
16
  geoGebraToolsPage.tests.verifyCreateQuestionPageQuestionTypeHeader('GeoGebra CAS calculator');
@@ -19,7 +19,7 @@ describe('Create Item page - GeoGebra : CAS calculator', () => {
19
19
  describe('CAS calculator: Edit tab basic section content', () => {
20
20
  abortEarlySetup();
21
21
  before(() => {
22
- geoGebraToolsPage.steps.navigateToCreateResource('CAS calculator');
22
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra CAS calculator')
23
23
  });
24
24
 
25
25
  geoGebraToolsPage.tests.verifyEditTabContents('CAS calculator');
@@ -28,7 +28,7 @@ describe('Create Item page - GeoGebra : CAS calculator', () => {
28
28
  describe('CAS calculator: Edit tab basic section functionality', () => {
29
29
  abortEarlySetup();
30
30
  before(() => {
31
- geoGebraToolsPage.steps.navigateToCreateResource('CAS calculator');
31
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra CAS calculator')
32
32
  geoGebraToolsPage.steps.switchToPreviewTab();
33
33
  });
34
34
 
@@ -18,7 +18,7 @@ describe('Preview tab contents for all views', () => {
18
18
  before(() => {
19
19
  switch (view) {
20
20
  case 'Question preview':
21
- geoGebraToolsPage.steps.navigateToCreateResource('CAS calculator');
21
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra CAS calculator')
22
22
  geoGebraToolsPage.steps.switchToPreviewTab();
23
23
  break;
24
24
  case 'Item view':
@@ -10,7 +10,7 @@ describe('Create Item page - GeoGebra : Geometry calculator', () => {
10
10
  describe('Geometry calculator: Header section', () => {
11
11
  abortEarlySetup();
12
12
  before(() => {
13
- geoGebraToolsPage.steps.navigateToCreateResource('geometry calculator');
13
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra geometry calculator');
14
14
  });
15
15
 
16
16
  geoGebraToolsPage.tests.verifyCreateQuestionPageQuestionTypeHeader('GeoGebra geometry calculator');
@@ -19,7 +19,7 @@ describe('Create Item page - GeoGebra : Geometry calculator', () => {
19
19
  describe('Geometry calculator: Edit tab basic section content', () => {
20
20
  abortEarlySetup();
21
21
  before(() => {
22
- geoGebraToolsPage.steps.navigateToCreateResource('geometry calculator');
22
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra geometry calculator');
23
23
  });
24
24
 
25
25
  geoGebraToolsPage.tests.verifyEditTabContents('geometry calculator');
@@ -28,13 +28,12 @@ describe('Create Item page - GeoGebra : Geometry calculator', () => {
28
28
  describe('Geometry calculator: Edit tab basic section functionality', () => {
29
29
  abortEarlySetup();
30
30
  before(() => {
31
- geoGebraToolsPage.steps.navigateToCreateResource('geometry calculator');
31
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra geometry calculator');
32
32
  geoGebraToolsPage.steps.switchToPreviewTab();
33
33
  });
34
34
 
35
35
  it('When user switches to preview tab, the \'Geometry calculator\' should be displayed with \'Width (px)\' and \'Height (px)\' as 600px by 450 px respectively and the \'Show GeoGebra\' button should not be displayed', () => {
36
36
  geoGebraToolsPage.steps.verifyGeoGebraToolIsVisible();
37
- utilities.verifyElementVisibilityState(geoGebraToolsPage.geoGebraKeyBoardPreviewTab(), 'exist');
38
37
  geoGebraToolsPage.steps.verifyWidthAndHeightOfGeoGebraTool(600, 450);
39
38
  geoGebraToolsPage.steps.verifyPreviewTabGeoGebraToolVisibilityButtonDoesNotExist();
40
39
  geoGebraToolsPage.steps.verifyGeoGebraToolIsVisible();
@@ -45,6 +44,7 @@ describe('Create Item page - GeoGebra : Geometry calculator', () => {
45
44
 
46
45
  it('When the user updates the \'Width (px)\' and \'Height (px)\' in the input field the dimensions of the calculator should change accordingly', () => {
47
46
  geoGebraToolsPage.steps.switchToEditTab();
47
+ utilities.verifyElementVisibilityState(geoGebraToolsPage.widthInputField(), 'visible'); //Added to prevent editing of width input field before it loads
48
48
  geoGebraToolsPage.steps.enterInputInWidthInputField('450');
49
49
  geoGebraToolsPage.steps.enterInputInHeightInputField('325');
50
50
  geoGebraToolsPage.steps.switchToPreviewTab();
@@ -16,7 +16,7 @@ describe('Preview tab contents for all views', () => {
16
16
  before(() => {
17
17
  switch (view) {
18
18
  case 'Question preview':
19
- geoGebraToolsPage.steps.navigateToCreateResource('geometry calculator');
19
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra geometry calculator');
20
20
  geoGebraToolsPage.steps.switchToPreviewTab();
21
21
  break;
22
22
  case 'Item view':
@@ -68,7 +68,7 @@ describe('Preview tab contents for all views', () => {
68
68
  geoGebraToolsPage.steps.clickOnGeoGebraToolKeypadKeys('5');
69
69
  geoGebraToolsPage.steps.clickOnGeoGebraToolKeypadKeys('−');
70
70
  geoGebraToolsPage.steps.clickOnGeoGebraToolKeypadKeys('6');
71
- geoGebraToolsPage.steps.verifyTextAndResultInTextArea('5-6 = -1');
71
+ geoGebraToolsPage.steps.verifyTextAndResultInTextArea('56 = 1');
72
72
  });
73
73
  }
74
74
  });
@@ -10,7 +10,7 @@ describe('Create Item page - GeoGebra : Graphing calculator', () => {
10
10
  describe('Graphing calculator: Header section', () => {
11
11
  abortEarlySetup();
12
12
  before(() => {
13
- geoGebraToolsPage.steps.navigateToCreateResource('graphing calculator');
13
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra graphing calculator');
14
14
  });
15
15
 
16
16
  geoGebraToolsPage.tests.verifyCreateQuestionPageQuestionTypeHeader('GeoGebra graphing calculator');
@@ -19,7 +19,7 @@ describe('Create Item page - GeoGebra : Graphing calculator', () => {
19
19
  describe('Graphing calculator: Edit tab basic section content', () => {
20
20
  abortEarlySetup();
21
21
  before(() => {
22
- geoGebraToolsPage.steps.navigateToCreateResource('graphing calculator');
22
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra graphing calculator');
23
23
  });
24
24
 
25
25
  geoGebraToolsPage.tests.verifyEditTabContents('graphing calculator');
@@ -28,7 +28,7 @@ describe('Create Item page - GeoGebra : Graphing calculator', () => {
28
28
  describe('Graphing calculator: Edit tab basic section functionality', () => {
29
29
  abortEarlySetup();
30
30
  before(() => {
31
- geoGebraToolsPage.steps.navigateToCreateResource('graphing calculator');
31
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra graphing calculator');
32
32
  geoGebraToolsPage.steps.switchToPreviewTab();
33
33
  });
34
34
 
@@ -16,7 +16,7 @@ describe('Preview tab contents for all views', () => {
16
16
  before(() => {
17
17
  switch (view) {
18
18
  case 'Question preview':
19
- geoGebraToolsPage.steps.navigateToCreateResource('graphing calculator');
19
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra graphing calculator');
20
20
  geoGebraToolsPage.steps.switchToPreviewTab();
21
21
  break;
22
22
  case 'Item view':
@@ -65,7 +65,7 @@ describe('Preview tab contents for all views', () => {
65
65
  geoGebraToolsPage.steps.clickOnGeoGebraToolKeypadKeys('5');
66
66
  geoGebraToolsPage.steps.clickOnGeoGebraToolKeypadKeys('−');
67
67
  geoGebraToolsPage.steps.clickOnGeoGebraToolKeypadKeys('6');
68
- geoGebraToolsPage.steps.verifyTextAndResultInTextArea('5-6 = -1');
68
+ geoGebraToolsPage.steps.verifyTextAndResultInTextArea('56 = 1');
69
69
  });
70
70
  };
71
71
  });
@@ -10,7 +10,7 @@ describe('Create Item page - GeoGebra : Probability calculator', () => {
10
10
  describe('Probability calculator: Header section', () => {
11
11
  abortEarlySetup();
12
12
  before(() => {
13
- geoGebraToolsPage.steps.navigateToCreateResource('probability calculator');
13
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra probability calculator');
14
14
  });
15
15
 
16
16
  geoGebraToolsPage.tests.verifyCreateQuestionPageQuestionTypeHeader('GeoGebra probability calculator');
@@ -19,7 +19,7 @@ describe('Create Item page - GeoGebra : Probability calculator', () => {
19
19
  describe('Probability calculator: Edit tab basic section content', () => {
20
20
  abortEarlySetup();
21
21
  before(() => {
22
- geoGebraToolsPage.steps.navigateToCreateResource('probability calculator');
22
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra probability calculator');
23
23
  });
24
24
 
25
25
  geoGebraToolsPage.tests.verifyEditTabContents('probability calculator');
@@ -28,7 +28,7 @@ describe('Create Item page - GeoGebra : Probability calculator', () => {
28
28
  describe('Probability calculator: Edit tab basic section functionality', () => {
29
29
  abortEarlySetup();
30
30
  before(() => {
31
- geoGebraToolsPage.steps.navigateToCreateResource('probability calculator');
31
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra probability calculator');
32
32
  geoGebraToolsPage.steps.switchToPreviewTab();
33
33
  });
34
34
 
@@ -16,7 +16,7 @@ describe('Preview tab contents for all views', () => {
16
16
  before(() => {
17
17
  switch (view) {
18
18
  case 'Question preview':
19
- geoGebraToolsPage.steps.navigateToCreateResource('probability calculator');
19
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra probability calculator');
20
20
  geoGebraToolsPage.steps.switchToPreviewTab();
21
21
  break;
22
22
  case 'Item view':
@@ -10,7 +10,7 @@ describe('Create Item page - GeoGebra: Scientific calculator', () => {
10
10
  describe('Scientific calculator: Header section', () => {
11
11
  abortEarlySetup();
12
12
  before(() => {
13
- geoGebraToolsPage.steps.navigateToCreateResource('geogebra scientific calculator');
13
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra scientific calculator');;
14
14
  });
15
15
 
16
16
  geoGebraToolsPage.tests.verifyCreateQuestionPageQuestionTypeHeader('GeoGebra scientific calculator');
@@ -19,7 +19,7 @@ describe('Create Item page - GeoGebra: Scientific calculator', () => {
19
19
  describe('Scientific calculator: Edit tab basic section', () => {
20
20
  abortEarlySetup();
21
21
  before(() => {
22
- geoGebraToolsPage.steps.navigateToCreateResource('geogebra scientific calculator');
22
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra scientific calculator');;
23
23
  });
24
24
 
25
25
  geoGebraToolsPage.tests.verifyEditTabContents('scientific calculator');
@@ -28,7 +28,7 @@ describe('Create Item page - GeoGebra: Scientific calculator', () => {
28
28
  describe('Scientific calculator: edit tab functionality', () => {
29
29
  abortEarlySetup();
30
30
  before(() => {
31
- geoGebraToolsPage.steps.navigateToCreateResource('geogebra scientific calculator');
31
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra scientific calculator');;
32
32
  geoGebraToolsPage.steps.switchToPreviewTab();
33
33
  });
34
34
 
@@ -18,7 +18,7 @@ describe('Preview tab contents for all views', () => {
18
18
  before(() => {
19
19
  switch (view) {
20
20
  case 'Question preview':
21
- geoGebraToolsPage.steps.navigateToCreateResource('geogebra scientific calculator');
21
+ geoGebraToolsPage.steps.navigateToCreateResource('GeoGebra scientific calculator');;
22
22
  geoGebraToolsPage.steps.switchToPreviewTab();
23
23
  break;
24
24
  case 'Item view':
@@ -67,7 +67,7 @@ describe('Preview tab contents for all views', () => {
67
67
  geoGebraToolsPage.steps.clickOnGeoGebraToolKeypadKeys('5');
68
68
  geoGebraToolsPage.steps.clickOnGeoGebraToolKeypadKeys('−');
69
69
  geoGebraToolsPage.steps.clickOnGeoGebraToolKeypadKeys('6');
70
- geoGebraToolsPage.steps.verifyTextAndResultInTextArea('5-6 = -1');
70
+ geoGebraToolsPage.steps.verifyTextAndResultInTextArea('56 = 1');
71
71
  });
72
72
  }
73
73
  });