itemengine-cypress-automation 1.0.284-RepoUpdate13thJan-c7ac0b4.0 → 1.0.284-applitools-38637bb.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 +36 -26
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +14 -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/gradingViewAndCorrectAnswerViewContents.smoke.js +10 -0
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +10 -1
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +17 -8
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- 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 +17 -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 +10 -1
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +10 -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 +35 -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 +14 -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 +13 -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 +14 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +15 -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 +12 -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 +14 -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 +14 -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 +14 -5
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +14 -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 +10 -1
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +14 -6
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +10 -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 +13 -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 +12 -3
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +12 -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 +18 -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,212 +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-Dropdown: 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.selectOptionLayoutToggleButton('Dropdown menu');
|
19
|
-
matchingPage.steps.selectAutoScoredScoringSubtype('All or nothing')
|
20
|
-
matchingPage.steps.allotPoints(10);
|
21
|
-
matchingPage.steps.addMultipleOptionFields(3);
|
22
|
-
matchingPage.steps.enterTextInPromptInputField(promptTextArray);
|
23
|
-
matchingPage.steps.enterTextInOptionInputField(optionsArray);
|
24
|
-
matchingPage.steps.switchToPreviewTab();
|
25
|
-
});
|
26
|
-
|
27
|
-
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, dropdown 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', () => {
|
28
|
-
matchingPage.steps.switchToGradingView();
|
29
|
-
matchingPage.steps.verifyPreviewScore(0, 10);
|
30
|
-
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
31
|
-
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
32
|
-
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
33
|
-
matchingPage.steps.verifyDropdownNumeration(0);
|
34
|
-
matchingPage.steps.verifyDropdownNumeration(1);
|
35
|
-
matchingPage.steps.verifyDropdownNumeration(2);
|
36
|
-
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
37
|
-
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
38
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[''], [''], ['']]);
|
39
|
-
});
|
40
|
-
|
41
|
-
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', () => {
|
42
|
-
matchingPage.steps.resetQuestionPreview();
|
43
|
-
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[3] }]);
|
44
|
-
matchingPage.steps.switchToGradingView();
|
45
|
-
matchingPage.steps.verifyPreviewScore(0, 10);
|
46
|
-
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
47
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
48
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
49
|
-
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
50
|
-
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
51
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[''], [''], ['']]);
|
52
|
-
});
|
53
|
-
|
54
|
-
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, dropdown 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', () => {
|
55
|
-
matchingPage.steps.switchToEditTab();
|
56
|
-
matchingPage.steps.selectResponseFromDropdownInSpecifyCorrectAnswerSection([{ dropdownIndex: 0, dropdownOption: optionsArray[1] }, { dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
57
|
-
matchingPage.steps.switchToPreviewTab();
|
58
|
-
matchingPage.steps.switchToGradingView();
|
59
|
-
matchingPage.steps.verifyPreviewScore(0, 10);
|
60
|
-
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
61
|
-
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
62
|
-
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
63
|
-
matchingPage.steps.verifyDropdownNumeration(0);
|
64
|
-
matchingPage.steps.verifyDropdownNumeration(1);
|
65
|
-
matchingPage.steps.verifyDropdownNumeration(2);
|
66
|
-
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
67
|
-
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
68
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
69
|
-
});
|
70
|
-
|
71
|
-
it('When the user has set an partial blank answer in the \'Specify correct answer\' section and enters partial incorrect responses in the preview tab then incorrect icons should be displayed beside the incorrect responses, correct icon should be displayed for blank response, no points should be allocated and correct answer section should be displayed', () => {
|
72
|
-
matchingPage.steps.resetQuestionPreview();
|
73
|
-
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[2] }]);
|
74
|
-
matchingPage.steps.switchToGradingView();
|
75
|
-
matchingPage.steps.verifyPreviewScore(0, 10);
|
76
|
-
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
77
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
78
|
-
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
79
|
-
matchingPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
|
80
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
81
|
-
});
|
82
|
-
|
83
|
-
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, correct icon should be displayed for blank response, no points should be allocated and correct answer section should be displayed', () => {
|
84
|
-
matchingPage.steps.resetQuestionPreview();
|
85
|
-
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[1] }]);
|
86
|
-
matchingPage.steps.switchToGradingView();
|
87
|
-
matchingPage.steps.verifyPreviewScore(0, 10);
|
88
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
89
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
90
|
-
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
91
|
-
matchingPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
|
92
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
93
|
-
});
|
94
|
-
|
95
|
-
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', () => {
|
96
|
-
matchingPage.steps.resetQuestionPreview();
|
97
|
-
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[0] }, { dropdownIndex: 1, dropdownOption: optionsArray[2] }, { dropdownIndex: 2, dropdownOption: optionsArray[1] }]);
|
98
|
-
matchingPage.steps.verifyPreviewScore(0, 10);
|
99
|
-
matchingPage.steps.switchToGradingView();
|
100
|
-
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
101
|
-
matchingPage.steps.verifyIncorrectOptionIconDropdown(1);
|
102
|
-
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
103
|
-
matchingPage.steps.verifyCorrectIncorrectAnswerLabel("incorrect");
|
104
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
105
|
-
});
|
106
|
-
|
107
|
-
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', () => {
|
108
|
-
matchingPage.steps.resetQuestionPreview();
|
109
|
-
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[1] }, { dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
110
|
-
matchingPage.steps.switchToGradingView();
|
111
|
-
matchingPage.steps.verifyPreviewScore(10, 10);
|
112
|
-
matchingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
113
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
114
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
115
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
116
|
-
matchingPage.steps.verifyCorrectIncorrectAnswerLabel("correct");
|
117
|
-
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
118
|
-
});
|
119
|
-
});
|
120
|
-
|
121
|
-
describe(`Auto scored - Partial equal weights`, () => {
|
122
|
-
abortEarlySetup();
|
123
|
-
before(() => {
|
124
|
-
matchingPage.steps.navigateToCreateQuestion('matching');
|
125
|
-
cy.barsPreLoaderWait();
|
126
|
-
matchingPage.steps.addTextInQuestionInstructionsInputField('Match the following');
|
127
|
-
matchingPage.steps.selectOptionLayoutToggleButton('Dropdown menu');
|
128
|
-
matchingPage.steps.allotPoints(24);
|
129
|
-
matchingPage.steps.addMultipleOptionFields(3);
|
130
|
-
matchingPage.steps.enterTextInPromptInputField(promptTextArray);
|
131
|
-
matchingPage.steps.enterTextInOptionInputField(optionsArray);
|
132
|
-
matchingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
133
|
-
matchingPage.steps.switchToPreviewTab();
|
134
|
-
});
|
135
|
-
|
136
|
-
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, dropdown 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', () => {
|
137
|
-
matchingPage.steps.switchToGradingView();
|
138
|
-
matchingPage.steps.verifyPreviewScore(0, 24);
|
139
|
-
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
140
|
-
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
141
|
-
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
142
|
-
matchingPage.steps.verifyDropdownNumeration(0);
|
143
|
-
matchingPage.steps.verifyDropdownNumeration(1);
|
144
|
-
matchingPage.steps.verifyDropdownNumeration(2);
|
145
|
-
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
146
|
-
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
147
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[''],[''],['']]);
|
148
|
-
});
|
149
|
-
|
150
|
-
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', () => {
|
151
|
-
matchingPage.steps.resetQuestionPreview();
|
152
|
-
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[3] }]);
|
153
|
-
matchingPage.steps.switchToGradingView();
|
154
|
-
matchingPage.steps.verifyPreviewScore(16, 24);
|
155
|
-
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
156
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
157
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
158
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[''],[''],['']]);
|
159
|
-
});
|
160
|
-
|
161
|
-
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', () => {
|
162
|
-
matchingPage.steps.switchToEditTab();
|
163
|
-
matchingPage.steps.selectResponseFromDropdownInSpecifyCorrectAnswerSection([{ dropdownIndex: 0, dropdownOption: optionsArray[1] }, { dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
164
|
-
matchingPage.steps.switchToPreviewTab();
|
165
|
-
matchingPage.steps.verifyPreviewScore(0, 24);
|
166
|
-
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(0);
|
167
|
-
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(1);
|
168
|
-
matchingPage.steps.verifyCorrectIncorrectIconNotExistDropdown(2);
|
169
|
-
matchingPage.steps.switchToGradingView();
|
170
|
-
matchingPage.steps.verifyDropdownNumeration(0);
|
171
|
-
matchingPage.steps.verifyDropdownNumeration(1);
|
172
|
-
matchingPage.steps.verifyDropdownNumeration(2);
|
173
|
-
matchingPage.steps.verifyCorrectAnswerSectionLabel();
|
174
|
-
matchingPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
175
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
176
|
-
});
|
177
|
-
|
178
|
-
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', () => {
|
179
|
-
matchingPage.steps.resetQuestionPreview();
|
180
|
-
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[1] }]);
|
181
|
-
matchingPage.steps.switchToGradingView();
|
182
|
-
matchingPage.steps.verifyPreviewScore(16, 24);
|
183
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
184
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
185
|
-
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
186
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
187
|
-
});
|
188
|
-
|
189
|
-
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', () => {
|
190
|
-
matchingPage.steps.resetQuestionPreview();
|
191
|
-
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[0] }, { dropdownIndex: 1, dropdownOption: optionsArray[2] }, { dropdownIndex: 2, dropdownOption: optionsArray[1] }]);
|
192
|
-
matchingPage.steps.verifyPreviewScore(0, 24);
|
193
|
-
matchingPage.steps.switchToGradingView();
|
194
|
-
matchingPage.steps.verifyIncorrectOptionIconDropdown(0);
|
195
|
-
matchingPage.steps.verifyIncorrectOptionIconDropdown(1);
|
196
|
-
matchingPage.steps.verifyIncorrectOptionIconDropdown(2);
|
197
|
-
matchingPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Elephant'],[''],['Cat']]);
|
198
|
-
});
|
199
|
-
|
200
|
-
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
201
|
-
matchingPage.steps.resetQuestionPreview();
|
202
|
-
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[1] }, { dropdownIndex: 2, dropdownOption: optionsArray[0] }]);
|
203
|
-
matchingPage.steps.verifyPreviewScore(24, 24);
|
204
|
-
matchingPage.steps.switchToGradingView();
|
205
|
-
matchingPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
206
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(0);
|
207
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(1);
|
208
|
-
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
209
|
-
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
210
|
-
});
|
211
|
-
});
|
212
|
-
});
|
@@ -1,366 +0,0 @@
|
|
1
|
-
import { dialogBoxBase, multipleSelectionGridPage, 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 - Multiple selection grid : 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
|
-
multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
|
15
|
-
cy.barsPreLoaderWait();
|
16
|
-
multipleSelectionGridPage.steps.addTextInQuestionInstructionsInputField('Multiple selection grid blank responses');
|
17
|
-
multipleSelectionGridPage.steps.allotPoints(24);
|
18
|
-
multipleSelectionGridPage.steps.switchToPreviewTab();
|
19
|
-
});
|
20
|
-
|
21
|
-
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, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers', () => {
|
22
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
23
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(0, 24);
|
24
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
25
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
26
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
27
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
28
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
29
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
30
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
31
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
32
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
33
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 0 }, { row: 1, column: 1 }, { row: 2, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
34
|
-
});
|
35
|
-
|
36
|
-
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 no icons should be displayed beside all the cells, full points should be allocated and correct answer section should not be displayed', () => {
|
37
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
38
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }]);
|
39
|
-
multipleSelectionGridPage.steps.unselectOptionsInPreviewTab({ row: 1, column: 0 });
|
40
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
41
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(24, 24);
|
42
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
43
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
44
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
45
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
46
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
47
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
48
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
49
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
50
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
51
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerSectionNotExists();
|
52
|
-
});
|
53
|
-
|
54
|
-
it('When the user has not set any answer in the \'Specify correct answer\' section and selects incorrect cell in the preview tab then no icon should be displayed beside the empty responses, incorrect icons should be displayed beside incorrect cell, zero points should be allocated and correct answer section should be displayed', () => {
|
55
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
56
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }]);
|
57
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
58
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(0, 24);
|
59
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
|
60
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
61
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
62
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
63
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
64
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
65
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
66
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
67
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
68
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 0 }, { row: 1, column: 1 }, { row: 2, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
69
|
-
});
|
70
|
-
|
71
|
-
it('When the user sets an answer in the \'Specify correct answer\' section then on switching to \'Grading\' view without attempting the question, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers', () => {
|
72
|
-
multipleSelectionGridPage.steps.switchToEditTab();
|
73
|
-
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSpecifyCorrectAnswerSection([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
74
|
-
multipleSelectionGridPage.steps.switchToPreviewTab();
|
75
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
76
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(0, 24);
|
77
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
78
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
79
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
80
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
81
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
82
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
83
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
84
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
85
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
86
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
87
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
88
|
-
});
|
89
|
-
|
90
|
-
it('When the user has an set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then no icons should be displayed beside all the cells, zero points should be awarded and correct answer section should be displayed', () => {
|
91
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
92
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }]);
|
93
|
-
multipleSelectionGridPage.steps.unselectOptionsInPreviewTab({ row: 1, column: 0 });
|
94
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
95
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(0, 24);
|
96
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
97
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
98
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
99
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
100
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
101
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
102
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
103
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
104
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
105
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
106
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
107
|
-
});
|
108
|
-
|
109
|
-
it('When the user has set an answer in the \'Specify correct answer\' section and selects incorrect cell in the preview tab then no icon should be displayed beside the empty responses, incorrect icons should be displayed beside incorrect cell, zero points should be allocated and correct answer section should be displayed', () => {
|
110
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
111
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }]);
|
112
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
113
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(0, 24);
|
114
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
|
115
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
116
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
117
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
118
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
119
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
120
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
121
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
122
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
123
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
124
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
125
|
-
});
|
126
|
-
|
127
|
-
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 cells, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
|
128
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
129
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 1 }]);
|
130
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
131
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(0, 24);
|
132
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
|
133
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
|
134
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
135
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
136
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
137
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
138
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
139
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
|
140
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
141
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
142
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
143
|
-
});
|
144
|
-
|
145
|
-
it('When the user attempts the question partially correct by selecting incorrect cells from rows that have a correct answer set, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect cells, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
|
146
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
147
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 3, column: 0 }, { row: 3, column: 1 }]);
|
148
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
149
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(0, 24);
|
150
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
|
151
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
|
152
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
|
153
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
154
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
155
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
156
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
|
157
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
158
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
159
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
160
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
161
|
-
});
|
162
|
-
|
163
|
-
it('When the user attempts the question partially correct by selecting incorrect cells from rows that doesn\'t have a correct answer set, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect cells, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
|
164
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
165
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 2, column: 0}, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 0 }]);
|
166
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
167
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(0, 24);
|
168
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
169
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
|
170
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
|
171
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 0 });
|
172
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
|
173
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
174
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
|
175
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
176
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
177
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
178
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
179
|
-
});
|
180
|
-
|
181
|
-
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 cells, 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', () => {
|
182
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
183
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 }]);
|
184
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
185
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(24, 24);
|
186
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
187
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
188
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
|
189
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
190
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
|
191
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 1 });
|
192
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
|
193
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
194
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
195
|
-
});
|
196
|
-
});
|
197
|
-
|
198
|
-
describe(`Auto scored - Partial equal weights`, () => {
|
199
|
-
abortEarlySetup();
|
200
|
-
before(() => {
|
201
|
-
multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
|
202
|
-
cy.barsPreLoaderWait();
|
203
|
-
multipleSelectionGridPage.steps.addTextInQuestionInstructionsInputField('Multiple selection grid');
|
204
|
-
multipleSelectionGridPage.steps.allotPoints(24);
|
205
|
-
multipleSelectionGridPage.steps.selectAutoScoredScoringSubtype('Partial equal weights')
|
206
|
-
multipleSelectionGridPage.steps.switchToPreviewTab();
|
207
|
-
});
|
208
|
-
|
209
|
-
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, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers', () => {
|
210
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
211
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(0, 24);
|
212
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
213
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
214
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
215
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
216
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
217
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
218
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
219
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
220
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
221
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 0 }, { row: 1, column: 1 }, { row: 2, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
222
|
-
});
|
223
|
-
|
224
|
-
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 no icons should be displayed beside all the cells, full points should be allocated and correct answer section should not be displayed', () => {
|
225
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
226
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }]);
|
227
|
-
multipleSelectionGridPage.steps.unselectOptionsInPreviewTab({ row: 1, column: 0 });
|
228
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
229
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(24, 24);
|
230
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
231
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
232
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
233
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
234
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
235
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
236
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
237
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
238
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
239
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerSectionNotExists();
|
240
|
-
});
|
241
|
-
|
242
|
-
it('When the user has not set any answer in the \'Specify correct answer\' section and selects incorrect cell in the preview tab then no icon should be displayed beside the empty responses, incorrect icons should be displayed beside incorrect cell, points should be allocated for the blank rows, correct/incorrect status message should not be displayed and correct answer section should be displayed', () => {
|
243
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
244
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }]);
|
245
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
246
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(18, 24);
|
247
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
|
248
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
249
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
250
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
251
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
252
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
253
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
254
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
255
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
256
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 0 }, { row: 1, column: 1 }, { row: 2, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
257
|
-
});
|
258
|
-
|
259
|
-
it('When the user sets an answer in the \'Specify correct answer\' section then on switching to \'Grading\' view without attempting the question, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers', () => {
|
260
|
-
multipleSelectionGridPage.steps.switchToEditTab();
|
261
|
-
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSpecifyCorrectAnswerSection([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
262
|
-
multipleSelectionGridPage.steps.switchToPreviewTab();
|
263
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
264
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(0, 24);
|
265
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
266
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
267
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
268
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
269
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
270
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
271
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
272
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
273
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
274
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
275
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
276
|
-
});
|
277
|
-
|
278
|
-
it('When the user has set an answer in the \'Specify correct answer\' section and selects incorrect cell in the preview tab then no icon should be displayed beside the empty responses, incorrect icons should be displayed beside incorrect cell, points should be allocated for blank rows, correct/incorrect status message should not be displayed and correct answer section should be displayed', () => {
|
279
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
280
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }]);
|
281
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
282
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(6, 24);
|
283
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
|
284
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
285
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
286
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
287
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
288
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
289
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
290
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
291
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
292
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
293
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
294
|
-
});
|
295
|
-
|
296
|
-
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 cells, correct/incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
|
297
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
298
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 1 }]);
|
299
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
300
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(0, 24);
|
301
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
|
302
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
|
303
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 0 });
|
304
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
305
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
306
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
307
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 3, column: 1 });
|
308
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
|
309
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
310
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
311
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
312
|
-
});
|
313
|
-
|
314
|
-
it('When the user attempts the question partially correct by selecting incorrect cells from rows that have a correct answer set, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect cells, correct/incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
|
315
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
316
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 3, column: 0 }, { row: 3, column: 1 }]);
|
317
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
318
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(12, 24);
|
319
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 1, column: 1 });
|
320
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
|
321
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
|
322
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
323
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 0 });
|
324
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
325
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
|
326
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
327
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
328
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
329
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
330
|
-
});
|
331
|
-
|
332
|
-
it('When the user attempts the question partially correct by selecting incorrect cells from rows that doesn\'t have a correct answer set, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect cells, correct/incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
|
333
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
334
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 2, column: 0 }, { row: 3, column: 0 }, { row: 3, column: 1 }, { row: 4, column: 0 }]);
|
335
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
336
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(12, 24);
|
337
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
338
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 2, column: 0 });
|
339
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
|
340
|
-
multipleSelectionGridPage.steps.verifyIncorrectOptionBackgroundAndIcon({ row: 4, column: 0 });
|
341
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
|
342
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 1 });
|
343
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
|
344
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
345
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
346
|
-
multipleSelectionGridPage.steps.verifyBlankAnswerResponseCorrectAnswerSection([{ row: 1, column: 1 }, { row: 2, column: 0 }, { row: 4, column: 0 }, { row: 4, column: 1 }]);
|
347
|
-
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 } ]);
|
348
|
-
});
|
349
|
-
|
350
|
-
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 cells, correct icon should be displayed besides the correct answer responses, correct/incorrect status message should not be displayed and correct answer section should not be displayed', () => {
|
351
|
-
multipleSelectionGridPage.steps.resetQuestionPreview();
|
352
|
-
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 3, column: 1 }]);
|
353
|
-
multipleSelectionGridPage.steps.switchToGradingView();
|
354
|
-
multipleSelectionGridPage.steps.verifyPreviewScore(24, 24);
|
355
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 1, column: 1 });
|
356
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 2, column: 0 });
|
357
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 0 });
|
358
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 0 });
|
359
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 1, column: 0 });
|
360
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 2, column: 1 });
|
361
|
-
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 3, column: 1 });
|
362
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectIconNotExists({ row: 4, column: 1 });
|
363
|
-
multipleSelectionGridPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
364
|
-
});
|
365
|
-
});
|
366
|
-
});
|