itemengine-cypress-automation 1.0.196-drawingResponseMigration-0f99062.0 → 1.0.196

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +8 -8
  2. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +54 -33
  3. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  4. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
  5. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  6. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingPenaltyScoring.js +1 -1
  7. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/manuallyAndNonScored.js +2 -2
  8. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  9. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsBasic.js +3 -3
  10. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  11. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  12. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsBasic.js +2 -2
  13. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  14. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
  15. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  16. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsBasic.js +6 -6
  17. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsForDropdowns.js +7 -7
  18. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +3 -3
  19. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/checkAnswerFunctionalityForAllViews.smoke.js +1 -1
  20. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +5 -5
  21. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownOptionsSection.js +3 -3
  22. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +22 -22
  23. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabScoringSection.js +10 -10
  24. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +8 -7
  25. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -3
  26. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +1 -1
  27. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/specifyCorrectAnswerSection.js +3 -2
  28. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +4 -4
  29. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/supportedFileTypes.js +1 -1
  30. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +2 -2
  31. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/conditionalCheckboxScoring.js +0 -1
  32. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +2 -2
  33. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +3 -3
  34. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
  35. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +3 -3
  36. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/responseLevelAlternateAnswersBasicScoring.js +5 -5
  37. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +6 -6
  38. package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +8 -8
  39. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +1 -0
  40. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +0 -2
  41. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -3
  42. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +4 -4
  43. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +5 -5
  44. package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingPenaltyScoring.js +3 -0
  45. package/cypress/e2e/ILC/ListOrderingNew/Scoring/manuallyAndNonScored.js +2 -1
  46. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +7 -6
  47. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsBasic.js +1 -1
  48. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -3
  49. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +7 -7
  50. package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -3
  51. package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +2 -2
  52. package/cypress/e2e/ILC/ListOrderingNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  53. package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +2 -2
  54. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +2 -0
  55. package/cypress/e2e/ILC/MultipleSelection/manuallyAndNonScoredScoring.js +6 -12
  56. package/cypress/e2e/ILC/MultipleSelectionGridNew/headerSection.js +2 -2
  57. package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +0 -1
  58. package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +3 -2
  59. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  60. package/cypress/e2e/ILC/SingleSelectionGridNew/headerSection.js +2 -2
  61. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +9 -9
  62. package/cypress/e2e/ILC/TextEntryMath/checkAnswerFunctionalityForAllViews.smoke.js +3 -3
  63. package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +12 -12
  64. package/cypress/e2e/ILC/TextEntryMath/editTabScoringSection.js +1 -1
  65. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
  66. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
  67. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
  68. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +1 -1
  69. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +1 -1
  70. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
  71. package/cypress/e2e/ILC/TextEntryMath/minimumScoringPenaltyPointsAndRoundingDropdown.js +8 -8
  72. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +2 -2
  73. package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +5 -5
  74. package/cypress/e2e/ILC/TextEntryMath/specifyCorrectAnswerSection.js +2 -2
  75. package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +1 -1
  76. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +2 -5
  77. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +5 -0
  78. package/cypress/e2e/ILC/chartsDotsPlot/checkAnswerFunctionalityForAllViews.smoke.js +4 -3
  79. package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +10 -28
  80. package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +10 -10
  81. package/cypress/pages/chartsDotPlotPage.js +7 -1
  82. package/cypress/pages/components/additionalSettingsPanel.js +1 -0
  83. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +1 -0
  84. package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +2 -2
  85. package/cypress/pages/components/draggableOptionContainer.js +1 -1
  86. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +1 -0
  87. package/cypress/pages/components/imageCanvasComponent.js +2 -2
  88. package/cypress/pages/components/scoringSectionBaseEditTab.js +2 -1
  89. package/cypress/pages/listOrderingPage.js +21 -0
  90. package/cypress/pages/multipleSelectionPage.js +14 -0
  91. package/cypress/pages/numberLineLabelPage.js +28 -27
  92. package/cypress/pages/textEntryMathPage.js +0 -7
  93. package/package.json +1 -1
