itemengine-cypress-automation 1.0.354 → 1.0.356-multiple-selection-r1-fd7602e.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +1 -1
  2. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +2 -1
  3. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +1 -1
  4. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +6 -3
  5. package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +1 -1
  6. package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +5 -3
  7. package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
  8. package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
  9. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +1 -1
  10. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +6 -3
  11. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +6 -4
  12. package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +5 -5
  13. package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +4 -2
  14. package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +1 -1
  15. package/cypress/e2e/ILC/SingleSelection/headerSection.js +1 -0
  16. package/cypress/pages/brainingCampManipulativePage.js +1 -1
  17. package/cypress/pages/components/gridQuestionCommonComponent.js +2 -0
  18. package/cypress/pages/components/scoringSectionBaseEditTab.js +1 -0
  19. package/cypress/pages/multipleSelectionPage.js +1 -1
  20. package/package.json +2 -2
@@ -33,7 +33,7 @@ describe('Edit item - Charts -Line', () => {
33
33
 
34
34
  it('User should be able to edit correct answer and save the question', () => {
35
35
  chartsLinePage.steps.editItem();
36
- chartsLinePage.steps.setPointValueInSpecifyCorrectAnswerSection({pointIndex: 0, value: 3, range: 10 });
36
+ chartsLinePage.steps.setPointValueInSpecifyCorrectAnswerSection({pointIndex: 0, value: 2, range: 10 });
37
37
  chartsLinePage.steps.setPointValueInSpecifyCorrectAnswerSection({pointIndex: 1, value: 6, range: 10 });
38
38
  chartsLinePage.steps.saveAQuestionAndVerifySnackbar();
39
39
  });
@@ -202,7 +202,8 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
202
202
  drawingResponsePage.steps.verifyInsertImageContainerNotExist();
203
203
  });
204
204
 
