itemengine-cypress-automation 1.0.285-applitools-da9f1a8.0 → 1.0.286-fixesE2E24thJan-7a46dd4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/Gzip/gzip.js +7 -7
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -26
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -4
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +3 -3
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +7 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +10 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +11 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -19
- package/cypress/e2e/ILC/EditItem/editItem.ts +133 -0
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
- package/cypress/e2e/ILC/FeedbackScaleNew/previewContentsForAllViews.smoke.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +214 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +228 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +245 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +237 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -6
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +4 -3
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +239 -0
- package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +6 -14
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +3 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +212 -0
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -19
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +366 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -3
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +16 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +306 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +243 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +242 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +289 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +284 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +238 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +279 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +641 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +278 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +228 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +234 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +237 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +134 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +138 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +263 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +166 -0
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -23
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -5
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +193 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -2
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -4
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -16
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -9
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/pages/audioPlayerPage.js +4 -4
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +17 -0
- package/cypress/pages/components/equationEditorFlyout.js +1 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
- package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +5 -1
- package/cypress/pages/components/gridQuestionCommonComponent.js +41 -1
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/createItemPage.js +38 -1
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +45 -3
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +35 -2
- package/cypress/pages/graphingPage.js +3 -0
- package/cypress/pages/listOrderingPage.js +1 -1
- package/cypress/pages/matchingPage.js +34 -7
- package/cypress/pages/multipleSelectionPage.js +17 -2
- package/cypress/pages/numberLineLabelPage.js +3 -3
- package/cypress/pages/readingRulerPage.js +5 -3
- package/cypress/pages/singleSelectionPage.js +5 -2
- package/cypress/pages/studentViewPage.js +4 -4
- package/cypress/pages/textEntryMathPage.js +19 -5
- package/cypress/pages/textSelectionPage.js +1 -1
- package/cypress/support/commands.js +0 -11
- package/cypress/support/e2e.js +0 -1
- package/package.json +1 -4
- package/cypress/e2e/applitools.config.js +0 -14
@@ -83,7 +83,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
83
83
|
matchingPage.steps.switchToGradingView();
|
84
84
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
85
85
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
86
|
-
matchingPage.steps.
|
86
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
87
87
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
88
88
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
89
89
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -91,7 +91,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
91
91
|
matchingPage.steps.checkAnswer();
|
92
92
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
93
93
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
94
|
-
matchingPage.steps.
|
94
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
95
95
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
96
96
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
97
97
|
});
|
@@ -103,7 +103,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
103
103
|
matchingPage.steps.switchToGradingView();
|
104
104
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
105
105
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
106
|
-
matchingPage.steps.
|
106
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
107
107
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
108
108
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
109
109
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -111,7 +111,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
111
111
|
matchingPage.steps.checkAnswer();
|
112
112
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
113
113
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
114
|
-
matchingPage.steps.
|
114
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
115
115
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
116
116
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
117
117
|
});
|
@@ -122,7 +122,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
122
122
|
matchingPage.steps.verifyPreviewScore(10, 15);
|
123
123
|
matchingPage.steps.switchToGradingView();
|
124
124
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
125
|
-
matchingPage.steps.
|
125
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
126
126
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
127
127
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
128
128
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -130,7 +130,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
130
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
132
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
133
|
-
matchingPage.steps.
|
133
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
134
134
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
135
135
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
136
136
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -161,16 +161,16 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
161
161
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 2 }]);
|
162
162
|
matchingPage.steps.verifyPreviewScore(5, 15);
|
163
163
|
matchingPage.steps.switchToGradingView();
|
164
|
-
matchingPage.steps.
|
165
|
-
matchingPage.steps.
|
164
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
165
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
166
166
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
167
167
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
168
168
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
169
169
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
170
170
|
/*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, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
171
171
|
matchingPage.steps.checkAnswer();
|
172
|
-
matchingPage.steps.
|
173
|
-
matchingPage.steps.
|
172
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
173
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
174
174
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
175
175
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
176
176
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -182,16 +182,16 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
182
182
|
matchingPage.steps.verifyPreviewScore(0, 15);
|
183
183
|
matchingPage.steps.switchToGradingView();
|
184
184
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
185
|
-
matchingPage.steps.
|
186
|
-
matchingPage.steps.
|
185
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
186
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
187
187
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
188
188
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
189
189
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
190
190
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
191
191
|
matchingPage.steps.checkAnswer();
|
192
192
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
193
|
-
matchingPage.steps.
|
194
|
-
matchingPage.steps.
|
193
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
194
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
195
195
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
196
196
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
197
197
|
});
|
@@ -83,7 +83,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
83
83
|
matchingPage.steps.switchToGradingView();
|
84
84
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
85
85
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
86
|
-
matchingPage.steps.
|
86
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
87
87
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
88
88
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
89
89
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -91,7 +91,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
91
91
|
matchingPage.steps.checkAnswer();
|
92
92
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
93
93
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
94
|
-
matchingPage.steps.
|
94
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
95
95
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
96
96
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
97
97
|
});
|
@@ -103,7 +103,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
103
103
|
matchingPage.steps.switchToGradingView();
|
104
104
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
105
105
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
106
|
-
matchingPage.steps.
|
106
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
107
107
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
108
108
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
109
109
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -111,7 +111,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
111
111
|
matchingPage.steps.checkAnswer();
|
112
112
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
113
113
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
114
|
-
matchingPage.steps.
|
114
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
115
115
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
116
116
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
117
117
|
});
|
@@ -122,7 +122,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
122
122
|
matchingPage.steps.verifyPreviewScore(6, 15);
|
123
123
|
matchingPage.steps.switchToGradingView();
|
124
124
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
125
|
-
matchingPage.steps.
|
125
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
126
126
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
127
127
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
128
128
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -130,7 +130,7 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
130
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
132
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
133
|
-
matchingPage.steps.
|
133
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
134
134
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
135
135
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
136
136
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -161,16 +161,16 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
161
161
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 2 }]);
|
162
162
|
matchingPage.steps.verifyPreviewScore(5, 15);
|
163
163
|
matchingPage.steps.switchToGradingView();
|
164
|
-
matchingPage.steps.
|
165
|
-
matchingPage.steps.
|
164
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
165
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
166
166
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
167
167
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
168
168
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
169
169
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
170
170
|
/*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, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
171
171
|
matchingPage.steps.checkAnswer();
|
172
|
-
matchingPage.steps.
|
173
|
-
matchingPage.steps.
|
172
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
173
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
174
174
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
175
175
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
176
176
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -182,16 +182,16 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
182
182
|
matchingPage.steps.verifyPreviewScore(0, 15);
|
183
183
|
matchingPage.steps.switchToGradingView();
|
184
184
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
185
|
-
matchingPage.steps.
|
186
|
-
matchingPage.steps.
|
185
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
186
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
187
187
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
188
188
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
189
189
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
190
190
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then incorrect icons should be displayed besides all incorrect responses, no icon should be displayed beside unattempted response a status message should not be displayed and correct answer section should not be displayed')
|
191
191
|
matchingPage.steps.checkAnswer();
|
192
192
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
193
|
-
matchingPage.steps.
|
194
|
-
matchingPage.steps.
|
193
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
194
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
195
195
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
196
196
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
197
197
|
});
|
@@ -14,14 +14,6 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
if (!grepTags || !grepTags.includes('smoke')) {
|
26
18
|
describe('Question preview modes: Student view and Grading view', () => {
|
27
19
|
abortEarlySetup();
|
@@ -105,7 +97,7 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
105
97
|
});
|
106
98
|
};
|
107
99
|
|
108
|
-
it(
|
100
|
+
it('When the user selects \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
|
109
101
|
if (view === 'Grading view') {
|
110
102
|
studentViewPage.steps.submitResponse();
|
111
103
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -124,7 +116,7 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
124
116
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
125
117
|
});
|
126
118
|
|
127
|
-
it(
|
119
|
+
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, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
128
120
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Eagle', dropzoneIndex: 1 }, { optionText: 'Fish', dropzoneIndex: 2 }]);
|
129
121
|
if (view === 'Grading view') {
|
130
122
|
studentViewPage.steps.submitResponse();
|
@@ -143,7 +135,7 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
143
135
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
144
136
|
});
|
145
137
|
|
146
|
-
it(
|
138
|
+
it('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
147
139
|
if (view === 'Grading view') {
|
148
140
|
studentViewPage.steps.clearResponses();
|
149
141
|
};
|
@@ -165,7 +157,7 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
165
157
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
166
158
|
});
|
167
159
|
|
168
|
-
it(
|
160
|
+
it('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
169
161
|
if (view === 'Grading view') {
|
170
162
|
studentViewPage.steps.clearResponses();
|
171
163
|
};
|
@@ -187,7 +179,7 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
187
179
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
188
180
|
});
|
189
181
|
|
190
|
-
it(
|
182
|
+
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 icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
191
183
|
if (view === 'Grading view') {
|
192
184
|
studentViewPage.steps.clearResponses();
|
193
185
|
};
|
@@ -208,7 +200,6 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
208
200
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
209
201
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
210
202
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
211
|
-
cy.eyesCheckWindow(`Matching ${view} - Attempting the question correctly`);
|
212
203
|
});
|
213
204
|
});
|
214
205
|
});
|
@@ -11,14 +11,6 @@ describe('Create item page - Matching - Preview contents in all views', () => {
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
views.forEach((view) => {
|
23
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
24
16
|
abortEarlySetup();
|
@@ -97,16 +89,15 @@ describe('Create item page - Matching - Preview contents in all views', () => {
|
|
97
89
|
}
|
98
90
|
});
|
99
91
|
|
100
|
-
it(
|
92
|
+
it('Question instructions should be visible', () => {
|
101
93
|
utilities.verifyInnerText(matchingPage.questionInstructionsText(), 'Fill the categories with the right answer.');
|
102
94
|
utilities.verifyElementVisibilityState(matchingPage.questionInstructionsText(), 'visible');
|
103
95
|
});
|
104
96
|
|
105
|
-
it(
|
97
|
+
it('The prompt should have image, equation, bold text displayed', () => {
|
106
98
|
matchingPage.steps.verifyPromptWithImageInPreviewTab(0);
|
107
99
|
matchingPage.steps.verifyPromptWithBoldTextInPreviewTab(1);
|
108
100
|
matchingPage.steps.verifyPromptWithEquationTextInPreviewTab(2);
|
109
|
-
cy.eyesCheckWindow(`Matching - ${view} - Prompt with image, equation, bold text`);
|
110
101
|
});
|
111
102
|
|
112
103
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
@@ -119,7 +110,7 @@ describe('Create item page - Matching - Preview contents in all views', () => {
|
|
119
110
|
matchingPage.steps.verifyDropzoneTextContentPreviewTab(2, '');
|
120
111
|
});
|
121
112
|
|
122
|
-
it(
|
113
|
+
it('User should be able to drag and drop image, bold text and equation options in the dropzone', () => {
|
123
114
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Fox', dropzoneIndex: 0 }, { optionText: 'This is a bold option', dropzoneIndex: 1 }, { optionText: 'Solve the following', dropzoneIndex: 2 }]);
|
124
115
|
matchingPage.steps.verifyDropzoneTextContentPreviewTab(0, 'Fox');
|
125
116
|
matchingPage.steps.verifyDropzoneWithImageInPreviewTab(0);
|
@@ -144,12 +135,13 @@ describe('Create item page - Matching - Preview contents in all views', () => {
|
|
144
135
|
matchingPage.steps.verifyGradingViewOptionDisabled([{ optionText: 'Elephant', dropzoneIndex: 0 }]);
|
145
136
|
});
|
146
137
|
} else {
|
147
|
-
it(
|
138
|
+
it('The dropzone should be displayed filled with answers', () => {
|
148
139
|
utilities.verifyElementCount(matchingPage.dropzonePreviewTab(), 3);
|
149
140
|
matchingPage.steps.verifyDropzoneTextContentPreviewTab(0, 'Fox');
|
150
141
|
matchingPage.steps.verifyDropzoneWithImageInPreviewTab(0);
|
151
142
|
matchingPage.steps.verifyDropzoneTextContentPreviewTab(1, 'This is a bold option');
|
152
|
-
|
143
|
+
//Note: Equation needs to be checked manually in correct answer view
|
144
|
+
//matchingPage.steps.verifyDropzoneWithEquationTextInPreviewTab(2);
|
153
145
|
});
|
154
146
|
}
|
155
147
|
});
|
@@ -56,7 +56,7 @@ describe('Create Item page - Matching : Question Instructions and prompt section
|
|
56
56
|
'font-size': css.fontSize.normal,
|
57
57
|
'font-weight': css.fontWeight.semibold
|
58
58
|
})
|
59
|
-
|
59
|
+
utilities.getNthElement(matchingPage.promptInputFieldWrapper(), 0)
|
60
60
|
.within(() => {
|
61
61
|
utilities.verifyCSS(matchingPage.dragHandleButton(), {
|
62
62
|
'color': css.color.secondaryBtnActive,
|
@@ -76,7 +76,7 @@ describe('Create Item page - Matching : Question Instructions and prompt section
|
|
76
76
|
'font-size': css.fontSize.normal,
|
77
77
|
'font-weight': css.fontWeight.semibold
|
78
78
|
});
|
79
|
-
utilities.verifyCSS(utilities.getNthElement(
|
79
|
+
utilities.verifyCSS(utilities.getNthElement(matchingPage.promptInputField(), 0), {
|
80
80
|
'color': css.color.text,
|
81
81
|
'font-size': css.fontSize.default,
|
82
82
|
'font-weight': css.fontWeight.regular
|
@@ -163,6 +163,7 @@ describe('Create Item page - Matching : Question Instructions and prompt section
|
|
163
163
|
cy.log('Navigating to Matching question type');
|
164
164
|
matchingPage.steps.navigateToCreateQuestion('matching');
|
165
165
|
cy.barsPreLoaderWait();
|
166
|
+
matchingPage.steps.addTextInQuestionInstructionsInputField('Fill the categories with the right answer.');
|
166
167
|
});
|
167
168
|
|
168
169
|
it('When user clicks on the \'Delete\' question prompt button then deleted prompt should not be displayed in the \'Specify correct answer\' section table', () => {
|
@@ -70,7 +70,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
70
70
|
matchingPage.steps.switchToGradingView();
|
71
71
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
72
72
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
73
|
-
matchingPage.steps.
|
73
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
74
74
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
75
75
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
76
76
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -83,7 +83,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
83
83
|
matchingPage.steps.switchToGradingView();
|
84
84
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
85
85
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
86
|
-
matchingPage.steps.
|
86
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
87
87
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
88
88
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
89
89
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -94,7 +94,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
94
94
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 1, dropdownOption: optionsArray[2] }, { dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
95
95
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
96
96
|
matchingPage.steps.switchToGradingView();
|
97
|
-
matchingPage.steps.
|
97
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
98
98
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
99
99
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
100
100
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -120,8 +120,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
120
120
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
121
121
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
122
122
|
matchingPage.steps.switchToGradingView();
|
123
|
-
matchingPage.steps.
|
124
|
-
matchingPage.steps.
|
123
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
124
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(1);
|
125
125
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
126
126
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
127
127
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
@@ -133,8 +133,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
133
133
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[4] }]);
|
134
134
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
135
135
|
matchingPage.steps.switchToGradingView();
|
136
|
-
matchingPage.steps.
|
137
|
-
matchingPage.steps.
|
136
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
137
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(1);
|
138
138
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
139
139
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
140
140
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
@@ -70,7 +70,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
70
70
|
matchingPage.steps.switchToGradingView();
|
71
71
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
72
72
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
73
|
-
matchingPage.steps.
|
73
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
74
74
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
75
75
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
76
76
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -83,7 +83,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
83
83
|
matchingPage.steps.switchToGradingView();
|
84
84
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
85
85
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
86
|
-
matchingPage.steps.
|
86
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
87
87
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
88
88
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
89
89
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -95,7 +95,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
95
95
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
96
96
|
matchingPage.steps.switchToGradingView();
|
97
97
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
98
|
-
matchingPage.steps.
|
98
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(1);
|
99
99
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
100
100
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
101
101
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -120,8 +120,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
120
120
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
121
121
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
122
122
|
matchingPage.steps.switchToGradingView();
|
123
|
-
matchingPage.steps.
|
124
|
-
matchingPage.steps.
|
123
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
124
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(1);
|
125
125
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
126
126
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
127
127
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -134,8 +134,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
134
134
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
135
135
|
matchingPage.steps.switchToGradingView();
|
136
136
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
137
|
-
matchingPage.steps.
|
138
|
-
matchingPage.steps.
|
137
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(1);
|
138
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
139
139
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
140
140
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
141
141
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -122,7 +122,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
122
122
|
matchingPage.steps.switchToGradingView();
|
123
123
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
124
124
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
125
|
-
matchingPage.steps.
|
125
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
126
126
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
127
127
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
128
128
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -135,7 +135,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
135
135
|
matchingPage.steps.switchToGradingView();
|
136
136
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
137
137
|
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
138
|
-
matchingPage.steps.
|
138
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
139
139
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
140
140
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
141
141
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -147,7 +147,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
147
147
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
148
148
|
matchingPage.steps.switchToGradingView();
|
149
149
|
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
150
|
-
matchingPage.steps.
|
150
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(1);
|
151
151
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
152
152
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
153
153
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -172,8 +172,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
172
172
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
173
173
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
174
174
|
matchingPage.steps.switchToGradingView();
|
175
|
-
matchingPage.steps.
|
176
|
-
matchingPage.steps.
|
175
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
176
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(1);
|
177
177
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
178
178
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
179
179
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -186,8 +186,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
186
186
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
187
187
|
matchingPage.steps.switchToGradingView();
|
188
188
|
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
189
|
-
matchingPage.steps.
|
190
|
-
matchingPage.steps.
|
189
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(1);
|
190
|
+
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
191
191
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
192
192
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
193
193
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|