itemengine-cypress-automation 1.0.213 → 1.0.214

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +8 -8
  2. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
  3. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +1 -1
  4. package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
  5. package/cypress/e2e/ILC/Graphing/Scoring/manuallyAndNonScoredScoring.js +1 -1
  6. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  7. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
  8. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  9. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +1 -1
  10. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +1 -0
  11. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -0
  12. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +1 -0
  13. package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +1 -0
  14. package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +1 -0
  15. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  16. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
  17. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  18. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
  19. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
  20. package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
  21. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +1 -1
  22. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +48 -48
  23. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +42 -42
  24. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +43 -43
  25. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
  26. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +8 -7
  27. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  28. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +8 -8
  29. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +8 -7
  30. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
  31. package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +12 -3
  32. package/cypress/pages/chartsLinePage.js +16 -0
  33. package/cypress/pages/matchingPage.js +1 -1
  34. package/package.json +1 -1
@@ -87,9 +87,9 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
87
87
  utilities.verifyElementVisibilityState(chartsLinePage.previewTabYAxisLabelButton(), 'visible');
88
88
  utilities.verifyInnerText(chartsLinePage.previewTabXAxisLabelButton(), 'Year');
89
89
  utilities.verifyElementVisibilityState(chartsLinePage.previewTabXAxisLabelButton(), 'visible');
90
- utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 0), 'Bar 1');
91
- utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 1), 'Bar 2');
92
- utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 2), 'Bar 3');
90
+ utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 0), 'Point 1');
91
+ utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 1), 'Point 2');
92
+ utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 2), 'Point 3');
93
93
  utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 3), '1');
94
94
  });
95
95
 
@@ -140,7 +140,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
140
140
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 2, value: 0, range: 20 });
141
141
  });
142
142
 
143
- chartsLinePage.tests.verifyPointTooltipContentsCSSAndA11yInPreviewTab('0', 'Bar 1');
143
+ chartsLinePage.tests.verifyPointTooltipContentsCSSAndA11yInPreviewTab('0', 'Point 1');
144
144
 
145
145
  it('User should be able to edit the point label', () => {
146
146
  chartsLinePage.steps.editPointLabelInPreviewTab(0, '2000');
@@ -380,7 +380,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
380
380
 
381
381
  it('When user clicks on a undo button, then the previously performed action should be reverted', () => {
382
382
  chartsLinePage.steps.clickOnUndoButtonPreviewTab();
383
- utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 0), 'Bar 1');
383
+ utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 0), 'Point 1');
384
384
  });
385
385
 
386
386
  it('When user has clicked on undo button, then the redo button should be enabled', () => {
@@ -571,9 +571,9 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
571
571
  utilities.verifyElementDisabled(chartsLinePage.previewTabToolsRedoButton());
572
572
  utilities.verifyElementVisibilityState(chartsLinePage.previewTabToolsResetButton(), 'visible');
573
573
  utilities.verifyElementDisabled(chartsLinePage.previewTabToolsResetButton());
574
- utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 0), 'Bar 1');
575
- utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 1), 'Bar 2');
576
- utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 2), 'Bar 3');
574
+ utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 0), 'Point 1');
575
+ utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 1), 'Point 2');
576
+ utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 2), 'Point 3');
577
577
  utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 3), '1');
578
578
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 0, value: 1, range: 10 });
579
579
  chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 1, value: 2, range: 10 });
@@ -64,7 +64,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
64
64
  graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
65
65
 
66
66
  //Correct/incorrect icon
67
- graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
67
+ graphingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
68
68
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
69
69
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
70
70
  graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -65,7 +65,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
65
65
  utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
66
66
 
67
67
  //Correct/incorrect icon
68
- graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
68
+ graphingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
69
69
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
70
70
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
71
71
  graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -65,7 +65,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
65
65
  utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
66
66
 
67
67
  //Correct/incorrect icon
