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,278 +0,0 @@
|
|
1
|
-
import { textEntryMathPage } from "../../../../pages";
|
2
|
-
import { equationEditorFlyout } from "../../../../pages/components";
|
3
|
-
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
4
|
-
import utilities from "../../../../support/helpers/utilities";
|
5
|
-
|
6
|
-
describe('Create Item page - Text entry math: Preview scoring', () => {
|
7
|
-
before(() => {
|
8
|
-
cy.loginAs('admin');
|
9
|
-
});
|
10
|
-
|
11
|
-
describe(`Text entry math: Partial equal weights with alternative answer - When \'Alternative answer\' points are more than \'Correct answer\' points`, () => {
|
12
|
-
abortEarlySetup();
|
13
|
-
before(() => {
|
14
|
-
textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
|
15
|
-
cy.barsPreLoaderWait();
|
16
|
-
textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
|
17
|
-
textEntryMathPage.steps.addResponseArea();
|
18
|
-
textEntryMathPage.steps.addResponseArea();
|
19
|
-
textEntryMathPage.steps.addResponseArea();
|
20
|
-
textEntryMathPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
21
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
22
|
-
textEntryMathPage.steps.selectEvaluationMethod('Match exact', 8);
|
23
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
24
|
-
equationEditorFlyout.steps.clearAll();
|
25
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('CorrectOne');
|
26
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
27
|
-
textEntryMathPage.steps.expandLayoutAccordion();
|
28
|
-
textEntryMathPage.steps.focusInLayoutInputField(0);
|
29
|
-
textEntryMathPage.steps.addResponseContainer();
|
30
|
-
textEntryMathPage.steps.insertTextInEquationEditorTextArea('One');
|
31
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
32
|
-
textEntryMathPage.steps.collapseResponseAccordionSpecifyCorrectAnswer(0);
|
33
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
|
34
|
-
textEntryMathPage.steps.selectEvaluationMethod('Match exact', 17);
|
35
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
36
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'multiply', 'two', 'equalTo', 'one', 'two'] }]);
|
37
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
38
|
-
textEntryMathPage.steps.expandLayoutAccordion();
|
39
|
-
textEntryMathPage.steps.focusInLayoutInputField(1);
|
40
|
-
textEntryMathPage.steps.addResponseContainer();
|
41
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['equalTo', 'one', 'two'] }]);
|
42
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
43
|
-
textEntryMathPage.steps.collapseResponseAccordionSpecifyCorrectAnswer(1);
|
44
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
|
45
|
-
textEntryMathPage.steps.selectEvaluationMethod('Match exact', 26);
|
46
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
|
47
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('9000%');
|
48
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
49
|
-
textEntryMathPage.steps.expandLayoutAccordion();
|
50
|
-
textEntryMathPage.steps.focusInLayoutInputField(2);
|
51
|
-
textEntryMathPage.steps.addResponseContainer();
|
52
|
-
textEntryMathPage.steps.insertTextInEquationEditorTextArea('%');
|
53
|
-
textEntryMathPage.steps.allotPoints(12);
|
54
|
-
textEntryMathPage.steps.addAlternativeAnswerAccordion(1);
|
55
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
56
|
-
textEntryMathPage.steps.selectEvaluationMethod('Match exact', 8);
|
57
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
58
|
-
equationEditorFlyout.steps.clearAll();
|
59
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('CorrectOne');
|
60
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
61
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
|
62
|
-
textEntryMathPage.steps.selectEvaluationMethod('Match exact', 17);
|
63
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
64
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'six', 'equalTo', 'one', 'two'] }]);
|
65
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
66
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
|
67
|
-
textEntryMathPage.steps.selectEvaluationMethod('Match exact', 26);
|
68
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
|
69
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('700%');
|
70
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
71
|
-
textEntryMathPage.steps.expandLayoutAccordion();
|
72
|
-
textEntryMathPage.steps.allotPoints(18);
|
73
|
-
textEntryMathPage.steps.expandAdditionalSettings();
|
74
|
-
textEntryMathPage.steps.selectModalVisibilityTypeButton();
|
75
|
-
textEntryMathPage.steps.switchToPreviewTab();
|
76
|
-
});
|
77
|
-
|
78
|
-
it('When the user selects \'Grading\' view without attempting the question, response numeration should be displayed, correct answers section should be displayed with correct answers from the alternative accordion and respective response numeration, no status message should be displayed', () => {
|
79
|
-
textEntryMathPage.steps.switchToGradingView();
|
80
|
-
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
81
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '2×6=12', '700%']);
|
82
|
-
textEntryMathPage.steps.switchToGradingView();
|
83
|
-
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
84
|
-
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
85
|
-
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
86
|
-
textEntryMathPage.steps.verifyCorrectIncorrectStatusMessageTextNotExist();
|
87
|
-
});
|
88
|
-
|
89
|
-
it('When the user attempts the question with responses from the correct accordion, then the user should be awarded points of the correct accordion (less than full points) and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
90
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
91
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
92
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct');
|
93
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
94
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
95
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'multiply', 'two'] }]);
|
96
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
97
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
98
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('9000');
|
99
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
100
|
-
textEntryMathPage.steps.verifyPreviewScore(12, 18);
|
101
|
-
textEntryMathPage.steps.switchToGradingView();
|
102
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
103
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
104
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
105
|
-
textEntryMathPage.steps.verifyCorrectAnswerSectionNotExists();
|
106
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
107
|
-
});
|
108
|
-
|
109
|
-
it('When the user attempts the question with responses from the alternative accordion, then the user should be awarded with full points and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
110
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
111
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
112
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct');
|
113
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
114
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
115
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'six', 'equalTo', 'one', 'two'] }]);
|
116
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
117
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
118
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('700');
|
119
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
120
|
-
textEntryMathPage.steps.verifyPreviewScore(18, 18);
|
121
|
-
textEntryMathPage.steps.switchToGradingView();
|
122
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
123
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
124
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
125
|
-
textEntryMathPage.steps.verifyCorrectAnswerSectionNotExists();
|
126
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
127
|
-
});
|
128
|
-
|
129
|
-
it('When the user attempts the question with partially correct options exclusively from the correct accordion, then the user should be awarded points for the correctly attempted options from correct tab and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the alternative accordion along with dropzone numeration should be displayed', () => {
|
130
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
131
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
132
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'multiply', 'two'] }]);
|
133
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
134
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
135
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('9000');
|
136
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
137
|
-
textEntryMathPage.steps.verifyPreviewScore(8, 18);
|
138
|
-
textEntryMathPage.steps.switchToGradingView();
|
139
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
140
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
141
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
142
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '2×6=12', '700%']);
|
143
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
144
|
-
});
|
145
|
-
|
146
|
-
it('When the user attempts the question with partially correct options exclusively from the alternative accordion, then the user should be awarded points for the correctly attempted options from alternative tab and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the alternative accordion along with dropzone cell numeration should be displayed', () => {
|
147
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
148
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
149
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'six'] }]);
|
150
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
151
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
152
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('700');
|
153
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
154
|
-
textEntryMathPage.steps.verifyPreviewScore(12, 18);
|
155
|
-
textEntryMathPage.steps.switchToGradingView();
|
156
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
157
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
158
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
159
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '2×6=12', '700%']);
|
160
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
161
|
-
});
|
162
|
-
|
163
|
-
it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded points for the correctly attempted options from alternative tab and on switching to \'Grading\' view, correct icon should be displayed besides the response from the correct accordion, incorrect icon should be displayed besides the responses from the alternative accordion and no icon should be displayed beside unattempted response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the alternative accordion along with dropzone cell numeration should be displayed', () => {
|
164
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
165
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
166
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct');
|
167
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
168
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
169
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'six'] }]);
|
170
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
171
|
-
textEntryMathPage.steps.verifyPreviewScore(12, 18);
|
172
|
-
textEntryMathPage.steps.switchToGradingView();
|
173
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
174
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
175
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
176
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '2×6=12', '700%']);
|
177
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
178
|
-
});
|
179
|
-
|
180
|
-
it('When the user has attempted the question with equal number of correct responses from correct and alternative accordion, then the user should be awarded with points for the correctly attempted options from correct tab and on switching to \'Grading\' view, green check-mark icon should be displayed besides response field with correct answer responses, red cross-mark icon should be displayed beside responses from the alternative tab, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the alternative accordion along with dropzone cell numeration should be displayed', () => {
|
181
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
182
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
183
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct');
|
184
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
185
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
186
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'multiply', 'two'] }]);
|
187
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
188
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
189
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('700');
|
190
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
191
|
-
textEntryMathPage.steps.verifyPreviewScore(12, 18);
|
192
|
-
textEntryMathPage.steps.switchToGradingView();
|
193
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
194
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
195
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
196
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '2×6=12', '700%']);
|
197
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
198
|
-
});
|
199
|
-
|
200
|
-
it('Race condition : When the user attempts the question with the common response between correct and alternative accordion, then the user should be awarded with points for the correctly attempted options from alternative tab and on switching to \'Grading\' view, green check-mark icon should be besides the common response, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' and correct answer section with all correct answers from the alternative accordion along with dropzone cell numeration should be displayed', () => {
|
201
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
202
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
203
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct');
|
204
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
205
|
-
textEntryMathPage.steps.verifyPreviewScore(6, 18);
|
206
|
-
textEntryMathPage.steps.switchToGradingView();
|
207
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
208
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
209
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
210
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '2×6=12', '700%']);
|
211
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
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, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with dropzone cell numeration should be displayed', () => {
|
215
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
216
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
217
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 1');
|
218
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
219
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
220
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 2');
|
221
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
222
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
223
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 3');
|
224
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
225
|
-
textEntryMathPage.steps.verifyPreviewScore(0, 18);
|
226
|
-
textEntryMathPage.steps.switchToGradingView();
|
227
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
228
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
229
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
230
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '2×6=12', '700%']);
|
231
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
232
|
-
});
|
233
|
-
|
234
|
-
it('Overachiever case: When the user attempts the question with more number of correct responses from the correct accordion than the alternative accordion but the score of the individual response selected from the alternative accordion overpowers the combined score of the correct accordion answers then on switching to the \'Grading view\', then points awarded should be of the alternative accordion, correct icons should be displayed for the alternative accordion response, incorrect icon should be displayed for the correct accordion responses, correct/incorrect answer status message should not be displayed and correct answer section with all correct answers from the alternative accordion along with response area numeration should be displayed', () => {
|
235
|
-
cy.log('Pre-step: Switching to Edit tab and allotting points to alternative accordion such that the difference between the points is substantial and the points per response are in decimal')
|
236
|
-
textEntryMathPage.steps.switchToEditTab();
|
237
|
-
textEntryMathPage.steps.deleteAlternativeAnswerAccordion(0);
|
238
|
-
textEntryMathPage.steps.addAlternativeAnswerAccordion(1);
|
239
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
240
|
-
textEntryMathPage.steps.selectEvaluationMethod('Match exact', 8);
|
241
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
242
|
-
equationEditorFlyout.steps.clearAll();
|
243
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('CorrectOne');
|
244
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
245
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
|
246
|
-
textEntryMathPage.steps.selectEvaluationMethod('Match exact', 17);
|
247
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
248
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'six'] }]);
|
249
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
250
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
|
251
|
-
textEntryMathPage.steps.selectEvaluationMethod('Match exact', 26);
|
252
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
|
253
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('700%');
|
254
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
255
|
-
textEntryMathPage.steps.allotPoints(23);
|
256
|
-
textEntryMathPage.steps.expandCorrectAnswerAccordion();
|
257
|
-
textEntryMathPage.steps.allotPoints(5);
|
258
|
-
textEntryMathPage.steps.switchToPreviewTab();
|
259
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
260
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('CorrectNew');
|
261
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
262
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
263
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('9000');
|
264
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
265
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
266
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('700');
|
267
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
268
|
-
textEntryMathPage.steps.verifyPreviewScore(7.6667, 23);
|
269
|
-
textEntryMathPage.steps.switchToGradingView();
|
270
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
271
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
272
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
273
|
-
textEntryMathPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
274
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '2×6=12', '700%']);
|
275
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
276
|
-
});
|
277
|
-
});
|
278
|
-
});
|
@@ -1,228 +0,0 @@
|
|
1
|
-
import { textEntryMathPage } from "../../../../pages";
|
2
|
-
import { equationEditorFlyout } from "../../../../pages/components";
|
3
|
-
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
4
|
-
import utilities from "../../../../support/helpers/utilities";
|
5
|
-
|
6
|
-
describe('Create Item page - Text entry math: Preview scoring', () => {
|
7
|
-
before(() => {
|
8
|
-
cy.loginAs('admin');
|
9
|
-
});
|
10
|
-
|
11
|
-
describe(`Text entry math: Partial equal weights with alternative answer - When \'Correct answer\' points are equal to \'Alternative answer\' points`, () => {
|
12
|
-
abortEarlySetup();
|
13
|
-
before(() => {
|
14
|
-
textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
|
15
|
-
cy.barsPreLoaderWait();
|
16
|
-
textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
|
17
|
-
textEntryMathPage.steps.addResponseArea();
|
18
|
-
textEntryMathPage.steps.addResponseArea();
|
19
|
-
textEntryMathPage.steps.addResponseArea();
|
20
|
-
textEntryMathPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
21
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
22
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
23
|
-
equationEditorFlyout.steps.clearAll();
|
24
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('CorrectOne');
|
25
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
26
|
-
textEntryMathPage.steps.expandLayoutAccordion();
|
27
|
-
textEntryMathPage.steps.focusInLayoutInputField(0);
|
28
|
-
textEntryMathPage.steps.addResponseContainer();
|
29
|
-
textEntryMathPage.steps.insertTextInEquationEditorTextArea('One');
|
30
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
31
|
-
textEntryMathPage.steps.collapseResponseAccordionSpecifyCorrectAnswer(0);
|
32
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
|
33
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
34
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'multiply', 'two', 'equalTo', 'one', 'two'] }]);
|
35
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
36
|
-
textEntryMathPage.steps.expandLayoutAccordion();
|
37
|
-
textEntryMathPage.steps.focusInLayoutInputField(1);
|
38
|
-
textEntryMathPage.steps.addResponseContainer();
|
39
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['equalTo', 'one', 'two'] }]);
|
40
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
41
|
-
textEntryMathPage.steps.collapseResponseAccordionSpecifyCorrectAnswer(1);
|
42
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
|
43
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
|
44
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('9000%');
|
45
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
46
|
-
textEntryMathPage.steps.expandLayoutAccordion();
|
47
|
-
textEntryMathPage.steps.focusInLayoutInputField(2);
|
48
|
-
textEntryMathPage.steps.addResponseContainer();
|
49
|
-
textEntryMathPage.steps.insertTextInEquationEditorTextArea('%');
|
50
|
-
textEntryMathPage.steps.allotPoints(18);
|
51
|
-
textEntryMathPage.steps.addAlternativeAnswerAccordion(1);
|
52
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
|
53
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(0);
|
54
|
-
equationEditorFlyout.steps.clearAll();
|
55
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('CorrectOne');
|
56
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
57
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
|
58
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
|
59
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'six', 'equalTo', 'one', 'two'] }]);
|
60
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
61
|
-
textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
|
62
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
|
63
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('700%');
|
64
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
65
|
-
textEntryMathPage.steps.expandLayoutAccordion();
|
66
|
-
textEntryMathPage.steps.allotPoints(18);
|
67
|
-
textEntryMathPage.steps.expandAdditionalSettings();
|
68
|
-
textEntryMathPage.steps.selectModalVisibilityTypeButton();
|
69
|
-
textEntryMathPage.steps.switchToPreviewTab();
|
70
|
-
});
|
71
|
-
|
72
|
-
it('When the user selects \'Grading\' view without attempting the question, response numeration should be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers from the correct accordion and respective response numeration', () => {
|
73
|
-
textEntryMathPage.steps.switchToGradingView();
|
74
|
-
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
75
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '6×2=12', '9000%']);
|
76
|
-
textEntryMathPage.steps.switchToGradingView();
|
77
|
-
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
78
|
-
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
79
|
-
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
80
|
-
textEntryMathPage.steps.verifyCorrectIncorrectStatusMessageTextNotExist();
|
81
|
-
});
|
82
|
-
|
83
|
-
it('When the user attempts the question with responses from the correct accordion, then the user should be awarded full points and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
84
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
85
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
86
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct');
|
87
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
88
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
89
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'multiply', 'two'] }]);
|
90
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
91
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
92
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('9000');
|
93
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
94
|
-
textEntryMathPage.steps.verifyPreviewScore(18, 18);
|
95
|
-
textEntryMathPage.steps.switchToGradingView();
|
96
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
97
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
98
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
99
|
-
textEntryMathPage.steps.verifyCorrectAnswerSectionNotExists();
|
100
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
101
|
-
});
|
102
|
-
|
103
|
-
it('When the user attempts the question with responses from the alternative accordion, then the user should be awarded with full points and on switching to \'Grading\' view, correct icons should be displayed beside all the correct responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
104
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
105
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
106
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct');
|
107
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
108
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
109
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'six'] }]);
|
110
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
111
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
112
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('700');
|
113
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
114
|
-
textEntryMathPage.steps.verifyPreviewScore(18, 18);
|
115
|
-
textEntryMathPage.steps.switchToGradingView();
|
116
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
117
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
118
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
119
|
-
textEntryMathPage.steps.verifyCorrectAnswerSectionNotExists();
|
120
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
121
|
-
});
|
122
|
-
|
123
|
-
it('When the user attempts the question with partially correct options exclusively from the correct accordion, then the user should be awarded points for the correctly attempted options from correct tab and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the correct accordion along with dropzone numeration should be displayed', () => {
|
124
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
125
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
126
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'multiply', 'two'] }]);
|
127
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
128
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
129
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('9000');
|
130
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
131
|
-
textEntryMathPage.steps.verifyPreviewScore(12, 18);
|
132
|
-
textEntryMathPage.steps.switchToGradingView();
|
133
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
134
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
135
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
136
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '6×2=12', '9000%']);
|
137
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
138
|
-
});
|
139
|
-
|
140
|
-
it('When the user attempts the question with partially correct options exclusively from the alternative accordion, then the user should be awarded points for the correctly attempted options from alternative tab and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the correct accordion along with dropzone cell numeration should be displayed', () => {
|
141
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
142
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
143
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'six'] }]);
|
144
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
145
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
146
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('700');
|
147
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
148
|
-
textEntryMathPage.steps.verifyPreviewScore(12, 18);
|
149
|
-
textEntryMathPage.steps.switchToGradingView();
|
150
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
151
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
152
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
153
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '6×2=12', '9000%']);
|
154
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
155
|
-
});
|
156
|
-
|
157
|
-
it('When the user attempts the question partially correct with all the responses correct as per the alternative accordion but one response incomplete, then the user should be awarded points for the correctly attempted options from alternative tab and on switching to \'Grading\' view, correct icon should be displayed besides the response from the correct accordion, incorrect icon should be displayed besides the responses from the alternative accordion and no icon should be displayed beside unattempted response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the correct accordion along with dropzone cell numeration should be displayed', () => {
|
158
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
159
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
160
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct');
|
161
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
162
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
163
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['two', 'multiply', 'six'] }]);
|
164
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
165
|
-
textEntryMathPage.steps.verifyPreviewScore(12, 18);
|
166
|
-
textEntryMathPage.steps.switchToGradingView();
|
167
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
168
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
169
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
170
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '6×2=12', '9000%']);
|
171
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
172
|
-
});
|
173
|
-
|
174
|
-
it.skip('When the user has attempted the question with equal number of correct responses from correct and alternative accordion, then the user should be awarded with points for the correctly attempted options from correct tab and on switching to \'Grading\' view, green check-mark icon should be displayed besides response field with correct answer responses, red cross-mark icon should be displayed beside responses from the alternative tab, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers from the correct accordion along with dropzone cell numeration should be displayed', () => {
|
175
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
176
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
177
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct');
|
178
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
179
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
180
|
-
equationEditorFlyout.steps.enterEquation([{ categoryName: 'numPad', symbolName: ['six', 'multiply', 'two'] }]);
|
181
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
182
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
183
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('700');
|
184
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
185
|
-
textEntryMathPage.steps.verifyPreviewScore(12, 18);
|
186
|
-
textEntryMathPage.steps.switchToGradingView();
|
187
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
188
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
189
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
190
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '6×2=12', '9000%']);
|
191
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
192
|
-
});
|
193
|
-
|
194
|
-
it('Race condition : When the user attempts the question with the common response between correct and alternative accordion, then the user should be awarded with points for the correctly attempted options from correct tab and on switching to \'Grading\' view, green check-mark icon should be besides the common response, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' and correct answer section with all correct answers from the correct accordion along with dropzone cell numeration should be displayed', () => {
|
195
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
196
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
197
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Correct');
|
198
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
199
|
-
textEntryMathPage.steps.verifyPreviewScore(6, 18);
|
200
|
-
textEntryMathPage.steps.switchToGradingView();
|
201
|
-
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
202
|
-
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
203
|
-
textEntryMathPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
204
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '6×2=12', '9000%']);
|
205
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
206
|
-
});
|
207
|
-
|
208
|
-
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, no icon should be displayed beside unattempted response a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with dropzone cell numeration should be displayed', () => {
|
209
|
-
textEntryMathPage.steps.resetQuestionPreview();
|
210
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(0);
|
211
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 1');
|
212
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
213
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(1);
|
214
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 2');
|
215
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
216
|
-
textEntryMathPage.steps.focusInResponseAnswerInputFieldFormulaTemplatePreviewTab(2);
|
217
|
-
equationEditorFlyout.steps.enterTextInPreviewInputField('Incorrect answer 3');
|
218
|
-
equationEditorFlyout.steps.clickOnOkButton();
|
219
|
-
textEntryMathPage.steps.verifyPreviewScore(0, 18);
|
220
|
-
textEntryMathPage.steps.switchToGradingView();
|
221
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
222
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
223
|
-
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
224
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectOne', '6×2=12', '9000%']);
|
225
|
-
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
226
|
-
});
|
227
|
-
});
|
228
|
-
});
|