205
- it(`User should be able to attach multiple files at once among the supported file types`, () => {
205
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5743
206
+ it.skip(`User should be able to attach multiple files at once among the supported file types`, () => {
206
207
  drawingResponsePage.steps.resetQuestionPreview();
207
208
  drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
208
209
  drawingResponsePage.steps.uploadFile(['uploads/sample.jpg', 'uploads/sample.gif']);
@@ -370,7 +370,7 @@ describe('Create item page - Fill in the gaps: Question instructions, Options se
370
370
  fillInTheGapsOverImageTextPage.tests.verifyImageAlternativeTextEditTabFunctionality();
371
371
  });
372
372
 
373
- describe.only('Canvas width, Canvas height, Image alternative text - Preview tab functionality', () => {
373
+ describe('Canvas width, Canvas height, Image alternative text - Preview tab functionality', () => {
374
374
  abortEarlySetup();
375
375
  before(() => {
376
376
  fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image with text');
@@ -153,7 +153,8 @@ describe('Create item page - Multiple selection: All or nothing with alternative
153
153
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
154
154
  });
155
155
 
156
- it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted correct options, incorrect icon should be displayed besides the incorrect responses and status message \'Your answer is incorrect\' should be displayed below the question preview and correct responses from correct accordion should be displayed in correct answer section', () => {
156
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
157
+ it.skip('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted correct options, incorrect icon should be displayed besides the incorrect responses and status message \'Your answer is incorrect\' should be displayed below the question preview and correct responses from correct accordion should be displayed in correct answer section', () => {
157
158
  multipleSelectionPage.steps.resetQuestionPreview();
158
159
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
159
160
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -404,7 +405,8 @@ describe('Create item page - Multiple selection: All or nothing with alternative
404
405
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');*/
405
406
  });
406
407
 
407
- it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct answer from alternative accordion should be displayed in correct answer section', () => {
408
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
409
+ it.skip('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct answer from alternative accordion should be displayed in correct answer section', () => {
408
410
  multipleSelectionPage.steps.resetQuestionPreview();
409
411
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
410
412
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -675,7 +677,8 @@ describe('Create item page - Multiple selection: All or nothing with alternative
675
677
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');*/
676
678
  });
677
679
 
678
- it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct answer from correct accordion should be displayed in correct answer section', () => {
680
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
681
+ it.skip('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded with 0 points and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, and status message \'Your answer is incorrect\' should be displayed below the question preview and correct answer from correct accordion should be displayed in correct answer section', () => {
679
682
  multipleSelectionPage.steps.resetQuestionPreview();
680
683
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
681
684
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -52,7 +52,7 @@ describe('Create Item page - Multiple selection', () => {
52
52
  });
53
53
 
54
54
  it('In Preview tab, when user switches to grading view then banner and correct Answer should be displayed', () => {
55
- multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
55
+ multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
56
56
  multipleSelectionPage.steps.switchToGradingView();
57
57
  multipleSelectionPage.steps.verifyAnswerBannerExist();
58
58
  multipleSelectionPage.steps.verifyCorrectAnswerSectionExist();
@@ -103,8 +103,9 @@ describe('Create item page - Multiple selection: Scoring section', () => {
103
103
 
104
104
  it('When the user unchecks a correct option in the specify correct answer section, then points per response should get updated accordingly', () => {
105
105
  multipleSelectionPage.steps.uncheckOptionsCheckboxInSpecifyCorrectAnswerSection(2);
106
- multipleSelectionPage.steps.verifyPartialEqualWeightsPointsPerResponseScore(0, '2');
107
- multipleSelectionPage.steps.verifyPartialEqualWeightsPointsPerResponseScore(1, '2');
106
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5714
107
+ // multipleSelectionPage.steps.verifyPartialEqualWeightsPointsPerResponseScore(0, '2');
108
+ // multipleSelectionPage.steps.verifyPartialEqualWeightsPointsPerResponseScore(1, '2');
108
109
  multipleSelectionPage.steps.verifyPartialEqualWeightsPointsPerResponseScore(2, '-');
109
110
  });
110
111
 
@@ -112,7 +113,8 @@ describe('Create item page - Multiple selection: Scoring section', () => {
112
113
  multipleSelectionPage.steps.selectAutoScoredScoringSubtype('All or nothing');
113
114
  utilities.verifyElementVisibilityState(multipleSelectionPage.pointsPerResponseLabel(), 'notExist');
114
115
  utilities.verifyElementVisibilityState(multipleSelectionPage.partialEqualWeightsPointsPerResponseScore(), 'notExist');
115
- multipleSelectionPage.steps.verifyPointsFieldValue(4);
116
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5714
117
+ // multipleSelectionPage.steps.verifyPointsFieldValue(4);
116
118
  });
117
119
 
118
120
  //https://redmine.zeuslearning.com/issues/566929
@@ -41,6 +41,7 @@ describe('Create item page - Multiple selection: Header section and Saving quest
41
41
  before(() => {
42
42
  multipleSelectionPage.steps.navigateToCreateQuestion('multiple selection');
43
43
  cy.barsPreLoaderWait();
44
+ utilities.verifyElementCount(multipleSelectionPage.optionsInputField(), 4);
44
45
  });
45
46
 
46
47
  describe('Validation error messages', () => {
@@ -46,7 +46,7 @@ describe('Create item page - Multiple selection: Minimum scoring, Penalty scorin
46
46
 
47
47
  it('When the user selects \'Penalty points for each incorrect option\' from the penalty scoring dropdown, \'Automatically set penalty for each incorrect option to total points / no. of incorrect options\' label and checkbox should be displayed, by default the checkbox should be unchecked. Two radio buttons with labels - \'Specify total penalty points\' and \'Specify points for each incorrect option\' should be displayed. By default, \'Specify total penalty points\' radio button should be checked', () => {
48
48
  multipleSelectionPage.steps.expandPenaltyScoringDropdown();
49
- multipleSelectionPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for each incorrect option');
49
+ multipleSelectionPage.steps.selectOptionFromPenaltyScoringDropdown('penalty points for each incorrect option');
50
50
  utilities.verifyInnerText(multipleSelectionPage.automaticallySetPenaltyPointsCheckboxLabel(), 'Automatically set penalty for each incorrect option to total points / no. of incorrect options');
51
51
  multipleSelectionPage.steps.verifyAutomaticallySetPenaltyPointsCheckboxUncheckedState();
52
52
  multipleSelectionPage.steps.verifySpecifyTotalPenaltyPointsRadioButtonCheckedState();
@@ -231,7 +231,7 @@ describe('Create Item page - Multiple selection: Partial - different weights ',
231
231
  //Penalty points for each incorrect option - Specify total penalty points
232
232
  it('When the user sets penalty scoring to \'Penalty points for each incorrect option\', and \'Specify total penalty points\' radio button in checked state, allots total penalty points and attempts the question incorrectly, then the user should be awarded with negative points', () => {
233
233
  multipleSelectionPage.steps.expandPenaltyScoringDropdown();
234
- multipleSelectionPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for each incorrect option');
234
+ multipleSelectionPage.steps.selectOptionFromPenaltyScoringDropdown('penalty points for each incorrect option');
235
235
  multipleSelectionPage.steps.allotTotalPenaltyPoints(4);
236
236
  multipleSelectionPage.steps.switchToPreviewTab();
237
237
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
@@ -215,7 +215,8 @@ describe('Create item page - Multiple selection: Partial different weights with
215
215
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
216
216
  });
217
217
 
218
- it('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case alternative accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion answer , no icons should be displayed besides unattempted options, incorrect icon should be displayed besides correct accordion answer responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
218
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
219
+ it.skip('When the user attempts the question with equal number of correct responses from correct accordion and alternative accordion, then user should be awarded with points of the response having more points i.e. in this case alternative accordion\'s response and on switching to \'Grading\' view, correct icon should be displayed besides alternative accordion answer , no icons should be displayed besides unattempted options, incorrect icon should be displayed besides correct accordion answer responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
219
220
  multipleSelectionPage.steps.resetQuestionPreview();
220
221
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
221
222
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
@@ -517,7 +518,8 @@ describe('Create item page - Multiple selection: Partial different weights with
517
518
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
518
519
  });
519
520
 
520
- it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from alternative accordion', () => {
521
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
522
+ it.skip('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from alternative accordion', () => {
521
523
  multipleSelectionPage.steps.resetQuestionPreview();
522
524
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
523
525
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -830,7 +832,8 @@ describe('Create item page - Multiple selection: Partial different weights with
830
832
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
831
833
  });
832
834
 
833
- it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
835
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
836
+ it.skip('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses and no icons should be displayed besides unattempted options, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer section should be displayed with responses from correct accordion', () => {
834
837
  multipleSelectionPage.steps.resetQuestionPreview();
835
838
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
836
839
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -138,8 +138,8 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
138
138
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
139
139
  });
140
140
 
141
- //Failing due to: https://redmine.zeuslearning.com/issues/554783
142
- it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
141
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
142
+ it.skip('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
143
143
  multipleSelectionPage.steps.resetQuestionPreview();
144
144
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
145
145
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -424,7 +424,8 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
424
424
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
425
425
  });
426
426
 
427
- it('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from alternative accordion should be displayed in correct answer section', () => {
427
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
428
+ it.skip('When the user attempts the question with partially correct responses exclusively from the correct accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should only be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from alternative accordion should be displayed in correct answer section', () => {
428
429
  multipleSelectionPage.steps.resetQuestionPreview();
429
430
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
430
431
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -749,7 +750,8 @@ describe('Create item page - Multiple selection: Partial equal weights with alte
749
750
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();*/
750
751
  });
751
752
 
752
- it('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
753
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5710
754
+ it.skip('When the user attempts the question with partially correct responses exclusively from the alternative accordion, then the user should be awarded points as per the correctly attempted response and on switching to \'Grading\' view, correct icons should be displayed besides correct responses, no icons should be displayed besides unattempted responses, incorrect icon should be displayed besides the incorrect responses, incorrect answer label and border should not be displayed and correct answer from correct accordion should be displayed in correct answer section', () => {
753
755
  multipleSelectionPage.steps.resetQuestionPreview();
754
756
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(4);
755
757
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(5);
@@ -187,18 +187,18 @@ describe('Create item page - Multiple selection grid: Scoring section', () => {
187
187
  multipleSelectionGridPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEmpty();
188
188
  });
189
189
 
190
- it('When the user has not set any answer in the specify correct answer section, then the \'Points\' input field should be enabled', () => {
190
+ it('When the user has not set any answer in the specify correct answer section, then the \'Points\' input field should be disabled', () => {
191
191
  for (let index = 0; index < 4; index++) {
192
- multipleSelectionGridPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEnabled(index);
192
+ multipleSelectionGridPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsDisabled(index);
193
193
  };
194
194
  });
195
195
 
196
- it('When the user sets answers in the specify correct answer section, then \'Points\' input field for the selected correct options should get enabled and the other unselected options should also be in enabled state', () => {
196
+ it('When the user sets answers in the specify correct answer section, then \'Points\' input field for the selected correct options should get enabled and the other unselected options should be in disabled state', () => {
197
197
  multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSpecifyCorrectAnswerSection([{ row: 1, column: 0 }, { row: 2, column: 1 }]);
198
198
  multipleSelectionGridPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEnabled(0);
199
199
  multipleSelectionGridPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEnabled(1);
200
- multipleSelectionGridPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEnabled(2);
201
- multipleSelectionGridPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsEnabled(3);
200
+ multipleSelectionGridPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsDisabled(2);
201
+ multipleSelectionGridPage.steps.verifyPartialDifferentWeightsPointsInputFieldIsDisabled(3);
202
202
  });
203
203
 
204
204
  it('User should be able to set points in the \'Points\' input fields', () => {
@@ -65,7 +65,8 @@ describe('Multiple selection grid - Additional settings', () => {
65
65
  multipleSelectionGridPage.tests.verifyCellMinimumHeightFunctionalityPreviewTab();
66
66
  });
67
67
 
68
- describe('Style and Layout customization accordion: Column dimensions edit tab contents and functionality', () => {
68
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5741
69
+ describe.skip('Style and Layout customization accordion: Column dimensions edit tab contents and functionality', () => {
69
70
  abortEarlySetup();
70
71
  before(() => {
71
72
  multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
@@ -76,7 +77,8 @@ describe('Multiple selection grid - Additional settings', () => {
76
77
  multipleSelectionGridPage.tests.verifyColumnDimensionsContentsAndFunctionalityPreviewTab();
77
78
  });
78
79
 
79
- describe('Style and Layout customization accordion: Column dimensions preview tab functionality', () => {
80
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-5741
81
+ describe.skip('Style and Layout customization accordion: Column dimensions preview tab functionality', () => {
80
82
  abortEarlySetup();
81
83
  before(() => {
82
84
  multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
@@ -52,7 +52,7 @@ describe('Create Item page - Single selection', () => {
52
52
  });
53
53
 
54
54
  it('In Preview tab, when user switches to grading view then banner and correct Answer should be displayed', () => {
55
- singleSelectionPage.steps.checkOptionInPreviewTab(1);
55
+ singleSelectionPage.steps.checkOptionInPreviewTab(2);
56
56
  singleSelectionPage.steps.switchToGradingView();
57
57
  singleSelectionPage.steps.verifyAnswerBannerExist();
58
58
  singleSelectionPage.steps.verifyCorrectAnswerSectionExist();
@@ -42,6 +42,7 @@ describe('Create Item page - Single Selection: Header section and Saving questio
42
42
  before(() => {
43
43
  singleSelectionPage.steps.navigateToCreateQuestion('single selection');
44
44
  cy.barsPreLoaderWait();
45
+ utilities.verifyElementCount(singleSelectionPage.optionsInputField(), 4);
45
46
  });
46
47
 
47
48
  describe('Validation error messages', () => {
@@ -20,7 +20,7 @@ const selectors = {
20
20
  selectAManipulativeLabel: () => cy.get('[class*="SelectManipulativeWrapper"] [class*="BrainingcampManipulativestyle__WrapperSubHeader"]'),
21
21
  enterAShareCodeLabel: () => cy.get('[class*="EnterShareCodeWrapper"] [class*="BrainingcampManipulativestyle__WrapperSubHeader"]'),
22
22
  enterAShareCodeInputField: () => cy.get('[class*="EnterShareCodeWrapper"] input'),
23
- previewTabCanvas: () => cy.get('.canvas'),
23
+ previewTabCanvas: () => cy.get('.bcm-inner'),
24
24
  }
25
25
 
26
26
  const steps = {
@@ -2715,6 +2715,8 @@ const tests = {
2715
2715
  it(`When user selects 'Column dimensions' ${option} option then ${option} spacing should be displayed between the columns`, () => {
2716
2716
  gridQuestionCommonComponent.steps.expandColumnDimensionsDropdown();
2717
2717
  gridQuestionCommonComponent.steps.selectColumnDimensionsDropdownOption(option);
2718
+ utilities.verifyInnerText(gridQuestionCommonComponent.columnDimensionsDropdown(), option);
2719
+ utilities.verifyElementVisibilityState(gridQuestionCommonComponent.columnDimensionsDropdown(), 'visible');
2718
2720
  gridQuestionCommonComponent.steps.verifyColumnDimensionsSpecifyCorrectAnswer(option);
2719
2721
  });
2720
2722
  });
@@ -161,6 +161,7 @@ const steps = {
161
161
  scoringSectionBaseEditTab.minimumScoringDropdown()
162
162
  .click();
163
163
  cy.wait(1500);
164
+ utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'exist');
164
165
  },
165
166
 
166
167
  /**
@@ -855,7 +855,7 @@ const steps = {
855
855
 
856
856
  verifyCorrectAnswerSectionExist: () => {
857
857
  multipleSelectionPage.correctAnswerSectionWrapper()
858
- .should('not.exist');
858
+ .should('exist');
859
859
  },
860
860
 
861
861
  verifyAnswerBannerNotExist: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.354",
3
+ "version": "1.0.356-multiple-selection-r1-fd7602e.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -52,4 +52,4 @@
52
52
  "devDependencies": {
53
53
  "@applitools/eyes-cypress": "^3.47.0"
54
54
  }
55
- }
55
+ }