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
@@ -9,19 +9,11 @@ var itemReferenceID = "";
|
|
9
9
|
const options = ['sprout', 'plant', 'flower', 'seed'];
|
10
10
|
const correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
|
11
11
|
|
12
|
-
describe('Create item page - List ordering
|
12
|
+
describe('Create item page - List ordering: All or nothing for "Horizontal" option orientation', () => {
|
13
13
|
before(() => {
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
views.forEach((view) => {
|
26
18
|
describe(`${view}: Auto scored - All or nothing scoring`, { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -77,7 +69,7 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
|
|
77
69
|
});
|
78
70
|
};
|
79
71
|
if (view === 'Question preview' || view === 'Item preview') {
|
80
|
-
it(
|
72
|
+
it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
|
81
73
|
listOrderingPage.steps.verifyPreviewScore(0, 20);
|
82
74
|
listOrderingPage.steps.switchToGradingView();
|
83
75
|
listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
@@ -86,8 +78,7 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
|
|
86
78
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
87
79
|
});
|
88
80
|
}
|
89
|
-
|
90
|
-
it(`${view}: List ordering - Reorder as a separate list:Reorder as a separate list- Horizontal - 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 should be displayed`, () => {
|
81
|
+
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 should be displayed', () => {
|
91
82
|
listOrderingPage.steps.clickAndDropOptionSeperateList('sprout');
|
92
83
|
listOrderingPage.steps.clickAndDropOptionSeperateList('plant');
|
93
84
|
listOrderingPage.steps.clickAndDropOptionSeperateList('flower');
|
@@ -110,7 +101,7 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
|
|
110
101
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
111
102
|
});
|
112
103
|
|
113
|
-
it(
|
104
|
+
it('When the user attempts the question partially correct, 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 should be displayed', () => {
|
114
105
|
if (view === 'Grading view') {
|
115
106
|
studentViewPage.steps.clearResponses();
|
116
107
|
};
|
@@ -136,7 +127,7 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
|
|
136
127
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
137
128
|
});
|
138
129
|
|
139
|
-
it(
|
130
|
+
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', () => {
|
140
131
|
if (view === 'Grading view') {
|
141
132
|
studentViewPage.steps.clearResponses();
|
142
133
|
};
|
@@ -161,7 +152,6 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
|
|
161
152
|
listOrderingPage.steps.verifyCorrectOptionIconSeperateList('flower');
|
162
153
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
163
154
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
164
|
-
cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} view - Attempting the question correctly`);
|
165
155
|
});
|
166
156
|
});
|
167
157
|
});
|
@@ -14,14 +14,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
views.forEach((view) => {
|
26
18
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -88,10 +80,9 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
88
80
|
}
|
89
81
|
});
|
90
82
|
|
91
|
-
it(
|
83
|
+
it('Question instructions should be visible', () => {
|
92
84
|
utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
|
93
85
|
utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
|
94
|
-
cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} - Options with image, bold text and equation`);
|
95
86
|
});
|
96
87
|
|
97
88
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
@@ -102,7 +93,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
102
93
|
listOrderingPage.steps.verifyTextContentOfOptionInPreviewTabSeperateList('alpha', 3);
|
103
94
|
});
|
104
95
|
|
105
|
-
it(
|
96
|
+
it('User should be able to drop the options in the dropzone containing image, bold text and equation options in the list', () => {
|
106
97
|
listOrderingPage.steps.clickAndDropOptionSeperateList('This is a bold option');
|
107
98
|
listOrderingPage.steps.clickAndDropOptionSeperateList('Fox');
|
108
99
|
listOrderingPage.steps.clickAndDropOptionSeperateList('Solve the following');
|
@@ -136,7 +127,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
136
127
|
});
|
137
128
|
|
138
129
|
} else {
|
139
|
-
it(
|
130
|
+
it('The order of the options should be as per the correct answer order', () => {
|
140
131
|
listOrderingPage.steps.verifyOptionWithBoldTextInDropzoneCorrectAnswerSectionSeperateList(0);
|
141
132
|
listOrderingPage.steps.verifyOptionWithImageInDropzoneCorrectAnswerSectionTabSeperateList(1);
|
142
133
|
listOrderingPage.steps.verifyOptionWithEquationTextInDropzoneCorrectAnswerSectionSeperateList(2);
|
@@ -14,14 +14,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
if (!grepTags || !grepTags.includes('smoke')) {
|
26
18
|
describe('Question preview modes: Student view and Grading view', () => {
|
27
19
|
abortEarlySetup();
|
@@ -115,9 +107,8 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
115
107
|
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
116
108
|
});
|
117
109
|
};
|
118
|
-
|
119
110
|
if (view === 'Question preview' || view === 'Item preview') {
|
120
|
-
it(
|
111
|
+
it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
|
121
112
|
listOrderingPage.steps.verifyPreviewScore(0, 20);
|
122
113
|
listOrderingPage.steps.switchToGradingView();
|
123
114
|
listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
@@ -127,7 +118,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
127
118
|
});
|
128
119
|
};
|
129
120
|
|
130
|
-
it(
|
121
|
+
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 should be displayed', () => {
|
131
122
|
listOrderingPage.steps.clickAndDropOptionSeperateList('sprout');
|
132
123
|
listOrderingPage.steps.clickAndDropOptionSeperateList('plant');
|
133
124
|
listOrderingPage.steps.clickAndDropOptionSeperateList('flower');
|
@@ -150,7 +141,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
150
141
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
151
142
|
});
|
152
143
|
|
153
|
-
it(
|
144
|
+
it('When the user attempts the question partially correct, 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 should be displayed', () => {
|
154
145
|
if (view === 'Grading view') {
|
155
146
|
studentViewPage.steps.clearResponses();
|
156
147
|
};
|
@@ -176,7 +167,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
176
167
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
177
168
|
});
|
178
169
|
|
179
|
-
it(
|
170
|
+
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', () => {
|
180
171
|
if (view === 'Grading view') {
|
181
172
|
studentViewPage.steps.clearResponses();
|
182
173
|
};
|
@@ -201,7 +192,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
201
192
|
listOrderingPage.steps.verifyCorrectOptionIconSeperateList('flower');
|
202
193
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
203
194
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
204
|
-
cy.eyesCheckWindow(`List ordering:Reorder as a separate list ${view} view - Attempting the question correctly`);
|
205
195
|
});
|
206
196
|
});
|
207
197
|
});
|
package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js
CHANGED
@@ -14,14 +14,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
views.forEach((view) => {
|
26
18
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -65,6 +57,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
65
57
|
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
66
58
|
break;
|
67
59
|
case 'Grading view':
|
60
|
+
cy.wait(5000);
|
68
61
|
cy.visit(`/item-engine/demo/render-item/grading-view/${utilities.base64Encoding(itemReferenceID)}`);
|
69
62
|
break;
|
70
63
|
case 'Correct answer view':
|
@@ -87,10 +80,9 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
87
80
|
}
|
88
81
|
});
|
89
82
|
|
90
|
-
it(
|
83
|
+
it('Question instructions should be visible', () => {
|
91
84
|
utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
|
92
85
|
utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
|
93
|
-
cy.eyesCheckWindow(`List ordering: Reorder as a separate list - ${view} - Options container with image, bold text, and equation`);
|
94
86
|
});
|
95
87
|
|
96
88
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
@@ -100,7 +92,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
100
92
|
listOrderingPage.steps.verifyOptionWithEquationTextInOptionsContainerPreviewTabSeperateList(2);
|
101
93
|
});
|
102
94
|
|
103
|
-
it(
|
95
|
+
it('User should be able to drop the options in the dropzone containing image, bold text and equation options in the list', () => {
|
104
96
|
listOrderingPage.steps.clickAndDropOptionSeperateList('This is a bold option');
|
105
97
|
listOrderingPage.steps.clickAndDropOptionSeperateList('Fox');
|
106
98
|
listOrderingPage.steps.clickAndDropOptionSeperateList('Solve the following');
|
@@ -132,7 +124,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
132
124
|
listOrderingPage.steps.verifyTextContentOfOptionInDropzonePreviewTabSeperateList('alpha', 3);
|
133
125
|
});
|
134
126
|
} else {
|
135
|
-
it(
|
127
|
+
it('The order of the options should be as per the correct answer order', () => {
|
136
128
|
listOrderingPage.steps.verifyOptionWithBoldTextInDropzoneCorrectAnswerSectionSeperateList(0);
|
137
129
|
listOrderingPage.steps.verifyOptionWithImageInDropzoneCorrectAnswerSectionTabSeperateList(1);
|
138
130
|
listOrderingPage.steps.verifyOptionWithEquationTextInDropzoneCorrectAnswerSectionSeperateList(2);
|
@@ -56,7 +56,7 @@ describe('Create item page - Matching: All or nothing with grouped options layou
|
|
56
56
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Eagle', dropzoneIndex: 2 }]);
|
57
57
|
matchingPage.steps.switchToGradingView();
|
58
58
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
59
|
-
matchingPage.steps.
|
59
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
60
60
|
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
61
61
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
62
62
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -64,7 +64,7 @@ describe('Create item page - Matching: All or nothing with grouped options layou
|
|
64
64
|
/*cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' button, then incorrect icon should be displayed besides the dropzone incorrect response and correct icon should be displayed beside the correct response, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
|
65
65
|
matchingPage.steps.checkAnswer();
|
66
66
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
67
|
-
matchingPage.steps.
|
67
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
68
68
|
matchingPage.steps.verifyIncorrectOptionIcon(2);
|
69
69
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
70
70
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -75,7 +75,7 @@ describe('Create item page - Matching: All or nothing with grouped options layou
|
|
75
75
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Fish', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
76
76
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
77
77
|
matchingPage.steps.switchToGradingView();
|
78
|
-
matchingPage.steps.
|
78
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
79
79
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
80
80
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
81
81
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -83,7 +83,7 @@ describe('Create item page - Matching: All or nothing with grouped options layou
|
|
83
83
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
84
84
|
/*cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete and clicks on \'Check answer\' button, then no icon should be displayed besides the incomplete and correct icon should be displayed beside the correct response, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
|
85
85
|
matchingPage.steps.checkAnswer();
|
86
|
-
matchingPage.steps.
|
86
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
87
87
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
88
88
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
89
89
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -83,7 +83,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
88
88
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
89
89
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -91,7 +91,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
96
96
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
97
97
|
});
|
@@ -103,7 +103,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
108
108
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bear'], ['Penguin'], ['Cat']]);
|
109
109
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -111,7 +111,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
116
116
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
117
117
|
});
|
@@ -121,7 +121,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
121
121
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Fish', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
122
122
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
123
123
|
matchingPage.steps.switchToGradingView();
|
124
|
-
matchingPage.steps.
|
124
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
125
125
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
126
126
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
127
127
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -129,7 +129,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
129
129
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
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, incorrect icon should be displayed besides the responses from the alternative accordion and no icon should be displayed for unattempted response a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
131
131
|
matchingPage.steps.checkAnswer();
|
132
|
-
matchingPage.steps.
|
132
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
133
133
|
matchingPage.steps.verifyIncorrectOptionIcon(1);
|
134
134
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
135
135
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -161,16 +161,16 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
161
161
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 2 }]);
|
162
162
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
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 for unattempted response a status message with text \'Your answer is incorrect\' 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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
176
176
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -182,16 +182,16 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
182
182
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
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 for unattempted response a status message with text \'Your answer is incorrect\' 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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
196
196
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
197
197
|
});
|
package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js
CHANGED
@@ -83,7 +83,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
88
88
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
89
89
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -91,7 +91,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
96
96
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
97
97
|
});
|
@@ -103,7 +103,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
108
108
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
109
109
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -111,7 +111,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
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.verifyCorrectIncorrectAnswerLabel('incorrect');
|
116
116
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
117
117
|
});
|
@@ -123,7 +123,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
123
123
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
124
124
|
matchingPage.steps.switchToGradingView();
|
125
125
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
126
|
-
matchingPage.steps.
|
126
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
127
127
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
128
128
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
129
129
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -131,7 +131,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
131
131
|
/*cy.log('When the user has attempted the question with partially correct with all the response correct as per the alternative accordion but one response incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion and alternative accordion and no icon should be displayed beside unattempted response, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
132
132
|
matchingPage.steps.checkAnswer();
|
133
133
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
134
|
-
matchingPage.steps.
|
134
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
135
135
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
136
136
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
137
137
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -162,16 +162,16 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
162
162
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 2 }]);
|
163
163
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
164
164
|
matchingPage.steps.switchToGradingView();
|
165
|
-
matchingPage.steps.
|
166
|
-
matchingPage.steps.
|
165
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
166
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
167
167
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
168
168
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
169
169
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
170
170
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
171
171
|
/*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 with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
172
172
|
matchingPage.steps.checkAnswer();
|
173
|
-
matchingPage.steps.
|
174
|
-
matchingPage.steps.
|
173
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
174
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
175
175
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
176
176
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
177
177
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -183,16 +183,16 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
183
183
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
184
184
|
matchingPage.steps.switchToGradingView();
|
185
185
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
186
|
-
matchingPage.steps.
|
187
|
-
matchingPage.steps.
|
186
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
187
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
188
188
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
189
189
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
190
190
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
191
191
|
/*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 with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
192
192
|
matchingPage.steps.checkAnswer();
|
193
193
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
194
|
-
matchingPage.steps.
|
195
|
-
matchingPage.steps.
|
194
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
195
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
196
196
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
197
197
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
198
198
|
});
|
@@ -135,7 +135,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
135
135
|
matchingPage.steps.switchToGradingView();
|
136
136
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
137
137
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
138
|
-
matchingPage.steps.
|
138
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
139
139
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
140
140
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
141
141
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -143,7 +143,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
143
143
|
matchingPage.steps.checkAnswer();
|
144
144
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
145
145
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
146
|
-
matchingPage.steps.
|
146
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
147
147
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
148
148
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
149
149
|
});
|
@@ -155,7 +155,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
155
155
|
matchingPage.steps.switchToGradingView();
|
156
156
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
157
157
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
158
|
-
matchingPage.steps.
|
158
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
159
159
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
160
160
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
161
161
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -163,7 +163,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
163
163
|
matchingPage.steps.checkAnswer();
|
164
164
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
165
165
|
matchingPage.steps.verifyCorrectOptionIcon(1);
|
166
|
-
matchingPage.steps.
|
166
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
167
167
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
168
168
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
169
169
|
});
|
@@ -174,7 +174,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
174
174
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
175
175
|
matchingPage.steps.switchToGradingView();
|
176
176
|
matchingPage.steps.verifyCorrectOptionIcon(0);
|
177
|
-
matchingPage.steps.
|
177
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
178
178
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
179
179
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
180
180
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
@@ -182,7 +182,7 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
182
182
|
/*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, incorrect icon should be displayed besides the responses from the alternative accordion and no icon should be displayed beside unattempted response, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
183
183
|
matchingPage.steps.checkAnswer();
|
184
184
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
185
|
-
matchingPage.steps.
|
185
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
186
186
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
187
187
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
188
188
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -213,16 +213,16 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
213
213
|
matchingPage.steps.clickAndDropOptionInDropzonePreviewTab([{ optionText: 'Cat', dropzoneIndex: 2 }]);
|
214
214
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
215
215
|
matchingPage.steps.switchToGradingView();
|
216
|
-
matchingPage.steps.
|
217
|
-
matchingPage.steps.
|
216
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
217
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
218
218
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
219
219
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
220
220
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
221
221
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
222
222
|
/*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 with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
223
223
|
matchingPage.steps.checkAnswer();
|
224
|
-
matchingPage.steps.
|
225
|
-
matchingPage.steps.
|
224
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(0);
|
225
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
226
226
|
matchingPage.steps.verifyCorrectOptionIcon(2);
|
227
227
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
228
228
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -234,16 +234,16 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
234
234
|
matchingPage.steps.verifyPreviewScore(0, 20);
|
235
235
|
matchingPage.steps.switchToGradingView();
|
236
236
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
237
|
-
matchingPage.steps.
|
238
|
-
matchingPage.steps.
|
237
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
238
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
239
239
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
240
240
|
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'], ['Fish'], ['Cat']]);
|
241
241
|
matchingPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
242
242
|
/*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 with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
243
243
|
matchingPage.steps.checkAnswer();
|
244
244
|
matchingPage.steps.verifyIncorrectOptionIcon(0);
|
245
|
-
matchingPage.steps.
|
246
|
-
matchingPage.steps.
|
245
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(1);
|
246
|
+
matchingPage.steps.verifyIncorrectOptionIconForEmptyOption(2);
|
247
247
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
248
248
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
249
249
|
});
|