itemengine-cypress-automation 1.0.284-RepoUpdate13thJan-c7ac0b4.0 → 1.0.285-applitools-da9f1a8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -26
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -4
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +11 -2
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +17 -8
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +3 -3
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +17 -8
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +15 -6
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +6 -7
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +9 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +10 -11
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +15 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +19 -21
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +8 -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/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 +15 -6
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +16 -6
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +9 -1
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +15 -5
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +11 -2
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +14 -4
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/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 +14 -5
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -3
- 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/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +19 -10
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +11 -2
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +14 -4
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +3 -2
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +10 -0
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +10 -1
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +5 -6
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +23 -14
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -6
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -193
- 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 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +13 -4
- 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 +13 -5
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -4
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +16 -6
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +11 -1
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +16 -6
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +14 -4
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -9
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/applitools.config.js +14 -0
- package/cypress/pages/audioPlayerPage.js +4 -4
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +0 -17
- package/cypress/pages/components/equationEditorFlyout.js +1 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +3 -1
- package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -5
- package/cypress/pages/components/gridQuestionCommonComponent.js +1 -41
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/createItemPage.js +1 -38
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -45
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +2 -35
- package/cypress/pages/listOrderingPage.js +1 -1
- package/cypress/pages/matchingPage.js +7 -34
- package/cypress/pages/multipleSelectionPage.js +2 -17
- package/cypress/pages/numberLineLabelPage.js +3 -3
- package/cypress/pages/readingRulerPage.js +3 -5
- package/cypress/pages/singleSelectionPage.js +2 -5
- package/cypress/pages/textEntryMathPage.js +5 -19
- package/cypress/pages/textSelectionPage.js +1 -1
- package/cypress/support/commands.js +11 -0
- package/cypress/support/e2e.js +1 -0
- package/package.json +4 -1
- package/cypress/e2e/ILC/EditItem/editItem.ts +0 -133
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +0 -214
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +0 -228
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +0 -242
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +0 -245
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +0 -237
- package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +0 -239
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +0 -212
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +0 -366
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +0 -306
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -243
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -242
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -289
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -284
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -238
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -279
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +0 -641
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -278
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -228
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -234
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -237
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -134
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -138
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -263
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -166
@@ -1,237 +0,0 @@
|
|
1
|
-
import { dialogBoxBase, fillInTheGapsTextPage, gradingViewPage, itemPreviewPage, studentViewPage } from "../../../../pages";
|
2
|
-
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
-
import utilities from "../../../../support/helpers/utilities";
|
4
|
-
var itemReferenceID = "";
|
5
|
-
|
6
|
-
describe('Create item page - Fill in the gaps with text: Partial equal weights for blank responses', () => {
|
7
|
-
before(() => {
|
8
|
-
cy.loginAs('admin');
|
9
|
-
});
|
10
|
-
|
11
|
-
describe(`Auto scored - All or nothing scoring`, () => {
|
12
|
-
abortEarlySetup();
|
13
|
-
before(() => {
|
14
|
-
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
15
|
-
cy.barsPreLoaderWait();
|
16
|
-
fillInTheGapsTextPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
|
17
|
-
fillInTheGapsTextPage.steps.allotPoints(24);
|
18
|
-
fillInTheGapsTextPage.steps.addResponseArea();
|
19
|
-
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
20
|
-
});
|
21
|
-
|
22
|
-
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', () => {
|
23
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
24
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
25
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
26
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
27
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
28
|
-
fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
|
29
|
-
utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
|
30
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
31
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
|
32
|
-
});
|
33
|
-
|
34
|
-
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', () => {
|
35
|
-
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
36
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
|
37
|
-
fillInTheGapsTextPage.steps.clearAnswerInputFieldPreviewTab(0);
|
38
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
39
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(24, 24);
|
40
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
41
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
42
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
43
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
44
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
45
|
-
});
|
46
|
-
|
47
|
-
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', () => {
|
48
|
-
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
49
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }]);
|
50
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
51
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
52
|
-
//Failing due to https://redmine.zeuslearning.com/issues/588679
|
53
|
-
// fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
54
|
-
// fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
55
|
-
// fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
56
|
-
// fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
57
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
|
58
|
-
});
|
59
|
-
|
60
|
-
it('When the user sets an 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', () => {
|
61
|
-
fillInTheGapsTextPage.steps.switchToEditTab();
|
62
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Stem' }]);
|
63
|
-
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
64
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
65
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
66
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
67
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
68
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
69
|
-
fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
70
|
-
fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
|
71
|
-
utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
|
72
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
73
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
74
|
-
});
|
75
|
-
|
76
|
-
it('When the user has set an 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', () => {
|
77
|
-
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
78
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
|
79
|
-
fillInTheGapsTextPage.steps.clearAnswerInputFieldPreviewTab(0);
|
80
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
81
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
82
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
83
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
84
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
85
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
86
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
87
|
-
});
|
88
|
-
|
89
|
-
it('When the user has set an 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, points should be allocated for the correct answers and correct answer section should be displayed', () => {
|
90
|
-
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
91
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }]);
|
92
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
93
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
94
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
95
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
96
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
97
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
98
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
99
|
-
});
|
100
|
-
|
101
|
-
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', () => {
|
102
|
-
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
103
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }, { responseIndex: 1, responseText: 'Rose' }, { responseIndex: 2, responseText: 'Sunflower' }]);
|
104
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
105
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
106
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
107
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
108
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
109
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
110
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
111
|
-
});
|
112
|
-
|
113
|
-
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', () => {
|
114
|
-
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
115
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Stem' }]);
|
116
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(24, 24);
|
117
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
118
|
-
fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
119
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
120
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
121
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
122
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
123
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
124
|
-
});
|
125
|
-
});
|
126
|
-
|
127
|
-
describe(`Auto scored - Partial equal weights`, () => {
|
128
|
-
abortEarlySetup();
|
129
|
-
before(() => {
|
130
|
-
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
131
|
-
cy.barsPreLoaderWait();
|
132
|
-
fillInTheGapsTextPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
|
133
|
-
fillInTheGapsTextPage.steps.selectAutoScoredScoringSubtype('Partial equal weights')
|
134
|
-
fillInTheGapsTextPage.steps.allotPoints(24);
|
135
|
-
fillInTheGapsTextPage.steps.addResponseArea();
|
136
|
-
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
137
|
-
});
|
138
|
-
|
139
|
-
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', () => {
|
140
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
141
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
142
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
143
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
144
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
145
|
-
fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
|
146
|
-
utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
|
147
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
148
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
|
149
|
-
});
|
150
|
-
|
151
|
-
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', () => {
|
152
|
-
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
153
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
|
154
|
-
fillInTheGapsTextPage.steps.clearAnswerInputFieldPreviewTab(0);
|
155
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
156
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(24, 24);
|
157
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
158
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
159
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
160
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
161
|
-
});
|
162
|
-
|
163
|
-
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', () => {
|
164
|
-
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
165
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }]);
|
166
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
167
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(16, 24);
|
168
|
-
//Failing due to https://redmine.zeuslearning.com/issues/588679
|
169
|
-
// fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
170
|
-
// fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
171
|
-
// fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
172
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
|
173
|
-
});
|
174
|
-
|
175
|
-
it('When the user sets an 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', () => {
|
176
|
-
fillInTheGapsTextPage.steps.switchToEditTab();
|
177
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Stem' }]);
|
178
|
-
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
179
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
180
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
181
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
182
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
183
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
184
|
-
fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
185
|
-
fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
|
186
|
-
utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
|
187
|
-
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
188
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
189
|
-
});
|
190
|
-
|
191
|
-
it('When the user has set an 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', () => {
|
192
|
-
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
193
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
|
194
|
-
fillInTheGapsTextPage.steps.clearAnswerInputFieldPreviewTab(0);
|
195
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
196
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(8, 24);
|
197
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
198
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
199
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
200
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
201
|
-
});
|
202
|
-
|
203
|
-
it('When the user has set an 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, points should be allocated for the correct answers and correct answer section should be displayed', () => {
|
204
|
-
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
205
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }]);
|
206
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
207
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(16, 24);
|
208
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
209
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
210
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
211
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
212
|
-
});
|
213
|
-
|
214
|
-
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', () => {
|
215
|
-
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
216
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }, { responseIndex: 1, responseText: 'Rose' }, { responseIndex: 2, responseText: 'Sunflower' }]);
|
217
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
218
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
219
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
220
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
221
|
-
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
222
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
223
|
-
});
|
224
|
-
|
225
|
-
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', () => {
|
226
|
-
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
227
|
-
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Stem' }]);
|
228
|
-
fillInTheGapsTextPage.steps.verifyPreviewScore(24, 24);
|
229
|
-
fillInTheGapsTextPage.steps.switchToGradingView();
|
230
|
-
fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
231
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
232
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
233
|
-
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
234
|
-
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
235
|
-
});
|
236
|
-
});
|
237
|
-
});
|
@@ -1,239 +0,0 @@
|
|
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
|
-
});
|