itemengine-cypress-automation 1.0.285-applitools-da9f1a8.0 → 1.0.285
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/Gzip/gzip.js +7 -7
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -26
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -4
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +3 -3
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +7 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +10 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +11 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -19
- package/cypress/e2e/ILC/EditItem/editItem.ts +133 -0
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
- package/cypress/e2e/ILC/FeedbackScaleNew/previewContentsForAllViews.smoke.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +214 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +228 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +245 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +237 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -6
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +4 -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/blankResponseScoring.js +239 -0
- package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +6 -14
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +3 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +212 -0
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -19
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +366 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -3
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +16 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +306 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +243 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +242 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +289 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +284 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +238 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +279 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +641 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +278 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +228 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +234 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +237 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +134 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +138 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +263 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +166 -0
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -23
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -5
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +193 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -2
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -4
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -16
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -9
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/pages/audioPlayerPage.js +4 -4
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +17 -0
- package/cypress/pages/components/equationEditorFlyout.js +1 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
- package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +5 -1
- package/cypress/pages/components/gridQuestionCommonComponent.js +41 -1
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/createItemPage.js +38 -1
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +45 -3
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +35 -2
- package/cypress/pages/graphingPage.js +3 -0
- package/cypress/pages/listOrderingPage.js +1 -1
- package/cypress/pages/matchingPage.js +34 -7
- package/cypress/pages/multipleSelectionPage.js +17 -2
- package/cypress/pages/numberLineLabelPage.js +3 -3
- package/cypress/pages/readingRulerPage.js +5 -3
- package/cypress/pages/singleSelectionPage.js +5 -2
- package/cypress/pages/studentViewPage.js +4 -4
- package/cypress/pages/textEntryMathPage.js +19 -5
- package/cypress/pages/textSelectionPage.js +1 -1
- package/cypress/support/commands.js +0 -11
- package/cypress/support/e2e.js +0 -1
- package/package.json +1 -4
- package/cypress/e2e/applitools.config.js +0 -14
@@ -11,14 +11,6 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
if (!grepTags || !grepTags.includes('smoke')) {
|
23
15
|
describe('Question preview modes: Student view and Grading view', () => {
|
24
16
|
abortEarlySetup();
|
@@ -103,7 +95,7 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
|
|
103
95
|
});
|
104
96
|
};
|
105
97
|
|
106
|
-
it(
|
98
|
+
it('When the user selects \'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', () => {
|
107
99
|
if (view === 'Grading view') {
|
108
100
|
studentViewPage.steps.submitResponse();
|
109
101
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -121,7 +113,7 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
|
|
121
113
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
122
114
|
});
|
123
115
|
|
124
|
-
it(
|
116
|
+
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', () => {
|
125
117
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }, { responseIndex: 1, responseText: 'Rose' }, { responseIndex: 2, responseText: 'Sunflower' }]);
|
126
118
|
if (view === 'Grading view') {
|
127
119
|
studentViewPage.steps.submitResponse();
|
@@ -140,7 +132,7 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
|
|
140
132
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
141
133
|
});
|
142
134
|
|
143
|
-
it(
|
135
|
+
it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
144
136
|
if (view === 'Grading view') {
|
145
137
|
studentViewPage.steps.clearResponses();
|
146
138
|
};
|
@@ -162,7 +154,7 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
|
|
162
154
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
163
155
|
});
|
164
156
|
|
165
|
-
it(
|
157
|
+
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', () => {
|
166
158
|
if (view === 'Grading view') {
|
167
159
|
studentViewPage.steps.clearResponses();
|
168
160
|
};
|
@@ -184,7 +176,6 @@ describe('Create item page - Fill in the gaps over image - text: All or nothing
|
|
184
176
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectOptionIcon(2);
|
185
177
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
186
178
|
fillInTheGapsOverImageTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
187
|
-
cy.eyesCheckWindow(`FIG over image text - ${view} view - Attempting the question correctly`);
|
188
179
|
});
|
189
180
|
});
|
190
181
|
});
|
@@ -9,14 +9,6 @@ describe('Create item page - Fill in the gaps over image - text - Preview conten
|
|
9
9
|
cy.loginAs('admin');
|
10
10
|
});
|
11
11
|
|
12
|
-
beforeEach(() => {
|
13
|
-
cy.startApplitools();
|
14
|
-
});
|
15
|
-
|
16
|
-
afterEach(() => {
|
17
|
-
cy.eyesClose();
|
18
|
-
});
|
19
|
-
|
20
12
|
views.forEach((view) => {
|
21
13
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
22
14
|
abortEarlySetup();
|
@@ -70,10 +62,9 @@ describe('Create item page - Fill in the gaps over image - text - Preview conten
|
|
70
62
|
}
|
71
63
|
});
|
72
64
|
|
73
|
-
it(
|
65
|
+
it('Question instructions should be visible', () => {
|
74
66
|
utilities.verifyInnerText(fillInTheGapsOverImageTextPage.questionInstructionsText(), 'Fill in the gaps');
|
75
67
|
utilities.verifyElementVisibilityState(fillInTheGapsOverImageTextPage.questionInstructionsText(), 'visible');
|
76
|
-
cy.eyesCheckWindow(`${view} - Fill in the gaps over image text - Filled answer input fields`);
|
77
68
|
});
|
78
69
|
|
79
70
|
it('The image uploaded in the \'Background image\' section should be displayed', () => {
|
@@ -86,12 +77,12 @@ describe('Create item page - Fill in the gaps over image - text - Preview conten
|
|
86
77
|
fillInTheGapsOverImageTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '' }, { responseIndex: 1, responseText: '' }, { responseIndex: 2, responseText: '' }]);
|
87
78
|
});
|
88
79
|
|
89
|
-
it(
|
80
|
+
it('User should be able to enter text in the answer input fields', () => {
|
90
81
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
|
91
82
|
fillInTheGapsOverImageTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
|
92
83
|
});
|
93
84
|
} else if (view === 'Grading view') {
|
94
|
-
it(
|
85
|
+
it('The answer input fields should be displayed filled with answers', () => {
|
95
86
|
utilities.verifyElementCount(fillInTheGapsOverImageTextPage.answerInputFieldPreviewTab(), 3);
|
96
87
|
fillInTheGapsOverImageTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
|
97
88
|
});
|
@@ -102,7 +93,7 @@ describe('Create item page - Fill in the gaps over image - text - Preview conten
|
|
102
93
|
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldDisabled(2);
|
103
94
|
});
|
104
95
|
} else {
|
105
|
-
it(
|
96
|
+
it('The answer input fields should be displayed filled with correct answers', () => {
|
106
97
|
utilities.verifyElementCount(fillInTheGapsOverImageTextPage.answerInputFieldPreviewTab(), 3);
|
107
98
|
fillInTheGapsOverImageTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
|
108
99
|
});
|
@@ -0,0 +1,237 @@
|
|
1
|
+
import { dialogBoxBase, fillInTheGapsTextPage, gradingViewPage, itemPreviewPage, studentViewPage } from "../../../../pages";
|
2
|
+
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
import utilities from "../../../../support/helpers/utilities";
|
4
|
+
var itemReferenceID = "";
|
5
|
+
|
6
|
+
describe('Create item page - Fill in the gaps with text: Partial equal weights for blank responses', () => {
|
7
|
+
before(() => {
|
8
|
+
cy.loginAs('admin');
|
9
|
+
});
|
10
|
+
|
11
|
+
describe(`Auto scored - All or nothing scoring`, () => {
|
12
|
+
abortEarlySetup();
|
13
|
+
before(() => {
|
14
|
+
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
15
|
+
cy.barsPreLoaderWait();
|
16
|
+
fillInTheGapsTextPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
|
17
|
+
fillInTheGapsTextPage.steps.allotPoints(24);
|
18
|
+
fillInTheGapsTextPage.steps.addResponseArea();
|
19
|
+
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
20
|
+
});
|
21
|
+
|
22
|
+
it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
|
23
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
24
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
25
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
26
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
27
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
28
|
+
fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
|
29
|
+
utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
|
30
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
31
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
|
32
|
+
});
|
33
|
+
|
34
|
+
it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the responses, full points should be allocated and correct answer section should not be displayed', () => {
|
35
|
+
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
36
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
|
37
|
+
fillInTheGapsTextPage.steps.clearAnswerInputFieldPreviewTab(0);
|
38
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
39
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(24, 24);
|
40
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
41
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
42
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
43
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
44
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
45
|
+
});
|
46
|
+
|
47
|
+
it('When the user has not set any answer in the \'Specify correct answer\' section and enters incorrect response in any response in the preview tab then correct icons should be displayed beside the empty responses, incorrect icons should be displayed beside incorrect responses, points for the correct answers should be allocated and correct answer section should be displayed', () => {
|
48
|
+
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
49
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }]);
|
50
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
51
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
52
|
+
//Failing due to https://redmine.zeuslearning.com/issues/588679
|
53
|
+
// fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
54
|
+
// fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
55
|
+
// fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
56
|
+
// fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
57
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
|
58
|
+
});
|
59
|
+
|
60
|
+
it('When the user sets an answer in the \'Specify correct answer\' section then on switching to \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
|
61
|
+
fillInTheGapsTextPage.steps.switchToEditTab();
|
62
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Stem' }]);
|
63
|
+
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
64
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
65
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
66
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
67
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
68
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
69
|
+
fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
70
|
+
fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
|
71
|
+
utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
|
72
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
73
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
74
|
+
});
|
75
|
+
|
76
|
+
it('When the user has set an answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, points should be allocated for the correct answers and correct answer section should be displayed', () => {
|
77
|
+
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
78
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
|
79
|
+
fillInTheGapsTextPage.steps.clearAnswerInputFieldPreviewTab(0);
|
80
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
81
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
82
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
83
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
84
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
85
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
86
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
87
|
+
});
|
88
|
+
|
89
|
+
it('When the user has set an answer in the \'Specify correct answer\' section and enters responses in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, points should be allocated for the correct answers and correct answer section should be displayed', () => {
|
90
|
+
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
91
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }]);
|
92
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
93
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
94
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
95
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
96
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
97
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
98
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
99
|
+
});
|
100
|
+
|
101
|
+
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
102
|
+
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
103
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }, { responseIndex: 1, responseText: 'Rose' }, { responseIndex: 2, responseText: 'Sunflower' }]);
|
104
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
105
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
106
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
107
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
108
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
109
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
110
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
111
|
+
});
|
112
|
+
|
113
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
114
|
+
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
115
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Stem' }]);
|
116
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(24, 24);
|
117
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
118
|
+
fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
119
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
120
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
121
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
122
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
123
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
124
|
+
});
|
125
|
+
});
|
126
|
+
|
127
|
+
describe(`Auto scored - Partial equal weights`, () => {
|
128
|
+
abortEarlySetup();
|
129
|
+
before(() => {
|
130
|
+
fillInTheGapsTextPage.steps.navigateToCreateQuestion('fill in the gaps with text');
|
131
|
+
cy.barsPreLoaderWait();
|
132
|
+
fillInTheGapsTextPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
|
133
|
+
fillInTheGapsTextPage.steps.selectAutoScoredScoringSubtype('Partial equal weights')
|
134
|
+
fillInTheGapsTextPage.steps.allotPoints(24);
|
135
|
+
fillInTheGapsTextPage.steps.addResponseArea();
|
136
|
+
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
137
|
+
});
|
138
|
+
|
139
|
+
it('When the user has not set any answer in the \'Specify correct answer\' section and switches to the \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
|
140
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
141
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
142
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
143
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
144
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
145
|
+
fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
|
146
|
+
utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
|
147
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
148
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
|
149
|
+
});
|
150
|
+
|
151
|
+
it('When the user has not set any answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the responses, full points should be allocated and correct answer section should not be displayed', () => {
|
152
|
+
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
153
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
|
154
|
+
fillInTheGapsTextPage.steps.clearAnswerInputFieldPreviewTab(0);
|
155
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
156
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(24, 24);
|
157
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
158
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
159
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
160
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
161
|
+
});
|
162
|
+
|
163
|
+
it('When the user has not set any answer in the \'Specify correct answer\' section and enters incorrect response in any response in the preview tab then correct icons should be displayed beside the empty responses, incorrect icons should be displayed beside incorrect responses, points for the correct answers should be allocated and correct answer section should be displayed', () => {
|
164
|
+
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
165
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }]);
|
166
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
167
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(16, 24);
|
168
|
+
//Failing due to https://redmine.zeuslearning.com/issues/588679
|
169
|
+
// fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
170
|
+
// fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
171
|
+
// fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
172
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['', '', '']);
|
173
|
+
});
|
174
|
+
|
175
|
+
it('When the user sets an answer in the \'Specify correct answer\' section then on switching to \'Grading\' view without attempting the question, dropzone numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
|
176
|
+
fillInTheGapsTextPage.steps.switchToEditTab();
|
177
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Stem' }]);
|
178
|
+
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
179
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
180
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
181
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
182
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectIconNotExist(2);
|
183
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
184
|
+
fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
185
|
+
fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
|
186
|
+
utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
|
187
|
+
fillInTheGapsTextPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
188
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
189
|
+
});
|
190
|
+
|
191
|
+
it('When the user has set an answer in the \'Specify correct answer\' section and interacts with the question in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, points should be allocated for the correct answers and correct answer section should be displayed', () => {
|
192
|
+
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
193
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '1' }]);
|
194
|
+
fillInTheGapsTextPage.steps.clearAnswerInputFieldPreviewTab(0);
|
195
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
196
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(8, 24);
|
197
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
198
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
199
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
200
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
201
|
+
});
|
202
|
+
|
203
|
+
it('When the user has set an answer in the \'Specify correct answer\' section and enters responses in the preview tab then correct icons should be displayed beside all the correct responses and incorrect icon beside the incorrect responses, points should be allocated for the correct answers and correct answer section should be displayed', () => {
|
204
|
+
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
205
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }]);
|
206
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
207
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(16, 24);
|
208
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
209
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
210
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
211
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
212
|
+
});
|
213
|
+
|
214
|
+
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
215
|
+
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
216
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }, { responseIndex: 1, responseText: 'Rose' }, { responseIndex: 2, responseText: 'Sunflower' }]);
|
217
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(0, 24);
|
218
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
219
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(0);
|
220
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(1);
|
221
|
+
fillInTheGapsTextPage.steps.verifyIncorrectOptionIcon(2);
|
222
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', '', 'Stem']);
|
223
|
+
});
|
224
|
+
|
225
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
226
|
+
fillInTheGapsTextPage.steps.resetQuestionPreview();
|
227
|
+
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 2, responseText: 'Stem' }]);
|
228
|
+
fillInTheGapsTextPage.steps.verifyPreviewScore(24, 24);
|
229
|
+
fillInTheGapsTextPage.steps.switchToGradingView();
|
230
|
+
fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForCorrectAnswer();
|
231
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(0);
|
232
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(1);
|
233
|
+
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
234
|
+
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
235
|
+
});
|
236
|
+
});
|
237
|
+
});
|
@@ -11,14 +11,6 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
if (!grepTags || !grepTags.includes('smoke')) {
|
23
15
|
describe('Question preview modes: Student view and Grading view', () => {
|
24
16
|
abortEarlySetup();
|
@@ -95,7 +87,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
|
|
95
87
|
});
|
96
88
|
};
|
97
89
|
|
98
|
-
it(
|
90
|
+
it('When the user selects \'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', () => {
|
99
91
|
if (view === 'Grading view') {
|
100
92
|
studentViewPage.steps.submitResponse();
|
101
93
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -113,7 +105,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
|
|
113
105
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
114
106
|
});
|
115
107
|
|
116
|
-
it(
|
108
|
+
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', () => {
|
117
109
|
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Marigold' }, { responseIndex: 1, responseText: 'Rose' }, { responseIndex: 2, responseText: 'Sunflower' }]);
|
118
110
|
if (view === 'Grading view') {
|
119
111
|
studentViewPage.steps.submitResponse();
|
@@ -132,7 +124,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
|
|
132
124
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
133
125
|
});
|
134
126
|
|
135
|
-
it(
|
127
|
+
it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
136
128
|
if (view === 'Grading view') {
|
137
129
|
studentViewPage.steps.clearResponses();
|
138
130
|
};
|
@@ -154,7 +146,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
|
|
154
146
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
155
147
|
});
|
156
148
|
|
157
|
-
it(
|
149
|
+
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', () => {
|
158
150
|
if (view === 'Grading view') {
|
159
151
|
studentViewPage.steps.clearResponses();
|
160
152
|
};
|
@@ -175,7 +167,6 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
|
|
175
167
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
176
168
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
177
169
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
178
|
-
cy.eyesCheckWindow(`Fill in the gaps text - ${view} - Attempting the question correctly`);
|
179
170
|
});
|
180
171
|
});
|
181
172
|
});
|
@@ -11,14 +11,6 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
views.forEach((view) => {
|
23
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
24
16
|
abortEarlySetup();
|
@@ -68,10 +60,9 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
|
|
68
60
|
}
|
69
61
|
});
|
70
62
|
|
71
|
-
it(
|
63
|
+
it('Question instructions should be visible', () => {
|
72
64
|
utilities.verifyInnerText(fillInTheGapsTextPage.questionInstructionsText(), 'Fill in the gaps');
|
73
65
|
utilities.verifyElementVisibilityState(fillInTheGapsTextPage.questionInstructionsText(), 'visible');
|
74
|
-
cy.eyesCheckWindow(`Fill in the gaps text - ${view} - Default question state`);
|
75
66
|
});
|
76
67
|
|
77
68
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
@@ -81,12 +72,12 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
|
|
81
72
|
fillInTheGapsTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '' }, { responseIndex: 1, responseText: '' }, { responseIndex: 2, responseText: '' }]);
|
82
73
|
});
|
83
74
|
|
84
|
-
it(
|
75
|
+
it('User should be able to enter text in the answer input fields', () => {
|
85
76
|
fillInTheGapsTextPage.steps.enterTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
|
86
77
|
fillInTheGapsTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
|
87
78
|
});
|
88
79
|
} else if (view === 'Grading view') {
|
89
|
-
it(
|
80
|
+
it('The answer input fields should be displayed filled with answers', () => {
|
90
81
|
utilities.verifyElementCount(fillInTheGapsTextPage.answerInputFieldPreviewTab(), 3);
|
91
82
|
fillInTheGapsTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
|
92
83
|
});
|
@@ -97,7 +88,7 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
|
|
97
88
|
fillInTheGapsTextPage.steps.verifyAnswerInputFieldDisabled(2);
|
98
89
|
});
|
99
90
|
} else {
|
100
|
-
it(
|
91
|
+
it('The answer input fields should be displayed filled with correct answers', () => {
|
101
92
|
utilities.verifyElementCount(fillInTheGapsTextPage.answerInputFieldPreviewTab(), 3);
|
102
93
|
fillInTheGapsTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: '20.00' }, { responseIndex: 2, responseText: '7' }]);
|
103
94
|
});
|
@@ -85,6 +85,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
85
85
|
itemPreviewPage.steps.switchToPreviewTab();
|
86
86
|
break;
|
87
87
|
case 'Grading view':
|
88
|
+
cy.wait(5000);
|
88
89
|
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
89
90
|
break;
|
90
91
|
}
|
@@ -114,7 +115,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
114
115
|
});
|
115
116
|
};
|
116
117
|
|
117
|
-
it(
|
118
|
+
it('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
|
118
119
|
if (view === 'Grading view') {
|
119
120
|
studentViewPage.steps.submitResponse();
|
120
121
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -146,7 +147,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
146
147
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
|
147
148
|
});
|
148
149
|
|
149
|
-
it(
|
150
|
+
it('When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph', () => {
|
150
151
|
graphingPage.steps.selectGraphToolOptionPreviewTab('Circle');
|
151
152
|
graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: -2, xRange: 20, y: 1, yRange: 20 }, { x: -4, xRange: 20, y: 1, yRange: 20 }]);
|
152
153
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -2, xRange: 20, y: 1, yRange: 20 }, { x: -4, xRange: 20, y: 1, yRange: 20 }]);
|
@@ -182,7 +183,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
182
183
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
|
183
184
|
});
|
184
185
|
|
185
|
-
it(
|
186
|
+
it('When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph', () => {
|
186
187
|
if (view === 'Grading view') {
|
187
188
|
studentViewPage.steps.clearResponses();
|
188
189
|
}
|
@@ -221,7 +222,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
221
222
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
|
222
223
|
});
|
223
224
|
|
224
|
-
it(
|
225
|
+
it('When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph', () => {
|
225
226
|
if (view === 'Grading view') {
|
226
227
|
studentViewPage.steps.clearResponses();
|
227
228
|
}
|
@@ -264,7 +265,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
264
265
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphCorrectAnswerSection([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
|
265
266
|
});
|
266
267
|
|
267
|
-
it(
|
268
|
+
it('When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed and the attempted graph should be displayed correct and the correct answer section graph should not be displayed', () => {
|
268
269
|
if (view === 'Grading view') {
|
269
270
|
studentViewPage.steps.clearResponses();
|
270
271
|
}
|
@@ -14,14 +14,6 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
if (views.includes('Grading view')) {
|
26
18
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -67,14 +59,13 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
|
|
67
59
|
utilities.verifyElementVisibilityState(graphingPage.graphControlOptionPreviewTab(), 'notExist');
|
68
60
|
});
|
69
61
|
|
70
|
-
it('
|
62
|
+
it('The graph plotted by the author in the edit tab should be displayed in the grading view', () => {
|
71
63
|
utilities.verifyElementVisibilityState(graphingPage.gradingViewQuestionSineWave(), 'visible');
|
72
64
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 7, yRange: 20 }, { x: 1, xRange: 20, y: 8, yRange: 20 }]);
|
73
65
|
utilities.verifyElementVisibilityState(graphingPage.gradingViewQuestionCircle(), 'visible');
|
74
66
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
75
67
|
utilities.verifyElementVisibilityState(graphingPage.gradingViewQuestionLine(), 'visible');
|
76
68
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
77
|
-
cy.eyesCheckWindow('Graphing - The graph plotted by the author in the edit tab should be displayed in the grading view');
|
78
69
|
});
|
79
70
|
|
80
71
|
it('Correct answer label should be displayed', () => {
|
@@ -172,14 +163,13 @@ describe('Create item page - Graphing: Grading view, Correct answer view content
|
|
172
163
|
utilities.verifyElementVisibilityState(graphingPage.graphControlOptionPreviewTab(), 'notExist');
|
173
164
|
});
|
174
165
|
|
175
|
-
it('
|
166
|
+
it('The graph plotted by the author along with the correct answer should be displayed in the correct answer view', () => {
|
176
167
|
utilities.verifyElementVisibilityState(graphingPage.graphLine(), 'visible');
|
177
168
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }])
|
178
169
|
utilities.verifyElementVisibilityState(graphingPage.graphPolygon(), 'visible');
|
179
170
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }])
|
180
171
|
utilities.verifyElementVisibilityState(graphingPage.graphCircle(), 'visible');
|
181
172
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }])
|
182
|
-
cy.eyesCheckWindow('Graphing - The graph plotted by the author should be displayed in the correct answer view');
|
183
173
|
});
|
184
174
|
|
185
175
|
it('The points alloted to the question should be displayed', () => {
|