itemengine-cypress-automation 1.0.284-applitools-38637bb.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 -36
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -14
- 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/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -10
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -10
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- 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 -17
- 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 -10
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -10
- 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 -35
- 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 -14
- 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 -13
- 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 -14
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -15
- 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 -12
- 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 -14
- 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 -14
- 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 -14
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +6 -14
- 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 -10
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -10
- 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 -14
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -10
- 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 -13
- 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 -12
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -12
- 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 -18
- 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
@@ -0,0 +1,239 @@
|
|
1
|
+
import { dialogBoxBase, matchingPage, studentViewPage, itemPreviewPage, gradingViewPage } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
import utilities from "../../../../support/helpers/utilities";
|
4
|
+
const promptTextArray = ['Wild', 'Aquatic', 'Pet'];
|
5
|
+
const optionsArray = ['Cat', 'Elephant', 'Fish', 'Bear', 'Eagle', 'Penguin'];
|
6
|
+
|
7
|
+
describe('Create item page - Matching: Scoring for blank responses', () => {
|
8
|
+
before(() => {
|
9
|
+
cy.loginAs('admin');
|
10
|
+
});
|
11
|
+
|
12
|
+
describe(`Auto scored - All or nothing scoring`, () => {
|
13
|
+
abortEarlySetup();
|
14
|
+
before(() => {
|
15
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
16
|
+
cy.barsPreLoaderWait();
|
17
|
+
matchingPage.steps.addTextInQuestionInstructionsInputField('Match the following');
|
18
|
+
matchingPage.steps.selectAutoScoredScoringSubtype('All or nothing')
|
19
|
+
matchingPage.steps.allotPoints(10);
|
20
|
+
matchingPage.steps.addMultipleOptionFields(3);
|
21
|
+
matchingPage.steps.enterTextInPromptInputField(promptTextArray);
|
22
|
+
matchingPage.steps.enterTextInOptionInputField(optionsArray);
|
23
|
+
matchingPage.steps.switchToPreviewTab();
|
24
|
+
});
|
25
|
+
|
26
|
+
it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'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', () => {
|
27
|
+
matchingPage.steps.switchToGradingView();
|
28
|
+
matchingPage.steps.verifyPreviewScore(0, 10);
|
29
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
30
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
31
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
32
|
+
matchingPage.steps.verifyDropzoneNumeration();
|
33
|
+
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
34
|
+
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
35
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[''],[''],['']]);
|
36
|
+
});
|
37
|
+
|
38
|
+
it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the responses, full points should be allocated and correct answer section should not be displayed', () => {
|
39
|
+
matchingPage.steps.resetQuestionPreview();
|
40
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }]);
|
41
|
+
matchingPage.steps.clickAndDropOptionOutsideDropzoneWithIndexPreviewTab(0);
|
42
|
+
matchingPage.steps.switchToGradingView();
|
43
|
+
matchingPage.steps.verifyPreviewScore(10, 10);
|
44
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(0);
|
45
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(1);
|
46
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(2);
|
47
|
+
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
48
|
+
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
49
|
+
});
|
50
|
+
|
51
|
+
it('When the user has not set any answer in the \'Specify correct answer\' section and enters incorrect response in any response in the preview tab then correct icons should be displayed beside the empty responses, incorrect icons should be displayed beside incorrect responses, no points should be allocated and correct answer section should be displayed', () => {
|
52
|
+
matchingPage.steps.resetQuestionPreview();
|
53
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }]);
|
54
|
+
matchingPage.steps.switchToGradingView();
|
55
|
+
matchingPage.steps.verifyPreviewScore(0, 10);
|
56
|
+
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
57
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(1);
|
58
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(2);
|
59
|
+
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
60
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[''],[''],['']]);
|
61
|
+
});
|
62
|
+
|
63
|
+
it('When the user sets an partial blank answer in the \'Specify correct answer\' section then on switching to \'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', () => {
|
64
|
+
matchingPage.steps.switchToEditTab();
|
65
|
+
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
66
|
+
matchingPage.steps.switchToPreviewTab();
|
67
|
+
matchingPage.steps.switchToGradingView();
|
68
|
+
matchingPage.steps.verifyPreviewScore(0, 10);
|
69
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
70
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
71
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
72
|
+
matchingPage.steps.verifyDropzoneNumeration();
|
73
|
+
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
74
|
+
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
75
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
76
|
+
});
|
77
|
+
|
78
|
+
it('When the user has set an partial blank answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, no points should be allocated and correct answer section should be displayed', () => {
|
79
|
+
matchingPage.steps.resetQuestionPreview();
|
80
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }]);
|
81
|
+
matchingPage.steps.clickAndDropOptionOutsideDropzoneWithIndexPreviewTab(0);
|
82
|
+
matchingPage.steps.switchToGradingView();
|
83
|
+
matchingPage.steps.verifyPreviewScore(0, 10);
|
84
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
85
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(1);
|
86
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
87
|
+
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
88
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
89
|
+
});
|
90
|
+
|
91
|
+
it('When the user has set an partial blank answer in the \'Specify correct answer\' section and enters responses in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, correct icon should be displayed for blank response, no points should be allocated and correct answer section should be displayed', () => {
|
92
|
+
matchingPage.steps.resetQuestionPreview();
|
93
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Elephant', dropzoneIndex: 0 }]);
|
94
|
+
matchingPage.steps.switchToGradingView();
|
95
|
+
matchingPage.steps.verifyPreviewScore(0, 10);
|
96
|
+
matchingPage.steps.verifyCorrectOptionIcon(0);
|
97
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(1);
|
98
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
99
|
+
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
100
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
101
|
+
});
|
102
|
+
|
103
|
+
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', () => {
|
104
|
+
matchingPage.steps.resetQuestionPreview();
|
105
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Elephant', dropzoneIndex: 2 }]);
|
106
|
+
matchingPage.steps.verifyPreviewScore(0, 10);
|
107
|
+
matchingPage.steps.switchToGradingView();
|
108
|
+
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
109
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
110
|
+
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
111
|
+
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
112
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
113
|
+
});
|
114
|
+
|
115
|
+
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', () => {
|
116
|
+
matchingPage.steps.resetQuestionPreview();
|
117
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
118
|
+
matchingPage.steps.verifyPreviewScore(10, 10);
|
119
|
+
matchingPage.steps.switchToGradingView();
|
120
|
+
matchingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
121
|
+
matchingPage.steps.verifyCorrectOptionIcon(0);
|
122
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(1);
|
123
|
+
matchingPage.steps.verifyCorrectOptionIcon(2);
|
124
|
+
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
125
|
+
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
126
|
+
});
|
127
|
+
});
|
128
|
+
|
129
|
+
describe(`Auto scored - Partial equal weights`, () => {
|
130
|
+
abortEarlySetup();
|
131
|
+
before(() => {
|
132
|
+
matchingPage.steps.navigateToCreateQuestion('matching');
|
133
|
+
cy.barsPreLoaderWait();
|
134
|
+
matchingPage.steps.addTextInQuestionInstructionsInputField('Match the following');
|
135
|
+
matchingPage.steps.allotPoints(24);
|
136
|
+
matchingPage.steps.addMultipleOptionFields(3);
|
137
|
+
matchingPage.steps.enterTextInPromptInputField(promptTextArray);
|
138
|
+
matchingPage.steps.enterTextInOptionInputField(optionsArray);
|
139
|
+
matchingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
140
|
+
matchingPage.steps.switchToPreviewTab();
|
141
|
+
});
|
142
|
+
|
143
|
+
it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'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', () => {
|
144
|
+
matchingPage.steps.switchToGradingView();
|
145
|
+
matchingPage.steps.verifyPreviewScore(0, 24);
|
146
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
147
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
148
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
149
|
+
matchingPage.steps.verifyDropzoneNumeration();
|
150
|
+
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
151
|
+
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
152
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[''],[''],['']]);
|
153
|
+
});
|
154
|
+
|
155
|
+
it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the responses, full points should be allocated and correct answer section should not be displayed', () => {
|
156
|
+
matchingPage.steps.resetQuestionPreview();
|
157
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }]);
|
158
|
+
matchingPage.steps.clickAndDropOptionOutsideDropzoneWithIndexPreviewTab(0);
|
159
|
+
matchingPage.steps.switchToGradingView();
|
160
|
+
matchingPage.steps.verifyPreviewScore(24, 24);
|
161
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(0);
|
162
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(1);
|
163
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(2);
|
164
|
+
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
165
|
+
});
|
166
|
+
|
167
|
+
it('When the user has not set any answer in the \'Specify correct answer\' section and enters incorrect response in any response in the preview tab then correct icons should be displayed beside the empty responses, incorrect icons should be displayed beside incorrect responses, points for the correct answers should be allocated and correct answer section should be displayed', () => {
|
168
|
+
matchingPage.steps.resetQuestionPreview();
|
169
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }]);
|
170
|
+
matchingPage.steps.switchToGradingView();
|
171
|
+
matchingPage.steps.verifyPreviewScore(16, 24);
|
172
|
+
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
173
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(1);
|
174
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(2);
|
175
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[''],[''],['']]);
|
176
|
+
});
|
177
|
+
|
178
|
+
it('When the user sets an partial blank answer in the \'Specify correct answer\' section then on switching to \'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', () => {
|
179
|
+
matchingPage.steps.switchToEditTab();
|
180
|
+
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
181
|
+
matchingPage.steps.switchToPreviewTab();
|
182
|
+
matchingPage.steps.verifyPreviewScore(0, 24);
|
183
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
184
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
185
|
+
matchingPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
186
|
+
matchingPage.steps.switchToGradingView();
|
187
|
+
matchingPage.steps.verifyDropzoneNumeration();
|
188
|
+
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
189
|
+
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
190
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
191
|
+
});
|
192
|
+
|
193
|
+
it('When the user has set an partial blank answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, points should be allocated for the correct answers and correct answer section should be displayed', () => {
|
194
|
+
matchingPage.steps.resetQuestionPreview();
|
195
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Bear', dropzoneIndex: 0 }]);
|
196
|
+
matchingPage.steps.clickAndDropOptionOutsideDropzoneWithIndexPreviewTab(0);
|
197
|
+
matchingPage.steps.switchToGradingView();
|
198
|
+
matchingPage.steps.verifyPreviewScore(8, 24);
|
199
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
200
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(1);
|
201
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
202
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
203
|
+
});
|
204
|
+
|
205
|
+
it('When the user has set an partial blank answer in the \'Specify correct answer\' section and enters responses in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, correct icon should be displayed for blank response, points should be allocated for the correct answers and correct answer section should be displayed', () => {
|
206
|
+
matchingPage.steps.resetQuestionPreview();
|
207
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Elephant', dropzoneIndex: 0 }]);
|
208
|
+
matchingPage.steps.switchToGradingView();
|
209
|
+
matchingPage.steps.verifyPreviewScore(16, 24);
|
210
|
+
matchingPage.steps.verifyCorrectOptionIcon(0);
|
211
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(1);
|
212
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
213
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
214
|
+
});
|
215
|
+
|
216
|
+
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', () => {
|
217
|
+
matchingPage.steps.resetQuestionPreview();
|
218
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Elephant', dropzoneIndex: 2 }]);
|
219
|
+
matchingPage.steps.verifyPreviewScore(0, 24);
|
220
|
+
matchingPage.steps.switchToGradingView();
|
221
|
+
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
222
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
223
|
+
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
224
|
+
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
225
|
+
});
|
226
|
+
|
227
|
+
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', () => {
|
228
|
+
matchingPage.steps.resetQuestionPreview();
|
229
|
+
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
230
|
+
matchingPage.steps.verifyPreviewScore(24, 24);
|
231
|
+
matchingPage.steps.switchToGradingView();
|
232
|
+
matchingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
233
|
+
matchingPage.steps.verifyCorrectOptionIcon(0);
|
234
|
+
matchingPage.steps.verifyCorrectOptionIconForEmptyOption(1);
|
235
|
+
matchingPage.steps.verifyCorrectOptionIcon(2);
|
236
|
+
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
237
|
+
});
|
238
|
+
});
|
239
|
+
});
|
@@ -97,7 +97,7 @@ describe('Create Item page - Matching: Manually and non scored', () => {
|
|
97
97
|
/*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 \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
|
98
98
|
matchingPage.steps.checkAnswer();
|
99
99
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
100
|
-
matchingPage.steps.
|
100
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
101
101
|
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
102
102
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
103
103
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -115,7 +115,7 @@ describe('Create Item page - Matching: Manually and non scored', () => {
|
|
115
115
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
116
116
|
/*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 \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
|
117
117
|
matchingPage.steps.checkAnswer();
|
118
|
-
matchingPage.steps.
|
118
|
+
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
119
119
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
120
120
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
121
121
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -67,7 +67,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
67
67
|
/*cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed besides incorrect answer response, a status message should not be displayed and correct answer section should not be displayed')
|
68
68
|
matchingPage.steps.checkAnswer();
|
69
69
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
70
|
-
matchingPage.steps.
|
70
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
71
71
|
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
72
72
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
73
73
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -86,7 +86,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
86
86
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
87
87
|
/*cy.log('When the user attempts the question partially correct with all the responses correctly attempted but one response incomplete and clicks on \'Check answer\' green check-mark should be displayed besides the correct answer responses, red cross-mark should be displayed besides incorrect answer response, a status message should not be displayed and correct answer section should not be displayed')
|
88
88
|
matchingPage.steps.checkAnswer();
|
89
|
-
matchingPage.steps.
|
89
|
+
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
90
90
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
91
91
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
92
92
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -91,7 +91,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
91
91
|
matchingPage.steps.checkAnswer();
|
92
92
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
93
93
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
94
|
-
matchingPage.steps.
|
94
|
+
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
95
95
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
96
96
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
97
97
|
});
|
@@ -111,7 +111,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
111
111
|
matchingPage.steps.checkAnswer();
|
112
112
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
113
113
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
114
|
-
matchingPage.steps.
|
114
|
+
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
115
115
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
116
116
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
117
117
|
});
|
@@ -130,7 +130,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
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 green check-mark should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, status message 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.verifyIncorrectOptionIcon(1);
|
134
134
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
135
135
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
136
136
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -189,8 +189,8 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
189
189
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
190
190
|
/*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 status message and correct answer section should not be displayed')
|
191
191
|
matchingPage.steps.checkAnswer();
|
192
|
-
matchingPage.steps.
|
193
|
-
matchingPage.steps.
|
192
|
+
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
193
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
194
194
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
195
195
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
196
196
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -210,8 +210,8 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
210
210
|
/*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 status message and correct answer section should not be displayed')
|
211
211
|
matchingPage.steps.checkAnswer();
|
212
212
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
213
|
-
matchingPage.steps.
|
214
|
-
matchingPage.steps.
|
213
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
214
|
+
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
215
215
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
216
216
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
217
217
|
});
|
@@ -91,7 +91,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
91
91
|
matchingPage.steps.checkAnswer();
|
92
92
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
93
93
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
94
|
-
matchingPage.steps.
|
94
|
+
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
95
95
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
96
96
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
97
97
|
});
|
@@ -111,7 +111,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
111
111
|
matchingPage.steps.checkAnswer();
|
112
112
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
113
113
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
114
|
-
matchingPage.steps.
|
114
|
+
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
115
115
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
116
116
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
117
117
|
});
|
@@ -130,7 +130,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
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 green check-mark should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section should not be displayed')
|
131
131
|
matchingPage.steps.checkAnswer();
|
132
132
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
133
|
-
matchingPage.steps.
|
133
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
134
134
|
matchingPage.steps.verifyCorrectOptionIcon(2)
|
135
135
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
136
136
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -189,8 +189,8 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
189
189
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
190
190
|
/*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')
|
191
191
|
matchingPage.steps.checkAnswer();
|
192
|
-
matchingPage.steps.
|
193
|
-
matchingPage.steps.
|
192
|
+
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
193
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
194
194
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
195
195
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
196
196
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -210,8 +210,8 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
210
210
|
/*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')
|
211
211
|
matchingPage.steps.checkAnswer();
|
212
212
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
213
|
-
matchingPage.steps.
|
214
|
-
matchingPage.steps.
|
213
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
214
|
+
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
215
215
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
216
216
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
217
217
|
});
|
@@ -91,7 +91,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
91
91
|
matchingPage.steps.checkAnswer();
|
92
92
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
93
93
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
94
|
-
matchingPage.steps.
|
94
|
+
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
95
95
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
96
96
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
97
97
|
});
|
@@ -111,7 +111,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
111
111
|
matchingPage.steps.checkAnswer();
|
112
112
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
113
113
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
114
|
-
matchingPage.steps.
|
114
|
+
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
115
115
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
116
116
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
117
117
|
});
|
@@ -130,7 +130,7 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
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 green check-mark should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message should not be displayed and correct answer section should not be displayed')
|
131
131
|
matchingPage.steps.checkAnswer();
|
132
132
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
133
|
-
matchingPage.steps.
|
133
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
134
134
|
matchingPage.steps.verifyCorrectOptionIcon(2)
|
135
135
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
136
136
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -189,8 +189,8 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
189
189
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
190
190
|
/*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')
|
191
191
|
matchingPage.steps.checkAnswer();
|
192
|
-
matchingPage.steps.
|
193
|
-
matchingPage.steps.
|
192
|
+
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
193
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
194
194
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
195
195
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
196
196
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -210,8 +210,8 @@ describe('Create item page - Matching: Partial different weights', () => {
|
|
210
210
|
/*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')
|
211
211
|
matchingPage.steps.checkAnswer();
|
212
212
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
213
|
-
matchingPage.steps.
|
214
|
-
matchingPage.steps.
|
213
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
214
|
+
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
215
215
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
216
216
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
217
217
|
});
|
@@ -48,8 +48,8 @@ describe('Create item page - Matching: Partial equal weights', () => {
|
|
48
48
|
/*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')
|
49
49
|
matchingPage.steps.checkAnswer();
|
50
50
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
51
|
-
matchingPage.steps.
|
52
|
-
matchingPage.steps.
|
51
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
52
|
+
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
53
53
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
54
54
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
55
55
|
});
|
@@ -68,7 +68,7 @@ describe('Create item page - Matching: Partial equal weights', () => {
|
|
68
68
|
/*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')
|
69
69
|
matchingPage.steps.checkAnswer();
|
70
70
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
71
|
-
matchingPage.steps.
|
71
|
+
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
72
72
|
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
73
73
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
74
74
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -87,7 +87,7 @@ describe('Create item page - Matching: Partial equal weights', () => {
|
|
87
87
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
88
88
|
/*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')
|
89
89
|
matchingPage.steps.checkAnswer();
|
90
|
-
matchingPage.steps.
|
90
|
+
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
91
91
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
92
92
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
93
93
|
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
@@ -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([['Bear'], ['Penguin'], ['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([['Bear'], ['Penguin'], ['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([['Bear'], ['Penguin'], ['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 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([['Bear'], ['Penguin'], ['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([['Bear'], ['Penguin'], ['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
|
});
|