68
- graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
68
+ graphingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
69
69
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
70
70
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
71
71
  graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -87,7 +87,7 @@ describe('Create Item page - Graphing: Manually and non scored', () => {
87
87
  utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
88
88
 
89
89
  //Correct/incorrect icon
90
- graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
90
+ graphingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
91
91
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
92
92
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
93
93
  graphingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -32,7 +32,7 @@ describe('Create item page - List ordering: All or nothing scoring with alternat
32
32
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(1);
33
33
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(2);
34
34
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(3);
35
- listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
35
+ listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
36
36
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['3', '4', '2', '1']);
37
37
  });
38
38
 
@@ -33,7 +33,7 @@ describe('Create Item page - List ordering: All or nothing scoring with alternat
33
33
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(2);
34
34
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(3);
35
35
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
36
- listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
36
+ listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
37
37
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
38
38
  });
39
39
 
@@ -35,7 +35,7 @@ describe('Create Item page - List ordering: All or nothing scoring with alternat
35
35
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(2);
36
36
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(3);
37
37
  utilities.verifyInnerText(listOrderingPage.correctAnswersLabel(), 'Correct answers');
38
- listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
38
+ listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
39
39
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
40
40
  listOrderingPage.steps.verifyCorrectOptionIconsDropdownLayoutCorrectAnswersSectionNotExists();
41
41
  });
@@ -75,7 +75,7 @@ describe('Create Item page - List ordering: Manually and non scored', () => {
75
75
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(1);
76
76
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(2);
77
77
  listOrderingPage.steps.verifyCorrectIncorrectOptionIconDropdownLayoutNotExists(3);
78
- listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
78
+ listOrderingPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
79
79
  listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
80
80
  });
81
81
 
@@ -27,6 +27,7 @@ describe('Create item page - Matching: All or nothing with grouped options layou
27
27
  matchingPage.steps.switchToGradingView();
28
28
  matchingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
29
29
  matchingPage.steps.verifyDropzoneNumeration();
30
+ utilities.verifyElementVisibilityState(matchingPage.correctIncorrectAnswerLabel(), 'notExist');
30
31
  utilities.verifyInnerText(matchingPage.correctAnswersLabel(), 'Correct answers');
31
32
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
32
33
  });
@@ -31,6 +31,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
31
31
  it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective dropzone numeration', () => {
32
32
  matchingPage.steps.switchToGradingView();
33
33
  matchingPage.steps.verifyDropzoneNumeration();
34
+ utilities.verifyElementVisibilityState(matchingPage.correctIncorrectAnswerLabel(), 'notExist');
34
35
  utilities.verifyInnerText(matchingPage.correctAnswersLabel(), 'Correct answers');
35
36
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
36
37
  });
@@ -31,6 +31,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
31
31
  it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective dropzone numeration', () => {
32
32
  matchingPage.steps.switchToGradingView();
33
33
  matchingPage.steps.verifyDropzoneNumeration();
34
+ utilities.verifyElementVisibilityState(matchingPage.correctIncorrectAnswerLabel(), 'notExist');
34
35
  utilities.verifyInnerText(matchingPage.correctAnswersLabel(), 'Correct answers');
35
36
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
36
37
  });
@@ -31,6 +31,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
31
31
  it('When the user selects \'Grading\' view without attempting the question, cell numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective dropzone numeration', () => {
32
32
  matchingPage.steps.switchToGradingView();
33
33
  matchingPage.steps.verifyDropzoneNumeration();
34
+ utilities.verifyElementVisibilityState(matchingPage.correctIncorrectAnswerLabel(), 'notExist');
34
35
  utilities.verifyInnerText(matchingPage.correctAnswersLabel(), 'Correct answers');
35
36
  matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
36
37
  });
