itemengine-cypress-automation 1.0.120 → 1.0.122-updateILCRepo28Feb-2c3e0e3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +13 -1
  2. package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -0
  3. package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +1 -0
  4. package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +2 -0
  5. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  6. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -2
  7. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +1 -4
  8. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingForAllViews.smoke.js +273 -0
  9. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/checkAnswerFunctionalityForAllViews.smoke.js +116 -0
  10. package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +136 -0
  11. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +224 -0
  12. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/checkAnswerFunctionalityForAllViews.smoke.js +120 -0
  13. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +158 -0
  14. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +1 -1
  15. package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +1 -4
  16. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +246 -0
  17. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownOptionsSection.js +332 -0
  18. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +409 -0
  19. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +80 -0
  20. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +213 -0
  21. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +1 -1
  22. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsBasic.js +2 -2
  23. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +1 -1
  24. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +2 -2
  25. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +68 -68
  26. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +6 -6
  27. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +1 -1
  28. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/setLimitSection.js +3 -289
  29. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/specialCharactersSection.js +1 -1
  30. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/specifyCorrectAnswerSection.js +2 -2
  31. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/studentViewSettings.js +2 -23
  32. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +191 -0
  33. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +190 -0
  34. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +284 -0
  35. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingPenaltyScoring.js +52 -0
  36. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +113 -0
  37. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +217 -0
  38. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsBasic.js +234 -0
  39. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +217 -0
  40. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +217 -0
  41. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsBasic.js +136 -0
  42. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +197 -0
  43. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +169 -0
  44. package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +197 -0
  45. package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +219 -0
  46. package/cypress/e2e/ILC/FillInTheGapsTextNew/checkAnswerFunctionalityForAllViews.smoke.js +115 -0
  47. package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +142 -0
  48. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +152 -0
  49. package/cypress/e2e/ILC/FillInTheGapsTextNew/setLimitSection.js +39 -0
  50. package/cypress/e2e/ILC/MultipleSelection/studentViewSettings.js +2 -12
  51. package/cypress/e2e/ILC/ShortTextResponseNew/conditionalCheckboxes.js +497 -0
  52. package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +503 -0
  53. package/cypress/e2e/ILC/ShortTextResponseNew/responseAnswersAndAcceptedStudentInput.js +233 -0
  54. package/cypress/e2e/ILC/ShortTextResponseNew/specialCharactersSection.js +291 -0
  55. package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +332 -0
  56. package/cypress/e2e/ILC/SingleSelection/studentViewSettings.js +2 -12
  57. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +9 -8
  58. package/cypress/e2e/ILC/TextEntryMath/editTabScoringSection.js +4 -4
  59. package/cypress/e2e/ILC/TextEntryMath/minimumScoringPenaltyPointsAndRoundingDropdown.js +8 -2
  60. package/cypress/e2e/ILC/TextEntryMath/specifyCorrectAnswerSection.js +5 -2
  61. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +334 -0
  62. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +419 -0
  63. package/cypress/e2e/ILC/TextEntryMathWithImage/checkAnswerFunctionalityForAllViews.smoke.js +166 -0
  64. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +166 -0
  65. package/cypress/e2e/ILC/UploadResponse/editTabScoringSection.js +51 -0
  66. package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +99 -0
  67. package/cypress/e2e/ILC/UploadResponse/manuallyAndNonScoredScoring.js +71 -0
  68. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +155 -0
  69. package/cypress/e2e/ILC/UploadResponse/uploadResponseHeaderSection.js +66 -0
  70. package/cypress/fixtures/theme/ilc.json +3 -1
  71. package/cypress/pages/audioResponsePage.js +2 -1
  72. package/cypress/pages/components/additionalSettingsPanel.js +27 -0
  73. package/cypress/pages/components/autoScoredPreviewBase.js +1 -1
  74. package/cypress/pages/components/autoScoredScoringSection.js +1 -1
  75. package/cypress/pages/components/autoScoredScoringSectionMultipleResponsesType.js +1 -1
  76. package/cypress/pages/components/autoScoredSetCorrectAnswerSection.js +1 -1
  77. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +2 -2
  78. package/cypress/pages/components/autoScoredStudentViewSettings.js +8 -1
  79. package/cypress/pages/components/backgroundImageUploadComponent.js +5 -5
  80. package/cypress/pages/components/createQuestionBasePage.js +8 -2
  81. package/cypress/pages/components/essayResponseCommonComponents.js +6 -0
  82. package/cypress/pages/components/fillInTheGapsCommonComponents.js +13 -0
  83. package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +40 -0
  84. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +422 -314
  85. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +438 -710
  86. package/cypress/pages/components/{figOverImageCanvasComponent.js → imageCanvasComponent.js} +274 -272
  87. package/cypress/pages/components/index.js +3 -3
  88. package/cypress/pages/components/maximumRecorderLengthComponent.js +55 -11
  89. package/cypress/pages/components/previewScoringAndShowCorrectAnswerComponent.js +1 -1
  90. package/cypress/pages/components/questionInputFieldComponent.js +49 -23
  91. package/cypress/pages/components/scoringSectionBase.js +1 -1
  92. package/cypress/pages/createItemPage.js +67 -2
  93. package/cypress/pages/fillInTheGapsDragAndDropPage.js +172 -711
  94. package/cypress/pages/fillInTheGapsDropdownPage.js +75 -72
  95. package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +4 -4
  96. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +109 -273
  97. package/cypress/pages/fillInTheGapsOverImageTextPage.js +49 -291
  98. package/cypress/pages/fillInTheGapsTextPage.js +52 -199
  99. package/cypress/pages/index.js +5 -5
  100. package/cypress/pages/multipleSelectionPage.js +1 -0
  101. package/cypress/pages/shortTextResponsePage.js +575 -33
  102. package/cypress/pages/singleSelectionGridPage.js +1 -2
  103. package/cypress/pages/singleSelectionPage.js +5 -6
  104. package/cypress/pages/textEntryMathPage.js +46 -22
  105. package/cypress/pages/textEntryMathWithImagePage.js +212 -0
  106. package/cypress/pages/uploadResponsePage.js +74 -21
  107. package/package.json +2 -2
  108. package/cypress/e2e/ILC/AudioResponseNew/minimalRecorderStyle.js +0 -482
  109. package/cypress/e2e/ILC/EssayResponse/essayResponseEquationEditor.smoke.js +0 -412
  110. package/cypress/pages/components/figOverImageCommonComponent.js +0 -1113
  111. package/cypress/pages/dragAndDropIntoCategoriesAllOrNothingScoring.js +0 -1155
  112. package/cypress/pages/dragAndDropIntoCategoriesCellsScoring.js +0 -1561
  113. package/cypress/pages/dragAndDropIntoCategoriesResponseScoring.js +0 -1396
  114. package/cypress/pages/fillInTheGapsScoring.js +0 -5872
  115. package/cypress/pages/fillInTheGapsSetCorrectAnswerSection.js +0 -260
