itemengine-cypress-automation 1.0.205-8thJuneFixes-5ad148f.0 → 1.0.206-12thJuneFixesAndRepoUpdate-5fe2304.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. package/cypress/e2e/ILC/AudioPlayerNew/audioOverviewAndTranscript.js +2 -2
  2. package/cypress/e2e/ILC/ChartsBar/Scoring/addAndDeleteBarAllOrNothingScoring.js +302 -0
  3. package/cypress/e2e/ILC/ChartsBar/Scoring/manuallyAndNonScored.js +282 -0
  4. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +385 -0
  5. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +386 -0
  6. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +386 -0
  7. package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +337 -0
  8. package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -1
  9. package/cypress/e2e/ILC/ChartsBar/chartFunctionalitySpecifyCorrectAnswerSection.js +258 -0
  10. package/cypress/e2e/ILC/ChartsBar/checkAnswerFunctionalityForAllViews.smoke.js +1 -1
  11. package/cypress/e2e/ILC/ChartsBar/gridSettings.js +439 -0
  12. package/cypress/e2e/ILC/ChartsBar/headerSection.js +105 -0
  13. package/cypress/e2e/ILC/ChartsBar/labelOptionsSection.js +450 -0
  14. package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +91 -0
  15. package/cypress/e2e/ILC/ChartsBar/toolSettings.js +73 -0
  16. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/manuallyAndNonScoredScoring.js +1 -1
  17. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +3 -2
  18. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +1 -1
  19. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +1 -1
  20. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneMinimumAndPenaltyScoring.js +6 -6
  21. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +169 -0
  22. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +1 -1
  23. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationDraggableOptionProperties.js +223 -0
  24. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationDraggableOptionsPanel.js +119 -0
  25. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationDropzoneBorderStyleProperties.js +113 -0
  26. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationDropzoneProperties.js +251 -0
  27. package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +277 -0
  28. package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions1.smoke.js +0 -2
  29. package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +1 -5
  30. package/cypress/e2e/ILC/FeedbackScaleNew/editTabBasicSection.js +1 -0
  31. package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +4 -4
  32. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownOptionsSection.js +1 -0
  33. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +14 -1
  34. package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/styleAndLayoutCutomization.js +378 -0
  35. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +3 -3
  36. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/specifyCorrectAnswerSection.js +3 -1
  37. package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/styleAndLayoutCustomization.js +479 -0
  38. package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +3 -1
  39. package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsCellShadeCountBasics.js +7 -7
  40. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingPenaltyScoring.js +1 -0
  41. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +1 -0
  42. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -2
  43. package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +2 -3
  44. package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +7 -7
  45. package/cypress/e2e/ILC/ListOrderingDropdown/studentViewSettings.js +1 -1
  46. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +3 -4
  47. package/cypress/e2e/ILC/ListOrderingNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +10 -9
  48. package/cypress/e2e/ILC/Matching/toolSettings.js +1 -0
  49. package/cypress/e2e/ILC/MultipleSelection/additionalSettings.js +1 -0
  50. package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +36 -16
  51. package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +326 -176
  52. package/cypress/e2e/ILC/MultipleSelection/blockCreateItem.js +2 -2
  53. package/cypress/e2e/ILC/MultipleSelection/manuallyAndNonScoredScoring.js +37 -15
  54. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +38 -17
  55. package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +441 -186
  56. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsBasic.js +33 -14
  57. package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +330 -164
  58. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/manuallyAndNonScored.js +1 -1
  59. package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
  60. package/cypress/e2e/ILC/ShortTextResponseNew/manuallyAndNonScoredScoring.js +4 -4
  61. package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +20 -7
  62. package/cypress/e2e/ILC/SingleSelection/allOrNothingWithAlternativeAnswer.js +83 -66
  63. package/cypress/e2e/ILC/SingleSelection/blockCreateItem.js +2 -2
  64. package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +25 -17
  65. package/cypress/e2e/ILC/SingleSelection/trueOrFalseCreateItem.js +2 -2
  66. package/cypress/e2e/ILC/SingleSelectionGridNew/additionalSettings.js +89 -0
  67. package/cypress/e2e/ILC/SingleSelectionGridNew/editTabBasicSection.js +3 -3
  68. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +2 -2
  69. package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +2 -2
  70. package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +2 -2
  71. package/cypress/e2e/ILC/VideoResponseNew/studentViewSettingsCompactRecorderStyle.js +0 -2
  72. package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +2 -2
  73. package/cypress/e2e/ILC/chartsDotsPlot/scoring/allOrNothingPenaltyScoring.js +1 -1
  74. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsBasic.js +15 -15
  75. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +21 -21
  76. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +17 -17
  77. package/cypress/e2e/ILC/chartsDotsPlot/scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +21 -21
  78. package/cypress/e2e/ILC/chartsDotsPlot/scoring/toleranceThresholdScoring.js +1 -1
  79. package/cypress/e2e/ILC/chartsDotsPlot/selectChartTypeSection.js +8 -4
  80. package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +0 -1
  81. package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +2 -2
  82. package/cypress/pages/audioResponsePage.js +1 -1
  83. package/cypress/pages/chartsBarPage.js +785 -5
  84. package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +1 -0
  85. package/cypress/pages/components/backgroundImageUploadComponent.js +1 -1
  86. package/cypress/pages/components/barAndLineChartComponent.js +180 -9
  87. package/cypress/pages/components/chartsCommonComponent.js +1 -0
  88. package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +77 -0
  89. package/cypress/pages/components/essayResponseCommonComponents.js +2 -3
  90. package/cypress/pages/components/figCommonStyleAndLayoutComponent.js +1 -1
  91. package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +24 -7
  92. package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +8 -4
  93. package/cypress/pages/components/gridQuestionCommonComponent.js +1 -1
  94. package/cypress/pages/components/imageCanvasComponent.js +112 -2
  95. package/cypress/pages/components/index.js +1 -0
  96. package/cypress/pages/components/layoutSectionComponent.js +4 -3
  97. package/cypress/pages/dragAndDropIntoCategoriesPage.js +960 -3
  98. package/cypress/pages/drawingResponsePage.js +2 -2
  99. package/cypress/pages/fillInTheGapsDragAndDropPage.js +4 -3
  100. package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +18 -3
  101. package/cypress/pages/fillInTheGapsOverImageTextPage.js +65 -3
  102. package/cypress/pages/listOrderingPage.js +3 -3
  103. package/cypress/pages/multipleSelectionPage.js +77 -25
  104. package/cypress/pages/rulerPage.js +5 -0
  105. package/cypress/pages/singleSelectionPage.js +40 -1
  106. package/cypress/pages/videoResponsePage.js +1 -1
  107. package/package.json +1 -1