@@ -58,6 +58,7 @@ describe('Create Item page - Matching: Manually and non scored', () => {
58
58
 
59
59
  it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed and the correct answer section should be displayed with correct answers', () => {
60
60
  matchingPage.steps.switchToGradingView();
61
+ utilities.verifyElementVisibilityState(matchingPage.correctIncorrectAnswerLabel(), 'notExist');
61
62
  matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
62
63
  matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
63
64
  matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
@@ -26,7 +26,7 @@ describe('Create item page - Multiple selection grid: All or nothing with altern
26
26
 
27
27
  it('When the user selects \'Grading\' view without attempting the question, a status message with text \'Your answer is incorrect\' should be displayed, correct answers section should be displayed with a preview of the entire grid with correct answers from the alternative accordion should be displayed', () => {
28
28
  multipleSelectionGridPage.steps.switchToGradingView();
29
- multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
29
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
30
30
  multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 2, column: 2 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 2 }]);
31
31
  });
32
32
 
@@ -26,7 +26,7 @@ describe('Create item page - Multiple selection grid: All or nothing with altern
26
26
 
27
27
  it('When the user selects \'Grading\' view without attempting the question, a status message with text \'Your answer is incorrect\' should be displayed, correct answers section should be displayed with a preview of the entire grid with correct answers from the correct accordion should be displayed', () => {
28
28
  multipleSelectionGridPage.steps.switchToGradingView();
29
- multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
29
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
30
30
  multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 1, column: 2 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 1 }, { row: 4, column: 2 }]);
31
31
  });
32
32
 
@@ -28,7 +28,7 @@ describe('Create item page - Multiple selection grid: All or nothing with altern
28
28
 
29
29
  it('When the user selects \'Grading\' view without attempting the question, a status message with text \'Your answer is incorrect\' should be displayed, correct answers section should be displayed with a preview of the entire grid with correct answers from the correct accordion should be displayed', () => {
30
30
  multipleSelectionGridPage.steps.switchToGradingView();
31
- multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
31
+ multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
32
32
  multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 1, column: 2 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 1 }, { row: 4, column: 2 }]);
33
33
  });
34
34
 
@@ -26,7 +26,7 @@ describe('Create item page - Single selection grid: All or nothing with alternat
26
26
 
27
27
  it('When the user selects \'Grading\' view without attempting the question, a status message with text \'Your answer is incorrect\' should be displayed, correct answers section should be displayed with a preview of the entire grid with correct answers from the alternative accordion should be displayed', () => {
28
28
  singleSelectionGridPage.steps.switchToGradingView();
29
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
29
+ singleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
30
30
  singleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 2 }, { row: 3, column: 2 }, { row: 4, column: 1 }]);
31
31
  });
32
32
 
@@ -28,7 +28,7 @@ describe('Create item page - Single selection grid: All or nothing with alternat
28
28
 
29
29
  it('When the user selects \'Grading\' view without attempting the question, a status message with text \'Your answer is incorrect\' should be displayed, correct answers section should be displayed with a preview of the entire grid with correct answers from the correct accordion should be displayed', () => {
30
30
  singleSelectionGridPage.steps.switchToGradingView();
31
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
31
+ singleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
32
32
  singleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
33
33
  });
34
34
 
@@ -28,7 +28,7 @@ describe('Create item page - Single selection grid: All or nothing with alternat
28
28
 
29
29
  it('When the user selects \'Grading\' view without attempting the question, a status message with text \'Your answer is incorrect\' should be displayed, correct answers section should be displayed with a preview of the entire grid with correct answers from the correct accordion should be displayed', () => {
30
30
  singleSelectionGridPage.steps.switchToGradingView();
31
- singleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
31
+ singleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
32
32
  singleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
33
33
  });
34
34
 
@@ -27,9 +27,9 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
27
27
 
28
28
  it('When the user sets correct answer responses and allots points, then the alloted points should be displayed in the preview tab', () => {
29
29
  chartsDotPlotPage.steps.switchToEditTab();
30
- chartsDotPlotPage.steps.allotPoints(20);
31
30
  chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(1, { point: 1, min: 1, interval: 1, defaultDots: 0 });
32
31
  chartsDotPlotPage.steps.lockDotColumn({ point: 1, min: 1, interval: 1 });
32
+ chartsDotPlotPage.steps.allotPoints(20);
33
33
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 5, min: 1, interval: 1, defaultDots: 0 });
34
34
  chartsDotPlotPage.steps.switchToPreviewTab();
35
35
  chartsDotPlotPage.steps.verifyPreviewScore(0, 20);
@@ -32,7 +32,7 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
32
32
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 2, min: 1, interval: 1, defaultDots: 0 });
33
33
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(3, { point: 3, min: 1, interval: 1, defaultDots: 0 });
34
34
  chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(5, { point: 5, min: 1, interval: 1, defaultDots: 0 });