@@ -1,98 +1,101 @@
1
- import { additionalSettingsPanel, autoScoredAdditionalSettings, autoScoredPreviewBase, autoScoredScoringSection, autoScoredScoringSectionMultipleResponsesType, autoScoredSetCorrectAnswerSection, commonComponents, createQuestionBasePage, fillInTheGapsCommonComponents, optionsWrapperComponent, previewScoringAndShowCorrectAnswerComponent, questionInstructionsComponent, scoringSectionBase, fillInTheGapsDropdownCommonComponent, questionInputFieldComponent } from "./components"
2
- import { answerNumerationComponent } from "./components/answerNumerationComponent";
3
- import { fillInTheGapsTextPage } from "./fillInTheGapsTextPage"
1
+ import utilities from "../support/helpers/utilities";
2
+ import { autoScoredScoringPreviewTab, createQuestionBasePage, scoringSectionBaseEditTab, questionInstructionsComponent, correctIncorrectAnswerLabelComponent, autoScoredStudentViewSettings, autoScoredSpecifyCorrectAnswerSection, autoScoredScoringSectionMultiResponseType, fillInTheGapsDropdownCommonComponent, questionInputFieldComponent, commonComponents, additionalSettingsPanel } from "./components";
4
3
  const css = Cypress.env('css');
5
4
 
