itemengine-cypress-automation 1.0.194-packageUpdate1-2424cfe.0 → 1.0.194
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioPlayerNew/audioOverviewAndTranscript.js +6 -6
- package/cypress/e2e/ILC/AudioPlayerNew/barAudioPlayerStyle.js +4 -4
- package/cypress/e2e/ILC/AudioPlayerNew/compactAudioPlayerStyle.js +4 -4
- package/cypress/e2e/ILC/AudioPlayerNew/customizePlayerLayoutSettings.js +27 -12
- package/cypress/e2e/ILC/AudioPlayerNew/standardAudioPlayerStyle.js +7 -7
- package/cypress/e2e/ILC/AudioPlayerNew/uploadAndAddAudioFile.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/customizePlaybackControls.js +2 -2
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +9 -8
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +7 -7
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +2 -2
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +2 -2
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +11 -9
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -1
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions1.smoke.js +1 -0
- package/cypress/e2e/ILC/EssayResponse/previewHyperlink.js +1 -1
- package/cypress/e2e/ILC/FeedbackScaleNew/numbersFeedbackScaleStyle.js +2 -2
- package/cypress/e2e/ILC/FeedbackScaleNew/textFeedbackScaleStyle.js +4 -6
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownSettings.js +3 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +11 -11
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/clickAndDrop.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/responseLevelAlternateAnswersBasicScoring.js +6 -4
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -3
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +2 -1
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +2 -1
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +2 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +2 -1
- package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +2 -1
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -3
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -3
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +4 -3
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +6 -5
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +6 -5
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +2 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/manuallyAndNonScored.js +2 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -2
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +3 -2
- package/cypress/e2e/ILC/ListOrderingDropdown/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/Matching/additionalSettings.js +4 -4
- package/cypress/e2e/ILC/Matching/draggableOptions.js +1 -1
- package/cypress/e2e/ILC/Matching/specifyCorrectAnswerSection.js +1 -1
- package/cypress/e2e/ILC/Matching/studentViewSettings.js +3 -3
- package/cypress/e2e/ILC/Matching/studentViewSettingsForGroupedLayout.js +4 -4
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +0 -4
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +78 -86
- package/cypress/e2e/ILC/MultipleSelection/checkAnswerFunctionalityForAllViews.smoke.js +1 -6
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +12 -12
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +9 -5
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -2
- package/cypress/e2e/ILC/NumberLine/toolsAndControls.js +9 -21
- package/cypress/e2e/ILC/NumberLineLabel/editTabBasicSection.js +6 -5
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/numberLineSection.js +2 -2
- package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +5 -5
- package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +2 -2
- package/cypress/e2e/ILC/Ruler/rulerHeaderSection.js +12 -21
- package/cypress/e2e/ILC/ShortTextResponseNew/responseAnswersAndAcceptedStudentInput.js +13 -13
- package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +7 -7
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +5 -4
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +1 -1
- package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +30 -30
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +2 -2
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/manuallyAndNonScored.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/headerSection.js +0 -2
- package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +9 -9
- package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +4 -5
- package/cypress/e2e/ILC/UploadResponse/studentViewSettingsSection.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +19 -19
- package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControlsCompactRecorderStyle.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControlsStandardRecorderStyle.js +8 -8
- package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +2 -2
- package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosFourFunctionCalculatorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosGraphingCalculatorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosMatrixCalculatorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosScientificCalculatorEditTabBasicSection.js +6 -6
- package/cypress/e2e/ThirdPartyQuestions/Desmos/desmosScientificCalculatorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ThirdPartyQuestions/DesmosGraphing/additionalSettings.js +5 -7
- package/cypress/e2e/ThirdPartyQuestions/DesmosGraphing/studentViewSettings.js +6 -33
- package/cypress/e2e/ThirdPartyQuestions/GeoGebra/3DGraphingCalculatorEditTabBasicSection.js +3 -3
- package/cypress/e2e/ThirdPartyQuestions/GeoGebra/3DGraphingCalculatorPreviewTabContents.smoke.js +2 -2
- package/cypress/e2e/ThirdPartyQuestions/GeoGebra/casCalculatorEditTabBasicSection.js +3 -3
- package/cypress/e2e/ThirdPartyQuestions/GeoGebra/casCalculatorPreviewTabContents.smoke.js +1 -1
- package/cypress/e2e/ThirdPartyQuestions/GeoGebra/geometryCalculatorEditTabBasicSection.js +4 -4
- package/cypress/e2e/ThirdPartyQuestions/GeoGebra/geometryCalculatorPreviewTabContents.smoke.js +2 -2
- package/cypress/e2e/ThirdPartyQuestions/GeoGebra/graphingCalculatorEditTabBasicSection.js +3 -3
- package/cypress/e2e/ThirdPartyQuestions/GeoGebra/graphingCalculatorPreviewTabContents.smoke.js +2 -2
- package/cypress/e2e/ThirdPartyQuestions/GeoGebra/probablityCalculatorEditTabBasicSection.js +3 -3
- package/cypress/e2e/ThirdPartyQuestions/GeoGebra/probablityCalculatorPreviewTabContents.smoke.js +1 -1
- package/cypress/e2e/ThirdPartyQuestions/GeoGebra/scientificCalculatorEditTabBasicSection.js +3 -3
- package/cypress/e2e/ThirdPartyQuestions/GeoGebra/scientificCalculatorPreviewTabContents.smoke.js +2 -2
- package/cypress/e2e/ThirdPartyQuestions/GeogebraActivity/additionalSettings.js +4 -4
- package/cypress/e2e/ThirdPartyQuestions/GeogebraActivity/headerSection.js +0 -2
- package/cypress/e2e/ThirdPartyQuestions/GeogebraActivity/insertResourceLink.js +1 -1
- package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +1 -1
- package/cypress/fixtures/theme/ilc.json +8 -2
- package/cypress/fixtures/uploads/sample1.txt +4 -0
- package/cypress/fixtures/uploads/sample2.txt +13 -0
- package/cypress/fixtures/uploads/sample300kb.txt +1 -0
- package/cypress/pages/audioPlayerPage.js +3 -2
- package/cypress/pages/chartsLinePage.js +2 -1
- package/cypress/pages/components/ariaLabelSectionComponent.js +1 -0
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +2 -2
- package/cypress/pages/components/colorPopupComponent.js +1 -1
- package/cypress/pages/components/draggableOptionContainer.js +2 -2
- package/cypress/pages/components/editCategoryFlyout.js +26 -17
- package/cypress/pages/components/enableOuterBorderComponent.js +5 -5
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +2 -1
- package/cypress/pages/components/imageCanvasComponent.js +14 -8
- package/cypress/pages/components/layoutSectionComponent.js +1 -1
- package/cypress/pages/components/maximumCapacityPerDropzoneComponent.js +1 -1
- package/cypress/pages/components/numberLineCommonComponent.js +2 -2
- package/cypress/pages/components/questionInputFieldComponent.js +1 -1
- package/cypress/pages/components/specifyRowsAndColumnsComponent.js +1 -0
- package/cypress/pages/desmosGraphingPage.js +1 -1
- package/cypress/pages/desmosToolPage.js +16 -4
- package/cypress/pages/drawingResponsePage.js +3 -3
- package/cypress/pages/essayResponsePage.js +1 -0
- package/cypress/pages/feedbackScalePage.js +13 -3
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +19 -11
- package/cypress/pages/geoGebraActivityPage.js +12 -3
- package/cypress/pages/geoGebraToolsPage.js +1 -1
- package/cypress/pages/graphingPage.js +7 -8
- package/cypress/pages/matchingPage.js +8 -12
- package/cypress/pages/multipleSelectionPage.js +35 -1
- package/cypress/pages/numberLineLabelPage.js +1 -1
- package/cypress/pages/numberLinePage.js +36 -8
- package/cypress/pages/rulerPage.js +0 -6
- package/cypress/pages/selectQuestionResourceToolPage.js +0 -4
- package/cypress/pages/singleSelectionPage.js +1 -2
- package/cypress/pages/uploadResponsePage.js +2 -2
- package/cypress/pages/videoResponsePage.js +11 -11
- package/package.json +1 -1
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +0 -366
- package/cypress/e2e/ILC/UploadResponse/uploadResponseAdditionalSettings.js +0 -41
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingForAllViews.smoke.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingGroupedScoring.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/manuallyAndNonScored.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsBasic.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsBasic.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +0 -0
- /package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/{FillInTheGapsOverImageDragAndDropScoring → Scoring}/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +0 -0
- /package/cypress/e2e/ILC/UploadResponse/{uploadResponseEditTabBasicSections.js → editTabBasicSection.js} +0 -0
- /package/cypress/e2e/ILC/UploadResponse/{uploadResponseHeaderSection.js → headerSection.js} +0 -0
- /package/cypress/e2e/ILC/UploadResponse/{uplodResponsePreviewUploadedFileProperties.js → uploadedFileProperties.js} +0 -0
@@ -116,20 +116,20 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
116
116
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
117
117
|
});
|
118
118
|
|
119
|
-
it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded points of the correctly attempted responses and on switching to \'Grading\' view, green check-mark should be displayed besides the response from the correct accordion
|
119
|
+
it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded points of the correctly attempted responses and on switching to \'Grading\' view, green check-mark should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section with all correct answers from the correct accordion along with dropzone numeration should be displayed', () => {
|
120
120
|
matchingPage.steps.resetQuestionPreview();
|
121
121
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
122
122
|
matchingPage.steps.verifyPreviewScore(8, 15);
|
123
123
|
matchingPage.steps.switchToGradingView();
|
124
|
-
matchingPage.steps.
|
124
|
+
matchingPage.steps.verifyCorrectOptionIcon(0);
|
125
125
|
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
126
126
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
127
127
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
128
128
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
129
129
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
130
|
-
cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then green check-mark should be displayed besides the response from the correct accordion
|
130
|
+
cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then green check-mark should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section should not be displayed')
|
131
131
|
matchingPage.steps.checkAnswer();
|
132
|
-
matchingPage.steps.
|
132
|
+
matchingPage.steps.verifyCorrectOptionIcon(0);
|
133
133
|
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
134
134
|
matchingPage.steps.verifyCorrectOptionIcon(2)
|
135
135
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -141,16 +141,16 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
141
141
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
142
142
|
matchingPage.steps.verifyPreviewScore(10, 15);
|
143
143
|
matchingPage.steps.switchToGradingView();
|
144
|
-
matchingPage.steps.
|
145
|
-
matchingPage.steps.
|
144
|
+
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
145
|
+
matchingPage.steps.verifyCorrectOptionIcon(1);
|
146
146
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
147
147
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
148
148
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
149
149
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
150
150
|
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 besides the correct answer responses, incorrect icon should be displayed beside empty responses a status message should not be displayed and correct answer section should not be displayed')
|
151
151
|
matchingPage.steps.checkAnswer();
|
152
|
-
matchingPage.steps.
|
153
|
-
matchingPage.steps.
|
152
|
+
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
153
|
+
matchingPage.steps.verifyCorrectOptionIcon(1);
|
154
154
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
155
155
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
156
156
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
@@ -116,20 +116,20 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
116
116
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
117
117
|
});
|
118
118
|
|
119
|
-
it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded points of the correctly attempted response and on switching to \'Grading\' view, correct icon should be displayed besides the response from the correct accordion
|
119
|
+
it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded points of the correctly attempted response and on switching to \'Grading\' view, correct icon should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section with all correct answers from the correct accordion along with dropzone numeration should be displayed', () => {
|
120
120
|
matchingPage.steps.resetQuestionPreview();
|
121
121
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
122
122
|
matchingPage.steps.verifyPreviewScore(10, 15);
|
123
123
|
matchingPage.steps.switchToGradingView();
|
124
|
-
matchingPage.steps.
|
124
|
+
matchingPage.steps.verifyCorrectOptionIcon(0);
|
125
125
|
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
126
126
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
127
127
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
128
128
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
129
129
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
130
|
-
cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion
|
130
|
+
cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section should not be displayed')
|
131
131
|
matchingPage.steps.checkAnswer();
|
132
|
-
matchingPage.steps.
|
132
|
+
matchingPage.steps.verifyCorrectOptionIcon(0);
|
133
133
|
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
134
134
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
135
135
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -116,20 +116,20 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
116
116
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
117
117
|
});
|
118
118
|
|
119
|
-
it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded points of the correctly attempted response and on switching to \'Grading\' view, correct icon should be displayed besides the response from the correct accordion
|
119
|
+
it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded points of the correctly attempted response and on switching to \'Grading\' view, correct icon should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section with all correct answers from the correct accordion along with dropzone numeration should be displayed', () => {
|
120
120
|
matchingPage.steps.resetQuestionPreview();
|
121
121
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
122
122
|
matchingPage.steps.verifyPreviewScore(6, 15);
|
123
123
|
matchingPage.steps.switchToGradingView();
|
124
|
-
matchingPage.steps.
|
124
|
+
matchingPage.steps.verifyCorrectOptionIcon(0);
|
125
125
|
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
126
126
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
127
127
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
128
128
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
129
129
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
130
|
-
cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion
|
130
|
+
cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section should not be displayed')
|
131
131
|
matchingPage.steps.checkAnswer();
|
132
|
-
matchingPage.steps.
|
132
|
+
matchingPage.steps.verifyCorrectOptionIcon(0);
|
133
133
|
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
134
134
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
135
135
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -270,11 +270,11 @@ describe('Create Item page - matching : Additional settings', () => {
|
|
270
270
|
matchingPage.steps.addPrompt();
|
271
271
|
matchingPage.steps.addOption();
|
272
272
|
utilities.verifyElementCount(matchingPage.ariaLabelInputField(), 4);
|
273
|
-
matchingPage.steps.verifyAriaLabelTextInputFields(
|
273
|
+
matchingPage.steps.verifyAriaLabelTextInputFields(3);
|
274
274
|
});
|
275
275
|
|
276
276
|
it('When the user deletes any dropzone, the count of the aria label texts input fields should update accordingly', () => {
|
277
|
-
matchingPage.steps.
|
277
|
+
matchingPage.steps.deletePrompt(1);
|
278
278
|
utilities.verifyElementCount(matchingPage.ariaLabelInputField(), 3);
|
279
279
|
matchingPage.steps.verifyAriaLabelTextInputFields(0);
|
280
280
|
matchingPage.steps.verifyAriaLabelTextInputFields(1);
|
@@ -284,8 +284,8 @@ describe('Create Item page - matching : Additional settings', () => {
|
|
284
284
|
it('When the user sets aria label, then in the dropzones of the specify correct answer section, the aria labels should get updated accordingly', () => {
|
285
285
|
matchingPage.steps.enterTextInAriaLabelInputField(0, 'Select correct option');
|
286
286
|
matchingPage.steps.verifyDropzoneAriaLabelSpecifyCorrectAnswerSection(0, 'Select correct option');
|
287
|
-
matchingPage.steps.verifyDropzoneAriaLabelSpecifyCorrectAnswerSection(1, '
|
288
|
-
matchingPage.steps.verifyDropzoneAriaLabelSpecifyCorrectAnswerSection(2, '
|
287
|
+
matchingPage.steps.verifyDropzoneAriaLabelSpecifyCorrectAnswerSection(1, 'Response Area');
|
288
|
+
matchingPage.steps.verifyDropzoneAriaLabelSpecifyCorrectAnswerSection(2, 'Response Area');
|
289
289
|
});
|
290
290
|
});
|
291
291
|
|
@@ -204,7 +204,7 @@ describe('Create Item page - Matching: Draggable options section', () => {
|
|
204
204
|
|
205
205
|
it('When the user deletes a group, then the deleted group should get removed from the options container as well as from the response areas (if any) of the specify correct answer section', () => {
|
206
206
|
cy.log('Pre step: Entering text into the text fields of group 2 response container')
|
207
|
-
matchingPage.steps.
|
207
|
+
matchingPage.steps.enterTextInOptionInputField(['option 3', 'option 4']);
|
208
208
|
matchingPage.steps.addGroupTitle('Group title B');
|
209
209
|
cy.log('Setting a correct answer option')
|
210
210
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ 'optionText': 'option 1', 'dropzoneIndex': 0 }]);
|
@@ -57,7 +57,7 @@ describe('Create Item page - Matching : Specify correct answer, Alternative corr
|
|
57
57
|
matchingPage.tests.verifyAutoScoredAddAlternativeAnswerButtonAndValidation();
|
58
58
|
|
59
59
|
it('When user has added points and set correct answers in the \'Correct\' accordion, then the user should be able to add alternative answer for the question using \'Add alternative answer\' button', () => {
|
60
|
-
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Petals', dropzoneIndex: 0 }, { optionText: 'Leaves', dropzoneIndex: 1 }, { optionText: '
|
60
|
+
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Petals', dropzoneIndex: 0 }, { optionText: 'Leaves', dropzoneIndex: 1 }, { optionText: 'Flowers', dropzoneIndex: 2 }]);
|
61
61
|
matchingPage.steps.allotPoints(20);
|
62
62
|
matchingPage.steps.addAlternativeAnswerAccordion(1);
|
63
63
|
});
|
@@ -205,8 +205,8 @@ describe('Create Item page - Matching : Student view settings', () => {
|
|
205
205
|
|
206
206
|
it('The user should be able to use the same draggable option for multiple dropzone', () => {
|
207
207
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Seeds', dropzoneIndex: 2 }]);
|
208
|
-
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(1, 'Seeds');
|
209
|
-
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(2, 'Seeds');
|
208
|
+
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(1, ['Seeds']);
|
209
|
+
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(2, ['Seeds']);
|
210
210
|
matchingPage.steps.verifyDraggableOptionInOptionsContainerSpecifyCorrectAnswerSection(options);
|
211
211
|
});
|
212
212
|
|
@@ -221,7 +221,7 @@ describe('Create Item page - Matching : Student view settings', () => {
|
|
221
221
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Seeds', dropzoneIndex: 1 }]);
|
222
222
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Seeds', dropzoneIndex: 2 }]);
|
223
223
|
matchingPage.steps.uncheckAllowMultipleInstancesOfSameDraggableOptionCheckbox();
|
224
|
-
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(1, 'Seeds');
|
224
|
+
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(1, ['Seeds']);
|
225
225
|
matchingPage.steps.verifyDropzoneTextSpecifyCorrectAnswerSection(2, '');
|
226
226
|
matchingPage.steps.verifyDraggableOptionInOptionsContainerSpecifyCorrectAnswerSection(['Petals', 'Leaves', 'Roots', 'Stem']);
|
227
227
|
});
|
@@ -146,15 +146,15 @@ describe('Create Item page - Matching : Student view settings for grouped option
|
|
146
146
|
it('When the user enables the \'Allow multiple instances of same draggable option\' functionality, then on setting correct answer in the dropzone, the draggable options should persist in respective group of the options container', () => {
|
147
147
|
matchingPage.steps.checkAllowMultipleInstancesOfSameDraggableOptionCheckbox();
|
148
148
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Fish', dropzoneIndex: 1 }]);
|
149
|
-
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(1, 'Fish');
|
149
|
+
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(1, ['Fish']);
|
150
150
|
matchingPage.steps.verifyGroupedContainerContentsInSpecifyCorrectAnswerSection(0, animals[0]);
|
151
151
|
matchingPage.steps.verifyGroupedContainerContentsInSpecifyCorrectAnswerSection(1, animals[1]);
|
152
152
|
});
|
153
153
|
|
154
154
|
it('The user should be able to use the same draggable option for multiple dropzones', () => {
|
155
155
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Fish', dropzoneIndex: 2 }]);
|
156
|
-
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(1, 'Fish');
|
157
|
-
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(2, 'Fish');
|
156
|
+
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(1, ['Fish']);
|
157
|
+
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(2, ['Fish']);
|
158
158
|
matchingPage.steps.verifyGroupedContainerContentsInSpecifyCorrectAnswerSection(0, animals[0]);
|
159
159
|
matchingPage.steps.verifyGroupedContainerContentsInSpecifyCorrectAnswerSection(1, animals[1]);
|
160
160
|
});
|
@@ -170,7 +170,7 @@ describe('Create Item page - Matching : Student view settings for grouped option
|
|
170
170
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Fish', dropzoneIndex: 1 }]);
|
171
171
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Fish', dropzoneIndex: 2 }]);
|
172
172
|
matchingPage.steps.uncheckAllowMultipleInstancesOfSameDraggableOptionCheckbox();
|
173
|
-
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(1, 'Fish');
|
173
|
+
matchingPage.steps.verifyDraggableOptionInDropzoneSpecifyCorrectAnswerSection(1, ['Fish']);
|
174
174
|
matchingPage.steps.verifyDropzoneTextSpecifyCorrectAnswerSection(2, '');
|
175
175
|
matchingPage.steps.verifyGroupedContainerContentsInSpecifyCorrectAnswerSection(1, ['Peacock', 'Penguin', 'Tiger']);
|
176
176
|
});
|
@@ -107,7 +107,6 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
|
|
107
107
|
}
|
108
108
|
multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(0);
|
109
109
|
multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(1);
|
110
|
-
multipleSelectionPage.steps.verifyCorrectIncorrectBorderNotExists();
|
111
110
|
multipleSelectionPage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
112
111
|
});
|
113
112
|
|
@@ -128,7 +127,6 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
|
|
128
127
|
multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(1);
|
129
128
|
multipleSelectionPage.steps.verifyIncorrectOptionIconGradingView(2);
|
130
129
|
multipleSelectionPage.steps.verifyIncorrectOptionIconGradingView(3);
|
131
|
-
multipleSelectionPage.steps.verifyIncorrectAttemptBorder();
|
132
130
|
});
|
133
131
|
|
134
132
|
it('When the user attempts the question partially correct, then the user should be awarded 0 points 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, incorrect answer border and an \'Incorrect answer\' label should be displayed below the question preview', () => {
|
@@ -150,7 +148,6 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
|
|
150
148
|
multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(0);
|
151
149
|
multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(1);
|
152
150
|
multipleSelectionPage.steps.verifyIncorrectOptionIconGradingView(2);
|
153
|
-
multipleSelectionPage.steps.verifyIncorrectAttemptBorder();
|
154
151
|
});
|
155
152
|
|
156
153
|
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 border and a \'Correct answer\' label should be displayed below the question preview', () => {
|
@@ -171,7 +168,6 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
|
|
171
168
|
}
|
172
169
|
multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(0);
|
173
170
|
multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(1);
|
174
|
-
multipleSelectionPage.steps.verifyCorrectAttemptBorder();
|
175
171
|
});
|
176
172
|
});
|
177
173
|
});
|