35
- //chartsDotPlotPage.steps.checkAllowStudentToCheckAnswerCheckbox();
35
+ //chartsDotPlotPage.steps.checkAllowStudentToCheckAnswerCheckbox();
36
36
  chartsDotPlotPage.steps.switchToPreviewTab();
37
37
  });
38
38
 
@@ -40,16 +40,16 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
40
40
  chartsDotPlotPage.steps.switchToGradingView();
41
41
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
42
42
  chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
43
- chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1});
44
- chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 4, min: 1, interval: 1});
45
- chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 5, min: 1, interval: 1});
46
- chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 6, min: 1, interval: 1});
43
+ chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
44
+ chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
45
+ chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
46
+ chartsDotPlotPage.steps.verifyCorrectIncorrectIconIsNotDisplayedInDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
47
47
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
48
48
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
49
49
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
50
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1, defaultDots: 0 });
50
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
51
51
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
52
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
52
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
53
53
  chartsDotPlotPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
54
54
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
55
55
  /*cy.log('When the user selects check answer without attempting the question, then correct icon should be displayed for dot column set correctly by default and incorrect icon should be displayed for dot column set incorrectly by default and correct/incorrect status message should not be displayed');
@@ -74,8 +74,8 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
74
74
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
75
75
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
76
76
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
77
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 })
78
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
77
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1 })
78
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
79
79
  chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
80
80
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
81
81
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
@@ -101,9 +101,9 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
101
101
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
102
102
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
103
103
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
104
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
104
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
105
105
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 })
106
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
106
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
107
107
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
108
108
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
109
109
  /*cy.log('When the user has attempted the question with alternative accordion dot column and clicks on \'Check answer\' button, then correct icon should be displayed in responses from alternative accordion, a status message with text \'Your answer is correct\' and correct answer section should not be displayed')
@@ -124,18 +124,18 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
124
124
  chartsDotPlotPage.steps.verifyPreviewScore(0, 30);
125
125
  chartsDotPlotPage.steps.switchToGradingView();
126
126
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
127
- chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
127
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
128
128
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
129
- chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
130
- chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 });
131
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
129
+ chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
130
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 5, min: 1, interval: 1});
131
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
132
+ chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
132
133
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
133
134
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
134
135
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
135
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1, defaultDots: 0 });
136
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
136
137
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
137
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
138
- chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
138
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
139
139
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
140
140
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the responses from correct accordion, no icon/border should be displayed for unselected responses from correct accordion and a status message with text \'Your answer is incorrect\' should be displayed')
141
141
  chartsDotPlotPage.steps.checkAnswer();
@@ -157,16 +157,16 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
157
157
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
158
158
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
159
159
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
160
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
160
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
161
161
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 })
162
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
162
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
163
+ chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
163
164
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
164
165
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
165
166
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
166
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1, defaultDots: 0 });
167
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
167
168
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
168
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
169
- chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
169
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
170
170
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
171
171
  /*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the dot column from alternate accordion and incorrect icon should be displayed in dot column set incorrectly, a status message with text \'Your answer is incorrect\' should be displayed');
172
172
  chartsDotPlotPage.steps.checkAnswer();
@@ -188,16 +188,16 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
188
188
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
189
189
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1 });
190
190
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
191
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
191
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
192
192
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 })
193
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
193
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
194
+ chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
194
195
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
195
196
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
196
197
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
197
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1, defaultDots: 0 });
198
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
198
199
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
199
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
200
- chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
200
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
201
201
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
202
202
  /*cy.log('When the user has attempted the question with partially correct with all the dot column correct as per the alternative accordion but one dot column unselected and clicks on \'Check answer\' button, then correct icon should be displayed in the dot column from the correct accordion, incorrect icon should be displayed in the responses from the alternative accordion and a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed');
203
203
  chartsDotPlotPage.steps.checkAnswer();
@@ -221,14 +221,14 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
221
221
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
222
222
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
223
223
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
224
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
224
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
225
225
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
226
226
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
227
227
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
228
228
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
229
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
230
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1});
231
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
229
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
230
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
231
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
232
232
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
233
233
  /*cy.log('When the user attempts the question with more answers from the correct accordion than the alternate accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the alternate accordion responses, incorrect icons should be displayed on the correct accordion responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
234
234
  chartsDotPlotPage.steps.checkAnswer();
@@ -254,14 +254,14 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
254
254
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
255
255
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
256
256
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
257
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
257
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
258
258
  chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
259
259
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
260
260
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
261
261
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
262
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1, defaultDots: 0 });
263
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1});
264
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
262
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
263
+ chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
264
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
265
265
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
266
266
  /*cy.log('When the user attempts the question with more answers from the alternate accordion than the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the alternate accordion responses, incorrect icons should be displayed on the correct accordion responses, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
267
267
  chartsDotPlotPage.steps.checkAnswer();
@@ -286,14 +286,14 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
286
286
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1, defaultDots: 0 });
287
287
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
288
288
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 })
289
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
289
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
290
+ chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
290
291
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
291
292
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
292
293
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
293
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1, defaultDots: 0 });
294
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
294
295
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
295
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
296
- chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
296
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
297
297
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
298
298
  /*cy.log('When the user has attempted the question with equal number of correct responses from correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed in the dot column from correct answer accordion, incorrect icon should be displayed in the dot column from alternative answer accordion and a status message with text \'Your answer is incorrect\' should be displayed')
299
299
  chartsDotPlotPage.steps.checkAnswer();
@@ -315,16 +315,16 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
315
315
  chartsDotPlotPage.steps.verifyLockedDotColumnPreviewTab({ point: 1, min: 1, interval: 1 });
316
316
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 2, min: 1, interval: 1, defaultDots: 0 });
317
317
  chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 3, min: 1, interval: 1 });
318
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1, defaultDots: 0 });
318
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
319
319
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 })
320
- chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1, defaultDots: 0 });
320
+ chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
321
+ chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
321
322
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
322
323
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
323
324
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
324
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1, defaultDots: 0 });
325
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
325
326
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
326
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
327
- chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
327
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
328
328
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
329
329
  /*cy.log('When the user has attempted the question with common dot column between correct and alternative accordion and clicks on \'Check answer\' button, then correct icon should be in the attempted common dot column and incorrect icon should be displayed in dot column set incorrectly and a status message with text \'Your answer is incorrect\' should be displayed')
330
330
  chartsDotPlotPage.steps.checkAnswer();
@@ -350,13 +350,13 @@ describe('Create item page - Charts - Dot plot : All or nothing with alternative
350
350
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 4, min: 1, interval: 1 });
351
351
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1, defaultDots: 0 })
352
352
  chartsDotPlotPage.steps.verifyIncorrectDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
353
+ chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
353
354
  chartsDotPlotPage.steps.verifyLockedDotColumnCorrectAnswerSection({ point: 1, min: 1, interval: 1 });
354
355
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 2, min: 1, interval: 1 });
355
356
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 3, min: 1, interval: 1 });
356
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1, defaultDots: 0 });
357
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 4, min: 1, interval: 1 });
357
358
  chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 5, min: 1, interval: 1 });
358
- chartsDotPlotPage.steps.verifyCorrectDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1, defaultDots: 0 });
359
- chartsDotPlotPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
359
+ chartsDotPlotPage.steps.verifyEmptyDotColumnCorrectAnswerSection({ point: 6, min: 1, interval: 1 });
360
360
  chartsDotPlotPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
361
361
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed in incorrect responses and status message with text \'Your answer is incorrect\' should be displayed')
362
362
  chartsDotPlotPage.steps.checkAnswer();