@@ -21,7 +21,7 @@ describe('Fill In the gaps over image - dropdown - Additional settings : Placeho
21
21
  describe('Additional settings: Placeholder text - Contents in edit tab', () => {
22
22
  abortEarlySetup();
23
23
  before(() => {
24
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
24
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
25
25
  cy.barsPreLoaderWait();
26
26
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
27
27
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -59,7 +59,7 @@ describe('Fill In the gaps over image - dropdown - Additional settings : Placeho
59
59
  describe('Additional settings: Placeholder text - functionality in edit tab', () => {
60
60
  abortEarlySetup();
61
61
  before(() => {
62
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
62
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
63
63
  cy.barsPreLoaderWait();
64
64
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
65
65
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -146,7 +146,7 @@ describe('Fill In the gaps over image - dropdown - Additional settings : Placeho
146
146
  describe('Additional settings: Placeholder text - functionality in preview tab', () => {
147
147
  abortEarlySetup();
148
148
  before(() => {
149
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
149
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
150
150
  cy.barsPreLoaderWait();
151
151
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
152
152
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -169,7 +169,7 @@ describe('Fill In the gaps over image - dropdown - Additional settings : Placeho
169
169
  describe('Additional settings: Grading view - Contents in edit tab', () => {
170
170
  abortEarlySetup();
171
171
  before(() => {
172
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
172
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
173
173
  cy.barsPreLoaderWait();
174
174
  fillInTheGapsOverImageDropdownPage.steps.expandAdditionalSettings();
175
175
  });
@@ -192,7 +192,7 @@ describe('Fill In the gaps over image - dropdown - Additional settings : Placeho
192
192
  describe('Additional settings: Grading view - functionality in preview tab', () => {
193
193
  abortEarlySetup();
194
194
  before(() => {
195
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
195
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
196
196
  cy.barsPreLoaderWait();
197
197
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
198
198
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -260,7 +260,7 @@ describe('Fill In the gaps over image - dropdown - Additional settings : Placeho
260
260
  describe('Additional settings: ARIA label for dropdowns - Contents in edit tab', () => {
261
261
  abortEarlySetup();
262
262
  before(() => {
263
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
263
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
264
264
  cy.barsPreLoaderWait();
265
265
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
266
266
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -304,7 +304,7 @@ describe('Fill In the gaps over image - dropdown - Additional settings : Placeho
304
304
  describe('Additional settings: ARIA label for dropdowns - functionality in preview tab', () => {
305
305
  abortEarlySetup();
306
306
  before(() => {
307
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
307
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
308
308
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
309
309
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
310
310
  fillInTheGapsOverImageDropdownPage.steps.insertResponseArea(10);
@@ -20,7 +20,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: All or noth
20
20
  describe('Question preview modes: Student view and Grading view', () => {
21
21
  abortEarlySetup();
22
22
  before(() => {
23
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
23
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
24
24
  cy.barsPreLoaderWait();
25
25
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
26
26
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -54,7 +54,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: All or noth
54
54
  before(() => {
55
55
  switch (view) {
56
56
  case 'Question preview':
57
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
57
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
58
58
  cy.barsPreLoaderWait();
59
59
  fillInTheGapsOverImageDropdownPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
60
60
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
@@ -187,7 +187,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: All or noth
187
187
  describe('Question preview: Auto scored - All or nothing: Minimum scoring', () => {
188
188
  abortEarlySetup();
189
189
  before(() => {
190
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
190
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
191
191
  cy.barsPreLoaderWait();
192
192
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
193
193
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -36,7 +36,7 @@ describe('Create item page - Fill in the gaps over image - dropdown - Check answ
36
36
  before(() => {
37
37
  switch (view) {
38
38
  case 'Question preview':
39
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
39
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
40
40
  cy.barsPreLoaderWait();
41
41
  fillInTheGapsOverImageDropdownPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
42
42
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
@@ -13,7 +13,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Dropdown an
13
13
  describe('Dropdown and Dropdown menu section contents', () => {
14
14
  abortEarlySetup();
15
15
  before(() => {
16
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
16
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
17
17
  cy.barsPreLoaderWait();
18
18
  });
19
19
 
@@ -96,7 +96,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Dropdown an
96
96
  describe('Dropdown section - Specify correct answer section dropdown', () => {
97
97
  abortEarlySetup();
98
98
  before(() => {
99
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
99
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
100
100
  cy.barsPreLoaderWait();
101
101
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
102
102
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -143,7 +143,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Dropdown an
143
143
  describe('Dropdown menu section - Specify correct answer section dropdown', () => {
144
144
  abortEarlySetup();
145
145
  before(() => {
146
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
146
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
147
147
  cy.barsPreLoaderWait();
148
148
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
149
149
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -171,7 +171,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Dropdown an
171
171
  describe('Dropdown section - Preview tab', () => {
172
172
  abortEarlySetup();
173
173
  before(() => {
174
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
174
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
175
175
  cy.barsPreLoaderWait();
176
176
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
177
177
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -219,7 +219,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Dropdown an
219
219
  describe('Dropdown menu section- Preview tab', () => {
220
220
  abortEarlySetup();
221
221
  before(() => {
222
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
222
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
223
223
  cy.barsPreLoaderWait();
224
224
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
225
225
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -14,7 +14,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Dropdown op
14
14
  describe('Dropdown options section contents', () => {
15
15
  abortEarlySetup();
16
16
  before(() => {
17
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
17
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
18
18
  cy.barsPreLoaderWait();
19
19
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
20
20
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -156,7 +156,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Dropdown op
156
156
  describe('Dropdown options in Specify correct answer section', () => {
157
157
  abortEarlySetup();
158
158
  before(() => {
159
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
159
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
160
160
  cy.barsPreLoaderWait();
161
161
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
162
162
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -249,7 +249,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Dropdown op
249
249
  describe('Dropdown options in preview tab', () => {
250
250
  abortEarlySetup();
251
251
  before(() => {
252
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
252
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
253
253
  cy.barsPreLoaderWait();
254
254
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
255
255
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -13,7 +13,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
13
13
  describe('Question instructions input field - Edit tab', () => {
14
14
  abortEarlySetup();
15
15
  before(() => {
16
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
16
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
17
17
  cy.barsPreLoaderWait();
18
18
  });
19
19
 
@@ -23,7 +23,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
23
23
  describe('Question instructions input field - Preview tab', () => {
24
24
  abortEarlySetup();
25
25
  before(() => {
26
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
26
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
27
27
  cy.barsPreLoaderWait();
28
28
  });
29
29
 
@@ -33,7 +33,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
33
33
  describe('Background image section - Edit tab', () => {
34
34
  abortEarlySetup();
35
35
  before(() => {
36
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
36
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
37
37
  cy.barsPreLoaderWait();
38
38
  });
39
39
 
@@ -45,7 +45,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
45
45
  describe('Canvas section - Edit tab', () => {
46
46
  abortEarlySetup();
47
47
  before(() => {
48
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
48
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
49
49
  cy.barsPreLoaderWait();
50
50
  });
51
51
 
@@ -78,7 +78,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
78
78
  describe('Canvas : Insert dropdown, Delete, Undo, Redo - Specify correct answer section', () => {
79
79
  abortEarlySetup();
80
80
  before(() => {
81
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
81
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
82
82
  cy.barsPreLoaderWait();
83
83
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
84
84
  });
@@ -131,7 +131,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
131
131
  describe('Canvas : Select dropdown - Edit tab canvas section functionality', () => {
132
132
  abortEarlySetup();
133
133
  before(() => {
134
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
134
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
135
135
  cy.barsPreLoaderWait();
136
136
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
137
137
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -144,10 +144,10 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
144
144
  fillInTheGapsOverImageDropdownPage.steps.verifyCanvasSelectedMenuText('Select');
145
145
  });
146
146
 
147
- it(`When user selects dropdown, then 9 options ${dropdownPointerStyles} should be displayed and by default ${dropdownPointerStyles[7]} should be selected`, () => {
147
+ it(`When user selects dropdown, then 9 options ${dropdownPointerStyles} should be displayed and by default ${dropdownPointerStyles[0]} should be selected`, () => {
148
148
  fillInTheGapsOverImageDropdownPage.steps.selectResponseArea(1);
149
149
  utilities.verifyElementCount(fillInTheGapsOverImageDropdownPage.responseAreaStyle(), 9);
150
- fillInTheGapsOverImageDropdownPage.steps.verifyResponseAreaPointerStyle(dropdownPointerStyles[7], 1);
150
+ fillInTheGapsOverImageDropdownPage.steps.verifyResponseAreaPointerStyle(dropdownPointerStyles[0], 1);
151
151
  });
152
152
 
153
153
  it('CSS of dropdowns', { tags: 'css' }, () => {
@@ -163,23 +163,23 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
163
163
  fillInTheGapsOverImageDropdownPage.steps.verifyPointerStyleTooltip();
164
164
  });
165
165
 
166
- it(`When the user has selected a dropdown and chooses ${dropdownPointerStyles[0]}, then selected drop zone should have the specified effect applied, and the other drop zones should remain unaffected.`, () => {
167
- fillInTheGapsOverImageDropdownPage.steps.selectResponseAreaPointerStyle(dropdownPointerStyles[0]);
168
- fillInTheGapsOverImageDropdownPage.steps.verifyResponseAreaPointerStyle(dropdownPointerStyles[0], 1);
169
- fillInTheGapsOverImageDropdownPage.steps.verifyResponseAreaPointerStyle(dropdownPointerStyles[7], 0);
166
+ it(`When the user has selected a dropdown and chooses ${dropdownPointerStyles[7]}, then selected drop zone should have the specified effect applied, and the other drop zones should remain unaffected.`, () => {
167
+ fillInTheGapsOverImageDropdownPage.steps.selectResponseAreaPointerStyle(dropdownPointerStyles[7]);
168
+ fillInTheGapsOverImageDropdownPage.steps.verifyResponseAreaPointerStyle(dropdownPointerStyles[7], 1);
169
+ fillInTheGapsOverImageDropdownPage.steps.verifyResponseAreaPointerStyle(dropdownPointerStyles[0], 0);
170
170
  });
171
171
 
172
172
  it(`When the user chooses ${dropdownPointerStyles[1]}, then selected drop zone should have the specified effect applied, and the other drop zones should remain unaffected.`, () => {
173
173
  fillInTheGapsOverImageDropdownPage.steps.selectResponseAreaPointerStyle(dropdownPointerStyles[1]);
174
174
  fillInTheGapsOverImageDropdownPage.steps.verifyResponseAreaPointerStyle(dropdownPointerStyles[1], 1);
175
- fillInTheGapsOverImageDropdownPage.steps.verifyResponseAreaPointerStyle(dropdownPointerStyles[7], 0);
175
+ fillInTheGapsOverImageDropdownPage.steps.verifyResponseAreaPointerStyle(dropdownPointerStyles[0], 0);
176
176
  });
177
177
  });
178
178
 
179
179
  describe('Canvas : Insert and delete dropdown - Edit tab canvas section functionality', () => {
180
180
  abortEarlySetup();
181
181
  before(() => {
182
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
182
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
183
183
  cy.barsPreLoaderWait();
184
184
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
185
185
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -193,7 +193,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
193
193
  describe('Canvas : Undo, Redo, Clear all - Edit tab canvas section functionality', () => {
194
194
  abortEarlySetup();
195
195
  before(() => {
196
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
196
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
197
197
  cy.barsPreLoaderWait();
198
198
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
199
199
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -205,7 +205,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
205
205
  describe('Canvas : Insert text - Edit tab canvas section functionality', () => {
206
206
  abortEarlySetup();
207
207
  before(() => {
208
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
208
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
209
209
  cy.barsPreLoaderWait();
210
210
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
211
211
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -247,7 +247,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
247
247
  describe('Canvas : Select dropdown, Insert dropdown, Insert text, Undo, Redo and Clear all - Preview tab functionality', () => {
248
248
  abortEarlySetup();
249
249
  before(() => {
250
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
250
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
251
251
  cy.barsPreLoaderWait();
252
252
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
253
253
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -305,7 +305,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
305
305
  describe('Image properties section - Edit tab', () => {
306
306
  abortEarlySetup();
307
307
  before(() => {
308
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
308
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
309
309
  cy.barsPreLoaderWait();
310
310
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
311
311
  fillInTheGapsOverImageDropdownPage.steps.verifyFileNameLabel('highlightImage.jpg');
@@ -317,7 +317,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
317
317
  describe('Image properties section - Edit tab canvas section functionality', () => {
318
318
  abortEarlySetup();
319
319
  before(() => {
320
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
320
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
321
321
  cy.barsPreLoaderWait();
322
322
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
323
323
  fillInTheGapsOverImageDropdownPage.steps.verifyFileNameLabel('highlightImage.jpg');
@@ -335,7 +335,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
335
335
  describe('Canvas width, Canvas height, Image alternative text - Edit tab canvas section functionality', () => {
336
336
  abortEarlySetup();
337
337
  before(() => {
338
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
338
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
339
339
  cy.barsPreLoaderWait();
340
340
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
341
341
  fillInTheGapsOverImageDropdownPage.steps.verifyFileNameLabel('highlightImage.jpg');
@@ -350,7 +350,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
350
350
  describe('Image properties, Image alignment, Opacity section - Preview tab functionality', () => {
351
351
  abortEarlySetup();
352
352
  before(() => {
353
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
353
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
354
354
  cy.barsPreLoaderWait();
355
355
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
356
356
  fillInTheGapsOverImageDropdownPage.steps.verifyFileNameLabel('highlightImage.jpg');
@@ -368,7 +368,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
368
368
  describe('Canvas width, Canvas height, Image alternative text - Preview tab functionality', () => {
369
369
  abortEarlySetup();
370
370
  before(() => {
371
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
371
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
372
372
  cy.barsPreLoaderWait();
373
373
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
374
374
  fillInTheGapsOverImageDropdownPage.steps.verifyFileNameLabel('highlightImage.jpg');
@@ -13,7 +13,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Scoring
13
13
  describe('Scoring section contents', () => {
14
14
  abortEarlySetup();
15
15
  before(() => {
16
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
16
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
17
17
  cy.barsPreLoaderWait();
18
18
  });
19
19
 
@@ -25,7 +25,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Scoring
25
25
  describe('Auto scored: All or nothing scoring - Scoring section', () => {
26
26
  abortEarlySetup();
27
27
  before(() => {
28
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
28
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
29
29
  cy.barsPreLoaderWait();
30
30
  });
31
31
 
@@ -38,7 +38,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Scoring
38
38
  describe('Auto scored: All or nothing scoring - Specify correct answer section', () => {
39
39
  abortEarlySetup();
40
40
  before(() => {
41
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
41
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
42
42
  cy.barsPreLoaderWait();
43
43
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
44
44
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -54,7 +54,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Scoring
54
54
  describe('Auto scored: Partial - equal weights scoring - Scoring section', () => {
55
55
  abortEarlySetup();
56
56
  before(() => {
57
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
57
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
58
58
  cy.barsPreLoaderWait();
59
59
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
60
60
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -77,7 +77,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Scoring
77
77
  describe('Auto scored: Partial - equal weights scoring - Specify correct answer section', () => {
78
78
  abortEarlySetup();
79
79
  before(() => {
80
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
80
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
81
81
  cy.barsPreLoaderWait();
82
82
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
83
83
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -137,7 +137,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Scoring
137
137
  describe('Auto scored: Partial - different weights scoring - Scoring section', () => {
138
138
  abortEarlySetup();
139
139
  before(() => {
140
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
140
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
141
141
  cy.barsPreLoaderWait();
142
142
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
143
143
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -161,7 +161,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Scoring
161
161
  describe('Auto scored: Partial - different weights scoring - Specify correct answer section', () => {
162
162
  abortEarlySetup();
163
163
  before(() => {
164
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
164
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
165
165
  cy.barsPreLoaderWait();
166
166
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
167
167
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -218,7 +218,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Scoring
218
218
  describe('Manually scored scoring - Scoring section', () => {
219
219
  abortEarlySetup();
220
220
  before(() => {
221
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
221
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
222
222
  cy.barsPreLoaderWait();
223
223
  });
224
224
 
@@ -244,7 +244,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Scoring
244
244
  describe('Non scored scoring - Scoring section', () => {
245
245
  abortEarlySetup();
246
246
  before(() => {
247
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
247
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
248
248
  cy.barsPreLoaderWait();
249
249
  });
250
250
 
@@ -259,7 +259,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Scoring
259
259
  describe('Non scored scoring - Specify correct answer section', () => {
260
260
  abortEarlySetup();
261
261
  before(() => {
262
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
262
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
263
263
  cy.barsPreLoaderWait();
264
264
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
265
265
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -12,7 +12,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Header sect
12
12
  describe('Header section contents', () => {
13
13
  abortEarlySetup();
14
14
  before(() => {
15
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
15
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
16
16
  });
17
17
 
18
18
  fillInTheGapsOverImageDropdownPage.tests.verifyCreateQuestionPageQuestionTypeHeader('Fill in the gaps over image with dropdown');
@@ -21,7 +21,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Header sect
21
21
  describe('Tabs section', () => {
22
22
  abortEarlySetup();
23
23
  before(() => {
24
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
24
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
25
25
  });
26
26
 
27
27
  fillInTheGapsOverImageDropdownPage.tests.verifyTabsSection();
@@ -30,16 +30,16 @@ describe('Create item page - Fill in the gaps over image - dropdown: Header sect
30
30
  describe('Cancel button', () => {
31
31
  abortEarlySetup();
32
32
  before(() => {
33
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
33
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
34
34
  });
35
35
 
36
- fillInTheGapsOverImageDropdownPage.tests.verifyCancelButton('fill in the gaps over image - dropdown')
36
+ fillInTheGapsOverImageDropdownPage.tests.verifyCancelButton('fill in the gaps over image with dropdown')
37
37
  });
38
38
 
39
39
  describe('Save Question button', () => {
40
40
  abortEarlySetup();
41
41
  before(() => {
42
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
42
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
43
43
  cy.barsPreLoaderWait();
44
44
  });
45
45
 
@@ -49,8 +49,8 @@ describe('Create item page - Fill in the gaps over image - dropdown: Header sect
49
49
  it('Validation error messages should be displayed below required input fields', () => {
50
50
  fillInTheGapsOverImageDropdownPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
51
51
  fillInTheGapsOverImageDropdownPage.steps.verifyPointsFieldErrorMessageIsNotDisplayed();
52
- utilities.verifyInnerText(utilities.getNthElement(commonComponents.errorMessage(), 1), 'Error: Image is required.');
53
- utilities.verifyInnerText(utilities.getNthElement(commonComponents.errorMessage(), 2), 'Error: Please insert a dropdown.');
52
+ utilities.verifyInnerText(utilities.getNthElement(commonComponents.errorMessage(), 0), 'Error: Image is required.');
53
+ utilities.verifyInnerText(utilities.getNthElement(commonComponents.errorMessage(), 1), 'Error: Please insert a dropdown.');
54
54
  fillInTheGapsOverImageDropdownPage.steps.verifySpecifyCorrectAnswerErrorIconIsVisible();
55
55
  });
56
56
 
@@ -58,6 +58,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Header sect
58
58
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
59
59
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
60
60
  fillInTheGapsOverImageDropdownPage.steps.insertResponseArea(10);
61
+ fillInTheGapsOverImageDropdownPage.steps.allotPoints(10);
61
62
  fillInTheGapsOverImageDropdownPage.steps.enterAndVerifyImageAlternativeTextInInputField('Image alternative text');
62
63
  fillInTheGapsOverImageDropdownPage.steps.addInputToDropdownOptionFields(0, optionsForDropdown);
63
64
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, optionsForDropdown[0]);
@@ -12,7 +12,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Minimum sco
12
12
  describe('Scoring section: Minimum scoring - Edit tab', () => {
13
13
  abortEarlySetup();
14
14
  before(() => {
15
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
15
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
16
16
  cy.barsPreLoaderWait();
17
17
  fillInTheGapsOverImageDropdownPage.steps.allotPoints(10);
18
18
  });
@@ -27,7 +27,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Minimum sco
27
27
  describe('Scoring section: Penalty scoring - Edit tab', () => {
28
28
  abortEarlySetup();
29
29
  before(() => {
30
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
30
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
31
31
  cy.barsPreLoaderWait();
32
32
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
33
33
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -185,7 +185,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Minimum sco
185
185
  describe('Scoring section: Rounding - Edit tab', () => {
186
186
  abortEarlySetup();
187
187
  before(() => {
188
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
188
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
189
189
  cy.barsPreLoaderWait();
190
190
  fillInTheGapsOverImageDropdownPage.steps.allotPoints(10);
191
191
  fillInTheGapsOverImageDropdownPage.steps.selectAutoScoredScoringSubtype('Partial equal weights')
@@ -20,7 +20,7 @@ describe('Create item page - Fill in the gaps over image - dropdown - Preview co
20
20
  before(() => {
21
21
  switch (view) {
22
22
  case 'Question preview':
23
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
23
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
24
24
  cy.barsPreLoaderWait();
25
25
  fillInTheGapsOverImageDropdownPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
26
26
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
@@ -12,7 +12,7 @@ describe('Create Item page - Fill in the gaps over image - dropdown: Specify cor
12
12
  describe('Specify correct answer section - Header and \'Correct\' accordion', () => {
13
13
  abortEarlySetup();
14
14
  before(() => {
15
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
15
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
16
16
  cy.barsPreLoaderWait();
17
17
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
18
18
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -30,7 +30,7 @@ describe('Create Item page - Fill in the gaps over image - dropdown: Specify cor
30
30
  describe('Specify correct answer section - \'Alternative\' accordion', () => {
31
31
  abortEarlySetup();
32
32
  before(() => {
33
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
33
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
34
34
  cy.barsPreLoaderWait();
35
35
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
36
36
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -43,6 +43,7 @@ describe('Create Item page - Fill in the gaps over image - dropdown: Specify cor
43
43
 
44
44
  it('When user has added points and selected an option in dropdown in the \'Correct\' accordion, then the user should be able to add alternative answer for the question using \'Add alternative answer\' button', () => {
45
45
  fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, optionsForDropdown[0]);
46
+ fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, optionsForDropdown[1]);
46
47
  fillInTheGapsOverImageDropdownPage.steps.allotPoints(10);
47
48
  fillInTheGapsOverImageDropdownPage.steps.addAlternativeAnswerAccordion(1);
48
49
  });
@@ -13,7 +13,7 @@ describe('Create Item page - Fill in the gaps over image - dropdown: Student vie
13
13
  describe('Randomize options : Edit tab', () => {
14
14
  abortEarlySetup();
15
15
  before(() => {
16
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
16
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
17
17
  cy.barsPreLoaderWait();
18
18
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
19
19
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -54,7 +54,7 @@ describe('Create Item page - Fill in the gaps over image - dropdown: Student vie
54
54
  let randomizedOptionsString = '';
55
55
  abortEarlySetup();
56
56
  before(() => {
57
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
57
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
58
58
  cy.barsPreLoaderWait();
59
59
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
60
60
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -115,7 +115,7 @@ describe('Create Item page - Fill in the gaps over image - dropdown: Student vie
115
115
  describe('Allow students to check answer: Edit tab', () => {
116
116
  abortEarlySetup();
117
117
  before(() => {
118
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
118
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
119
119
  cy.barsPreLoaderWait();
120
120
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
121
121
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -133,7 +133,7 @@ describe('Create Item page - Fill in the gaps over image - dropdown: Student vie
133
133
  describe('Allow students to check answer: Preview tab', () => {
134
134
  abortEarlySetup();
135
135
  before(() => {
136
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
136
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
137
137
  cy.barsPreLoaderWait();
138
138
  fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
139
139
  fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
@@ -10,7 +10,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Supporte
10
10
  describe('Supported file types functionality: device popup', () => {
11
11
  abortEarlySetup();
12
12
  before(() => {
13
- fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image - dropdown');
13
+ fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
14
14
  cy.barsPreLoaderWait();
15
15
  });
16
16
 
@@ -51,8 +51,8 @@ describe('Create item page - Fill in the gaps over image - text: Header section
51
51
  it('Validation error messages should be displayed below required input fields', () => {
52
52
  fillInTheGapsOverImageTextPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
53
53
  fillInTheGapsOverImageTextPage.steps.verifyPointsFieldErrorMessageIsNotDisplayed();
54
- utilities.verifyInnerText(utilities.getNthElement(fillInTheGapsOverImageTextPage.errorMessage(), 1), 'Error: Image is required.');
55
- utilities.verifyInnerText(utilities.getNthElement(fillInTheGapsOverImageTextPage.errorMessage(), 2), 'Error: Please insert a text container.');
54
+ utilities.verifyInnerText(utilities.getNthElement(fillInTheGapsOverImageTextPage.errorMessage(), 0), 'Error: Image is required.');
55
+ utilities.verifyInnerText(utilities.getNthElement(fillInTheGapsOverImageTextPage.errorMessage(), 1), 'Error: Please insert a text container.');
56
56
  });
57
57
 
58
58
  it('Validation error messages should disappear when required input fields are filled', () => {
@@ -253,7 +253,6 @@ describe('Fill In the gaps over image - text \'Correct response condition\' chec
253
253
  it('When only \'Ignore extra spaces\' and \'Ignore single letter mistake\' checkboxes are checked and user attempts the question with extra spaces in between the correct answer with single letter mistake then zero points should be awarded and when user clicks on \'Check answer\' button, red cross mark beside the response field and a status message with text \'Your answer is incorrect\' should be displayed', () => {
254
254
  fillInTheGapsOverImageTextPage.steps.switchToEditTab();
255
255
  fillInTheGapsOverImageTextPage.steps.checkConditionalCheckbox('Ignore single letter mistake');
256
- fillInTheGapsOverImageTextPage.steps.uncheckConditionalCheckbox('Case sensitive');
257
256
  fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
258
257
  fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flo wer is displayes' }]);
259
258
  fillInTheGapsOverImageTextPage.steps.verifyPreviewScore(0, 10);