itemengine-cypress-automation 1.0.285-applitools-da9f1a8.0 → 1.0.285
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
@@ -79,7 +79,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
|
|
79
79
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
80
80
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(9, 15);
|
81
81
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
82
|
-
fillInTheGapsDragAndDropPage.steps.
|
82
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
83
83
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
84
84
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
85
85
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -87,7 +87,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
|
|
87
87
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
88
88
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then green check-mark should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
|
89
89
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
90
|
-
fillInTheGapsDragAndDropPage.steps.
|
90
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
91
91
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
92
92
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
93
93
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -99,7 +99,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
|
|
99
99
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
100
100
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(6, 15);
|
101
101
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
102
|
-
fillInTheGapsDragAndDropPage.steps.
|
102
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
103
103
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
104
104
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
105
105
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -107,7 +107,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
|
|
107
107
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
108
108
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then green check-mark 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')
|
109
109
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
110
|
-
fillInTheGapsDragAndDropPage.steps.
|
110
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
111
111
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
112
112
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
113
113
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -121,7 +121,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
|
|
121
121
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
122
122
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
123
123
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
124
|
-
fillInTheGapsDragAndDropPage.steps.
|
124
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
125
125
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
126
126
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
127
127
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -129,7 +129,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
|
|
129
129
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
130
130
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
131
131
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
132
|
-
fillInTheGapsDragAndDropPage.steps.
|
132
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
133
133
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
134
134
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
135
135
|
});
|
@@ -180,16 +180,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
|
|
180
180
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(7, 15);
|
181
181
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
182
182
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
183
|
-
fillInTheGapsDragAndDropPage.steps.
|
184
|
-
fillInTheGapsDragAndDropPage.steps.
|
183
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
184
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
185
185
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
186
186
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
187
187
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
188
188
|
/*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 green check-mark 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')
|
189
189
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
190
190
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
191
|
-
fillInTheGapsDragAndDropPage.steps.
|
192
|
-
fillInTheGapsDragAndDropPage.steps.
|
191
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
192
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
193
193
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
194
194
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
195
195
|
});
|
@@ -200,16 +200,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial differ
|
|
200
200
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
201
201
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
202
202
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
203
|
-
fillInTheGapsDragAndDropPage.steps.
|
204
|
-
fillInTheGapsDragAndDropPage.steps.
|
203
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
204
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
205
205
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
206
206
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
207
207
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
208
208
|
/*cy.log('When the user has attempted the question incorrectly and clicks on \'Check answer\' button, then red cross-marks 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')
|
209
209
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
210
210
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
211
|
-
fillInTheGapsDragAndDropPage.steps.
|
212
|
-
fillInTheGapsDragAndDropPage.steps.
|
211
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
212
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
213
213
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
214
214
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
215
215
|
});
|
@@ -35,16 +35,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
35
35
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Roots': 2 });
|
36
36
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
37
37
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
38
|
-
fillInTheGapsDragAndDropPage.steps.
|
39
|
-
fillInTheGapsDragAndDropPage.steps.
|
38
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
39
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
40
40
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
41
41
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
42
42
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
43
43
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
44
44
|
/*cy.log('When user clicks on Check answer button after he attempts the question incorrectly incorrect icons should be displayed besides all incorrect responses, status message and correct answer section should not be displayed')
|
45
45
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
46
|
-
fillInTheGapsDragAndDropPage.steps.
|
47
|
-
fillInTheGapsDragAndDropPage.steps.
|
46
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
47
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
48
48
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
49
49
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
50
50
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -56,7 +56,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
56
56
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(5, 15);
|
57
57
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
58
58
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
59
|
-
fillInTheGapsDragAndDropPage.steps.
|
59
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
60
60
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
61
61
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
62
62
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
@@ -64,7 +64,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
64
64
|
/*cy.log('When user clicks on Check answer button after he attempts the question partially correct with some correct, some incomplete, some incorrect options, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message and correct answer section should not be displayed')
|
65
65
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
66
66
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
67
|
-
fillInTheGapsDragAndDropPage.steps.
|
67
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
68
68
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
69
69
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
70
70
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -75,7 +75,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
75
75
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
76
76
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(10, 15);
|
77
77
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
78
|
-
fillInTheGapsDragAndDropPage.steps.
|
78
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
79
79
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
80
80
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
81
81
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -83,7 +83,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
83
83
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
84
84
|
/*cy.log('When user clicks on Check answer button after he attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete then correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, status message and correct answer section should not be displayed')
|
85
85
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
86
|
-
fillInTheGapsDragAndDropPage.steps.
|
86
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
87
87
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
88
88
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
89
89
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -78,7 +78,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
78
78
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
79
79
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(6, 15);
|
80
80
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
81
|
-
fillInTheGapsDragAndDropPage.steps.
|
81
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
82
82
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
83
83
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
84
84
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -86,7 +86,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
86
86
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
87
87
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
|
88
88
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
89
|
-
fillInTheGapsDragAndDropPage.steps.
|
89
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
90
90
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
91
91
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
92
92
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -98,7 +98,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
98
98
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
99
99
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(10, 15);
|
100
100
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
101
|
-
fillInTheGapsDragAndDropPage.steps.
|
101
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
102
102
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
103
103
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
104
104
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -106,7 +106,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
106
106
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
107
107
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed 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')
|
108
108
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
109
|
-
fillInTheGapsDragAndDropPage.steps.
|
109
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
110
110
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
111
111
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
112
112
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -120,7 +120,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
120
120
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
121
121
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
122
122
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
123
|
-
fillInTheGapsDragAndDropPage.steps.
|
123
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
124
124
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
125
125
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
126
126
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -128,7 +128,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
128
128
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
129
129
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
130
130
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
131
|
-
fillInTheGapsDragAndDropPage.steps.
|
131
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
132
132
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
133
133
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
134
134
|
});
|
@@ -159,16 +159,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
159
159
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(5, 15);
|
160
160
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
161
161
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
162
|
-
fillInTheGapsDragAndDropPage.steps.
|
163
|
-
fillInTheGapsDragAndDropPage.steps.
|
162
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
163
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
164
164
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
165
165
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
166
166
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
167
167
|
/*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')
|
168
168
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
169
169
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
170
|
-
fillInTheGapsDragAndDropPage.steps.
|
171
|
-
fillInTheGapsDragAndDropPage.steps.
|
170
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
171
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
172
172
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
173
173
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
174
174
|
});
|
@@ -179,16 +179,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
179
179
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
180
180
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
181
181
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
182
|
-
fillInTheGapsDragAndDropPage.steps.
|
183
|
-
fillInTheGapsDragAndDropPage.steps.
|
182
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
183
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
184
184
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
185
185
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Stem'], ['Seed']]);
|
186
186
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
187
187
|
/*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')
|
188
188
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
189
189
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
190
|
-
fillInTheGapsDragAndDropPage.steps.
|
191
|
-
fillInTheGapsDragAndDropPage.steps.
|
190
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
191
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
192
192
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
193
193
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
194
194
|
});
|
@@ -78,7 +78,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
78
78
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
79
79
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(10, 15);
|
80
80
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
81
|
-
fillInTheGapsDragAndDropPage.steps.
|
81
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
82
82
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
83
83
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
84
84
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -86,7 +86,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
86
86
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
87
87
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
|
88
88
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
89
|
-
fillInTheGapsDragAndDropPage.steps.
|
89
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
90
90
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
91
91
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
92
92
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -98,7 +98,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
98
98
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
99
99
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(10, 15);
|
100
100
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
101
|
-
fillInTheGapsDragAndDropPage.steps.
|
101
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
102
102
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
103
103
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
104
104
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -106,7 +106,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
106
106
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
107
107
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed 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')
|
108
108
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
109
|
-
fillInTheGapsDragAndDropPage.steps.
|
109
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
110
110
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
111
111
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
112
112
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -120,7 +120,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
120
120
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
121
121
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
122
122
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
123
|
-
fillInTheGapsDragAndDropPage.steps.
|
123
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
124
124
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
125
125
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
126
126
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -128,7 +128,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
128
128
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
129
129
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
130
130
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
131
|
-
fillInTheGapsDragAndDropPage.steps.
|
131
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
132
132
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
133
133
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
134
134
|
});
|
@@ -159,16 +159,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
159
159
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(5, 15);
|
160
160
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
161
161
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
162
|
-
fillInTheGapsDragAndDropPage.steps.
|
163
|
-
fillInTheGapsDragAndDropPage.steps.
|
162
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
163
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
164
164
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
165
165
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
166
166
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
167
167
|
/*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')
|
168
168
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
169
169
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
170
|
-
fillInTheGapsDragAndDropPage.steps.
|
171
|
-
fillInTheGapsDragAndDropPage.steps.
|
170
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
171
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
172
172
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
173
173
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
174
174
|
});
|
@@ -179,16 +179,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
179
179
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
180
180
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
181
181
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
182
|
-
fillInTheGapsDragAndDropPage.steps.
|
183
|
-
fillInTheGapsDragAndDropPage.steps.
|
182
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
183
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
184
184
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
185
185
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
186
186
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
187
187
|
/*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')
|
188
188
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
189
189
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
190
|
-
fillInTheGapsDragAndDropPage.steps.
|
191
|
-
fillInTheGapsDragAndDropPage.steps.
|
190
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
191
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
192
192
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
193
193
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
194
194
|
});
|
@@ -78,7 +78,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
78
78
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flower': 1, 'Leaves': 2 });
|
79
79
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(10, 15);
|
80
80
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
81
|
-
fillInTheGapsDragAndDropPage.steps.
|
81
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
82
82
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
83
83
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
84
84
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -86,7 +86,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
86
86
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
87
87
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, a status message should not be displayed and correct answer section should not be displayed')
|
88
88
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
89
|
-
fillInTheGapsDragAndDropPage.steps.
|
89
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
90
90
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
91
91
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
92
92
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -98,7 +98,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
98
98
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Stem': 1, 'Seed': 2 });
|
99
99
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(6, 15);
|
100
100
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
101
|
-
fillInTheGapsDragAndDropPage.steps.
|
101
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
102
102
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
103
103
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
104
104
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -106,7 +106,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
106
106
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
107
107
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed 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')
|
108
108
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
109
|
-
fillInTheGapsDragAndDropPage.steps.
|
109
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
110
110
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
111
111
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
112
112
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -120,7 +120,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
120
120
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
121
121
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
122
122
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
123
|
-
fillInTheGapsDragAndDropPage.steps.
|
123
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
124
124
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
125
125
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
126
126
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -128,7 +128,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
128
128
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
129
129
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
130
130
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
131
|
-
fillInTheGapsDragAndDropPage.steps.
|
131
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
132
132
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
133
133
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
134
134
|
});
|
@@ -159,16 +159,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
159
159
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(5, 15);
|
160
160
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
161
161
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
162
|
-
fillInTheGapsDragAndDropPage.steps.
|
163
|
-
fillInTheGapsDragAndDropPage.steps.
|
162
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
163
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
164
164
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
165
165
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
166
166
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
167
167
|
/*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')
|
168
168
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
169
169
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
170
|
-
fillInTheGapsDragAndDropPage.steps.
|
171
|
-
fillInTheGapsDragAndDropPage.steps.
|
170
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
171
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
172
172
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
173
173
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
174
174
|
});
|
@@ -179,16 +179,16 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
179
179
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 15);
|
180
180
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
181
181
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
182
|
-
fillInTheGapsDragAndDropPage.steps.
|
183
|
-
fillInTheGapsDragAndDropPage.steps.
|
182
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
183
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
184
184
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
185
185
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Flower'], ['Leaves']]);
|
186
186
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
187
187
|
/*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')
|
188
188
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
189
189
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
190
|
-
fillInTheGapsDragAndDropPage.steps.
|
191
|
-
fillInTheGapsDragAndDropPage.steps.
|
190
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
191
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
192
192
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
193
193
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
194
194
|
});
|
@@ -41,7 +41,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Response level
|
|
41
41
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
42
42
|
/*cy.log('When the user attempts the question incorrectly and clicks on \'Check answer\' button, incorrect icon should be displayed besides the incorrect response, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
|
43
43
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
44
|
-
fillInTheGapsDragAndDropPage.steps.
|
44
|
+
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(0);
|
45
45
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(1);
|
46
46
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
47
47
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -11,14 +11,6 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
|
|
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
|
if (!grepTags || !grepTags.includes('smoke')) {
|
23
15
|
describe('Question preview modes: Student view and Grading view', () => {
|
24
16
|
abortEarlySetup();
|
@@ -102,7 +94,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
|
|
102
94
|
});
|
103
95
|
};
|
104
96
|
|
105
|
-
it(
|
97
|
+
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 and respective option numeration', () => {
|
106
98
|
if (view === 'Grading view') {
|
107
99
|
studentViewPage.steps.submitResponse();
|
108
100
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -120,7 +112,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
|
|
120
112
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
|
121
113
|
});
|
122
114
|
|
123
|
-
it(
|
115
|
+
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', () => {
|
124
116
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Leaves': 0, 'Petals': 1, 'Roots': 2 });
|
125
117
|
if (view === 'Grading view') {
|
126
118
|
studentViewPage.steps.submitResponse();
|
@@ -139,7 +131,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
|
|
139
131
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
|
140
132
|
});
|
141
133
|
|
142
|
-
it(
|
134
|
+
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', () => {
|
143
135
|
if (view === 'Grading view') {
|
144
136
|
studentViewPage.steps.clearResponses();
|
145
137
|
};
|
@@ -161,7 +153,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
|
|
161
153
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
|
162
154
|
});
|
163
155
|
|
164
|
-
it(
|
156
|
+
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', () => {
|
165
157
|
if (view === 'Grading view') {
|
166
158
|
studentViewPage.steps.clearResponses();
|
167
159
|
};
|
@@ -183,7 +175,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
|
|
183
175
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
|
184
176
|
});
|
185
177
|
|
186
|
-
it(
|
178
|
+
it('When the user attempts the question partially correct with all the dropzone correctly attempted but with an extra option which is not set as correct answer, 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 should be displayed along with numeration', () => {
|
187
179
|
if (view === 'Grading view') {
|
188
180
|
studentViewPage.steps.clearResponses();
|
189
181
|
};
|
@@ -205,7 +197,7 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
|
|
205
197
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
|
206
198
|
});
|
207
199
|
|
208
|
-
it(
|
200
|
+
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', () => {
|
209
201
|
if (view === 'Grading view') {
|
210
202
|
studentViewPage.steps.clearResponses();
|
211
203
|
};
|
@@ -226,7 +218,6 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
|
|
226
218
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
227
219
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
228
220
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();
|
229
|
-
cy.eyesCheckWindow(`FIG drag and drop - ${view} view - Attempting the question correctly`);
|
230
221
|
});
|
231
222
|
});
|
232
223
|
});
|
@@ -10,14 +10,6 @@ describe('Preview tab contents for all views', () => {
|
|
10
10
|
cy.loginAs('admin');
|
11
11
|
});
|
12
12
|
|
13
|
-
beforeEach(() => {
|
14
|
-
cy.startApplitools();
|
15
|
-
});
|
16
|
-
|
17
|
-
afterEach(() => {
|
18
|
-
cy.eyesClose();
|
19
|
-
});
|
20
|
-
|
21
13
|
views.forEach((view) => {
|
22
14
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
23
15
|
abortEarlySetup();
|
@@ -84,10 +76,9 @@ describe('Preview tab contents for all views', () => {
|
|
84
76
|
}
|
85
77
|
});
|
86
78
|
|
87
|
-
it(
|
79
|
+
it('Question instructions should be visible', () => {
|
88
80
|
utilities.verifyInnerText(fillInTheGapsDragAndDropPage.questionInstructionsText(), 'Drag and drop the options in appropriate dropzone');
|
89
81
|
utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.questionInstructionsText(), 'visible');
|
90
|
-
cy.eyesCheckWindow(`Fill in the gaps drag and drop - ${view} - Options with image, equation, and bold text`);
|
91
82
|
});
|
92
83
|
|
93
84
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
@@ -99,7 +90,7 @@ describe('Preview tab contents for all views', () => {
|
|
99
90
|
fillInTheGapsDragAndDropPage.steps.verifyDropzoneTextPreviewTab(2, '');
|
100
91
|
});
|
101
92
|
|
102
|
-
it(`When the user has added image, equation, bold text to the options input fields, then they should be displayed in the options container`, () => {
|
93
|
+
it(`When the user has added image, equation, bold text to the options input fields, then they should be displayed in the options container in ${view}`, () => {
|
103
94
|
fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionWithImageInPreviewTab(0);
|
104
95
|
fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionWithBoldTextInPreviewTab(1);
|
105
96
|
fillInTheGapsDragAndDropPage.steps.verifyDraggableOptionWithEquationTextInPreviewTab(2);
|
@@ -134,12 +125,13 @@ describe('Preview tab contents for all views', () => {
|
|
134
125
|
fillInTheGapsDragAndDropPage.steps.verifyDropzoneIsNotEditableInGradingView();
|
135
126
|
});
|
136
127
|
} else {
|
137
|
-
it(
|
128
|
+
it('The dropzone should be displayed filled with answers', () => {
|
138
129
|
utilities.verifyElementCount(fillInTheGapsDragAndDropPage.dropzonePreviewTab(), 3);
|
139
130
|
fillInTheGapsDragAndDropPage.steps.verifyDropzoneTextPreviewTab(2, 'Petals');
|
140
131
|
fillInTheGapsDragAndDropPage.steps.verifyDropzoneWithImageInPreviewTab(2);
|
141
132
|
fillInTheGapsDragAndDropPage.steps.verifyDropzoneTextPreviewTab(0, 'This is a bold option');
|
142
|
-
|
133
|
+
//Note: Equation needs to be checked manually in correct answer view
|
134
|
+
// fillInTheGapsDragAndDropPage.steps.verifyDropzoneWithEquationTextInPreviewTab(1);
|
143
135
|
});
|
144
136
|
}
|
145
137
|
});
|