@@ -21,26 +21,38 @@ describe('Create Item page - Multiple selection: Partial equal weights ', () =>
21
21
  multipleSelectionPage.steps.switchToPreviewTab();
22
22
  });
23
23
 
24
- it('When the user selects \'Grading\' view without attempting the question, correct icons should be displayed besides correct answer options, correct answer label and border should not be displayed', () => {
24
+ it('When the user selects \'Grading\' view without attempting the question, no icons should be displayed besides unattempted options, correct answer label and border should not be displayed and correct answer should be displayed in correct answer section', () => {
25
25
  multipleSelectionPage.steps.switchToGradingView();
26
- multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(0);
27
- multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(1);
26
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
27
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
28
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
29
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
28
30
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
29
31
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
30
- multipleSelectionPage.steps.switchToStudentView();
32
+ //correct answer section
33
+ multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
34
+ multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
35
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
36
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
37
+ multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
31
38
  });
32
39
 
33
- it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, correct icons should be displayed besides correct options, incorrect answer label and border should not be displayed', () => {
40
+ it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, no icons should be displayed besides unattempted options, incorrect answer label and border should not be displayed and correct answer should be displayed in correct answer section', () => {
34
41
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
35
42
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
36
43
  multipleSelectionPage.steps.verifyPreviewScore(0, 20);
37
44
  multipleSelectionPage.steps.switchToGradingView();
38
- multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(0);
39
- multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(1);
40
- multipleSelectionPage.steps.verifyIncorrectOptionIconGradingView(2);
41
- multipleSelectionPage.steps.verifyIncorrectOptionIconGradingView(3);
45
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(0);
46
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
47
+ multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(2);
48
+ multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(3);
42
49
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
43
50
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
51
+ //correct answer section
52
+ multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
53
+ multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
54
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
55
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
44
56
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
45
57
  /*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should only be displayed besides incorrect responses, correct icons should not be displayed besides unattempted correct options, incorrect answer label and border should not be displayed')
46
58
  multipleSelectionPage.steps.checkAnswer();
@@ -52,17 +64,23 @@ describe('Create Item page - Multiple selection: Partial equal weights ', () =>
52
64
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();*/
53
65
  });
54
66
 
55
- it('When the user attempts the question partially correct, 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 the correct responses and unattempted correct options, incorrect icons should be displayed beside the incorrect responses, correct/incorrect answer label and border should not be displayed', () => {
67
+ it('When the user attempts the question partially correct, 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 the correct responses and no icons should be displayed besides unattempted options, incorrect icons should be displayed beside the incorrect responses, correct/incorrect answer label and border should not be displayed and correct answer should be displayed in correct answer section', () => {
56
68
  multipleSelectionPage.steps.resetQuestionPreview();
57
69
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
58
70
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
59
71
  multipleSelectionPage.steps.verifyPreviewScore(10, 20);
60
72
  multipleSelectionPage.steps.switchToGradingView();
61
- multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(0);
62
- multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(1);
63
- multipleSelectionPage.steps.verifyIncorrectOptionIconGradingView(2);
73
+ multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(0);
74
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
75
+ multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(2);
76
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
64
77
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
65
78
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
79
+ //correct answer section
80
+ multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
81
+ multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
82
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
83
+ multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
66
84
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
67
85
  /*cy.log('When the user has attempted the question with partially correct responses and clicks on \'Check answer\' button, then correct icons should only be displayed besides correct responses, correct icons should not be displayed besides unattempted correct options, incorrect icon should be displayed besides the incorrect responses, correct/incorrect answer label and border should not be displayed')
68
86
  multipleSelectionPage.steps.checkAnswer();
@@ -73,7 +91,7 @@ describe('Create Item page - Multiple selection: Partial equal weights ', () =>
73
91
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();*/
74
92
  });
75
93
 
76
- it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct answer label and border should not be displayed', () => {
94
+ it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct answer label and border should not be displayed and correct answer section should not be displayed', () => {
77
95
  multipleSelectionPage.steps.resetQuestionPreview();
78
96
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(0);
79
97
  multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(1);
@@ -83,6 +101,7 @@ describe('Create Item page - Multiple selection: Partial equal weights ', () =>
83
101
  multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(1);
84
102
  multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
85
103
  multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotVisible();
104
+ multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
86
105
  multipleSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
87
106
  /*cy.log('When the user has attempted the question question correctly and clicks on \'Check answer\' button, then correct icons should be displayed besides correct responses, correct answer label and border should not be displayed')
88
107
  multipleSelectionPage.steps.checkAnswer();