6
5
  const selectors = {
7
- ...fillInTheGapsTextPage,
8
6
  ...questionInstructionsComponent,
9
- ...fillInTheGapsCommonComponents,
10
- ...optionsWrapperComponent,
7
+ ...autoScoredScoringPreviewTab,
8
+ ...correctIncorrectAnswerLabelComponent,
11
9
  ...fillInTheGapsDropdownCommonComponent,
12
10
  ...questionInputFieldComponent,
13
- previewTabResponseDropdown: () => cy.get('.cloze-with-text-response-preview-wrapper [class*="icon-chevron"]'),
14
- previewTabResponseDropdownWrapper: () => cy.get('.cloze-with-text-preview .response-dropdown-wrapper .dropdown-form-control '),
15
- responseDropdownAnswerNumeration: () => cy.get('.response-input-adornment')
11
+ ...commonComponents,
12
+ dropdownWrapperPreviewTab: () => cy.get('.cloze-with-text-answer-status-response-preview-wrapper'),
13
+ correctAnswerSectionWrapper: () => cy.get('.cloze-with-text-correct-answer-wrapper'),
14
+ correctAnswerResponseWrapper: () => cy.get('.answer-block'),
15
+ correctAnswerResponse: () => cy.get('.numeration-wrapper'),
16
16
  }
17
17
 
18
18
  const steps = {
19
+ ...autoScoredScoringPreviewTab.steps,
20
+ ...correctIncorrectAnswerLabelComponent.steps,
19
21
  ...createQuestionBasePage.steps,
22
+ ...scoringSectionBaseEditTab.steps,
20
23
  ...questionInstructionsComponent.steps,
21
- ...additionalSettingsPanel.steps,
22
- ...scoringSectionBase.steps,
23
- ...fillInTheGapsCommonComponents.steps,
24
- ...autoScoredPreviewBase.steps,
25
- ...autoScoredAdditionalSettings.steps,
26
- ...autoScoredSetCorrectAnswerSection.steps,
27
- ...autoScoredScoringSectionMultipleResponsesType.steps,
28
- ...answerNumerationComponent.steps,
24
+ ...autoScoredStudentViewSettings.steps,
25
+ ...autoScoredSpecifyCorrectAnswerSection.steps,
26
+ ...autoScoredScoringSectionMultiResponseType.steps,
29
27
  ...fillInTheGapsDropdownCommonComponent.steps,
30
28
  ...questionInputFieldComponent.steps,
31
- selectResponseFromPreviewTabResponseDropdown: (dropdownIndex, dropdownOption) => {
32
- fillInTheGapsDropdownPage.previewTabResponseDropdown()
33
- .eq(dropdownIndex)
34
- .click({ position: "right"}); //Added this as normal clicking fails when placeholder is provided
35
- fillInTheGapsDropdownCommonComponent.steps.selectOptionFromResponseDropdown(dropdownOption);
36
- fillInTheGapsDropdownPage.previewTabResponseDropdown()
37
- .eq(dropdownIndex)
38
- .verifyInnerText(dropdownOption);
29
+ ...commonComponents.steps,
30
+ ...additionalSettingsPanel.steps,
31
+ /**
32
+ * Verify that the correct option icon is is displayed for a specific dropdown.
33
+ * @param {number} dropdownIndex - The index of the dropdown.
34
+ */
35
+ verifyCorrectOptionIcon: (dropdownIndex) => {
36
+ utilities.getNthElement(fillInTheGapsDropdownPage.dropdownWrapperPreviewTab(), dropdownIndex)
37
+ .within(() => {
38
+ utilities.verifyElementVisibilityState(autoScoredScoringPreviewTab.correctIcon(), 'visible');
39
+ });
39
40
  },
40
41
 
41
- verifyAnswerNumerationShouldNotExistInPreviewTabResponseDropdown: () => {
42
- cy.log('Checking the answer numeration should not be displayed in the response dropdown')
43
- fillInTheGapsDropdownPage.previewTabResponseDropdownWrapper()
44
- .each(($el) => {
45
- cy.wrap($el)
46
- .within(() => {
47
- fillInTheGapsDropdownPage.responseDropdownAnswerNumeration()
48
- .should('not.exist');
49
- });
42
+ /**
43
+ * Verify that both correct and incorrect option icons do not exist for a specific dropdown.
44
+ * @param {number} dropdownIndex - The index of the dropdown.
45
+ */
46
+ verifyCorrectIncorrectIconNotExist: (dropdownIndex) => {
47
+ utilities.getNthElement(fillInTheGapsDropdownPage.dropdownWrapperPreviewTab(), dropdownIndex)
48
+ .within(() => {
49
+ utilities.verifyElementVisibilityState(fillInTheGapsDropdownCommonComponent.tickIconWrapper(), 'notExist');
50
50
  });
51
51
  },
52
- }
53
52
 
54
- const tests = {
55
- ...createQuestionBasePage.tests,
56
- ...questionInstructionsComponent.tests,
57
- ...fillInTheGapsCommonComponents.tests,
58
- ...scoringSectionBase.tests,
59
- ...autoScoredScoringSection.tests,
60
- ...additionalSettingsPanel.tests,
61
- ...autoScoredAdditionalSettings.tests,
62
- ...autoScoredSetCorrectAnswerSection.tests,
63
- ...commonComponents.tests,
64
- ...previewScoringAndShowCorrectAnswerComponent.tests,
65
- ...autoScoredScoringSectionMultipleResponsesType.tests,
66
- ...answerNumerationComponent.tests,
67
- ...questionInputFieldComponent.tests,
68
- verifySetCorrectAnswerTabContentsAndFunctionality: (tabName) => {
69
- it(`CSS of ${tabName} contents`, { tags: 'css' }, () => {
70
- fillInTheGapsCommonComponents.setCorrectAnswerResponseFieldLabel()
71
- .verifyCSS(css.color.labels, css.fontSize.default, css.fontWeight.regular);
72
- fillInTheGapsDropdownPage.responseDropdownSetCorrectAnswerSection()
73
- .should('have.css', 'border', `1px solid ${css.color.figDefaultComponentBorder}`)
74
- .and('have.css', 'background-color', css.color.defaultBackground);
75
- });
53
+ /**
54
+ * Verify that the incorrect option icon is displayed for a specific dropdown.
55
+ * @param {number} dropdownIndex - The index of the dropdown.
56
+ */
57
+ verifyIncorrectOptionIcon: (dropdownIndex) => {
58
+ utilities.getNthElement(fillInTheGapsDropdownPage.dropdownWrapperPreviewTab(), dropdownIndex)
59
+ .within(() => {
60
+ utilities.verifyElementVisibilityState(autoScoredScoringPreviewTab.incorrectIcon(), 'visible');
61
+ });
62
+ },
76
63
 
77
- it('By default 1 dropdown along with label \'Response 1\' should be displayed in the \'Set correct answer\' section', () => {
78
- fillInTheGapsDropdownPage.responseDropdownSetCorrectAnswerSection()
79
- .should('have.length', 1);
80
- fillInTheGapsDropdownPage.setCorrectAnswerResponseFieldLabel()
81
- .verifyInnerText('Response 1');
82
- });
64
+ verifyDropdownNumerationPreviewTab: () => {
65
+ fillInTheGapsDropdownPage.dropdownWrapperPreviewTab()
66
+ .each(($element, index) => {
67
+ cy.wrap($element)
68
+ .within(() => {
69
+ utilities.verifyTextContent(fillInTheGapsDropdownCommonComponent.dropdownNumerationPreviewTab(), `${index + 1}`);
70
+ });
71
+ });
72
+ },
83
73
 
84
- it('When the user selects any option from the dropdown, that option should get set as correct answer option and it should get displayed on the dropdown', () => {
85
- fillInTheGapsDropdownPage.steps.selectResponseFromSetCorrectAnswerSectionResponseDropdown(0, 'changing');
74
+ /**
75
+ * Verify correct answer responses in the correct answer section and count.
76
+ * @param {string[]} correctAnswerArray - An array containing the expected correct answer responses.
77
+ * @example verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Petals', 'Stem']);
78
+ */
79
+ verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount: (correctAnswerArray) => {
80
+ utilities.verifyElementCount(fillInTheGapsDropdownPage.correctAnswerResponseWrapper(), correctAnswerArray.length);
81
+ correctAnswerArray.forEach((correctAnswer, index) => {
82
+ fillInTheGapsDropdownPage.correctAnswerResponseWrapper()
83
+ .eq(index)
84
+ .within(() => {
85
+ utilities.verifyInnerText(fillInTheGapsDropdownCommonComponent.correctAnswerResponseNumeration(), `${index + 1}`);
86
+ fillInTheGapsDropdownPage.correctAnswerResponse()
87
+ .should('have.text', correctAnswer);
88
+ });
86
89
  });
90
+ },
87
91
 
88
- it('CSS of \'correct\' answer that appears on the dropdown', { tags: 'css' }, () => {
89
- fillInTheGapsDropdownPage.responseDropdownSetCorrectAnswerSection()
90
- .find('span')
91
- .verifyCSS(css.color.liText, css.fontSize.default, css.fontWeight.regular);
92
- });
92
+ verifyCorrectAnswerSectionNotExists: () => {
93
+ utilities.verifyElementVisibilityState(fillInTheGapsDropdownPage.correctAnswerSectionWrapper(), 'notExist');
94
+ },
95
+ }
93
96
 
94
- autoScoredSetCorrectAnswerSection.tests.verifyAutoScoredPointsErrorMessageWhenPointsFieldIsEmpty(tabName);
95
- }
97
+ const tests = {
98
+ ...autoScoredScoringPreviewTab.tests,
96
99
  }
97
100
 
98
101
  export const fillInTheGapsDropdownPage = {
@@ -1,6 +1,6 @@
1
1
  import constants from "../fixtures/constants";
2
2
  import utilities from "../support/helpers/utilities";
3
- import { createQuestionBasePage, questionInstructionsComponent, uploadImageSectionComponent, scoringSectionBaseEditTab, optionsWrapperComponent, equationEditorFlyout, ckEditorToolbar, commonComponents, autoScoredScoringPreviewTab, autoScoredStudentViewSettings, maximumCapacityPerDropzoneComponent, autoScoredSpecifyCorrectAnswerSection, autoScoredScoringSectionMultiResponseType, figOverImageCanvasComponent, backgroundImageUploadComponent, correctIncorrectAnswerLabelComponent, draggableOptionsSectionComponent, draggableOptionContainer, studentViewSettingsLabelComponent, randomizeOptionsComponent, enableOuterBorderComponent, allowMultipleInstancesOfSameDraggableOptionComponent, additionalSettingsPanel, opacityComponent, imageActionsComponent, colorPopupComponent } from "./components";
3
+ import { createQuestionBasePage, questionInstructionsComponent, uploadImageSectionComponent, scoringSectionBaseEditTab, optionsWrapperComponent, equationEditorFlyout, ckEditorToolbar, commonComponents, autoScoredScoringPreviewTab, autoScoredStudentViewSettings, maximumCapacityPerDropzoneComponent, autoScoredSpecifyCorrectAnswerSection, autoScoredScoringSectionMultiResponseType, imageCanvasComponent, backgroundImageUploadComponent, correctIncorrectAnswerLabelComponent, draggableOptionsSectionComponent, draggableOptionContainer, studentViewSettingsLabelComponent, randomizeOptionsComponent, enableOuterBorderComponent, allowMultipleInstancesOfSameDraggableOptionComponent, additionalSettingsPanel, opacityComponent, imageActionsComponent, colorPopupComponent } from "./components";
4
4
  import { dialogBoxBase } from "./dialogBoxBase";
5
5
  const css = Cypress.env('css');
6
6
 
@@ -15,7 +15,7 @@ const selectors = {
15
15
  ...optionsWrapperComponent,
16
16
  ...draggableOptionsSectionComponent,
17
17
  ...draggableOptionContainer,
18
- ...figOverImageCanvasComponent,
18
+ ...imageCanvasComponent,
19
19
  ...backgroundImageUploadComponent,
20
20
  ...correctIncorrectAnswerLabelComponent,
21
21
  ...dialogBoxBase,
@@ -74,7 +74,7 @@ const steps = {
74
74
  ...autoScoredScoringSectionMultiResponseType.steps,
75
75
  ...draggableOptionsSectionComponent.steps,
76
76
  ...draggableOptionContainer.steps,
77
- ...figOverImageCanvasComponent.steps,
77
+ ...imageCanvasComponent.steps,
78
78
  ...backgroundImageUploadComponent.steps,
79
79
  ...correctIncorrectAnswerLabelComponent.steps,
80
80
  ...draggableOptionsSectionComponent.steps,
@@ -631,7 +631,7 @@ const tests = {
631
631
  ...colorPopupComponent.tests,
632
632
  ...opacityComponent.tests,
633
633
  ...backgroundImageUploadComponent.tests,
634
- ...figOverImageCanvasComponent.tests,
634
+ ...imageCanvasComponent.tests,
635
635
 
636
636
  verifyContentsOfSpecifyCorrectAnswerSection: () => {
637
637
  it('When user selects a scoring type then in the \'Correct\' accordion, all the contents should be displayed', () => {