itemengine-cypress-automation 1.0.284-RepoUpdate13thJan-c7ac0b4.0 → 1.0.285-applitools-da9f1a8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -26
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -4
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +11 -2
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +17 -8
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +3 -3
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +17 -8
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +15 -6
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +6 -7
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +9 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +10 -11
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +15 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +19 -21
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +8 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +15 -6
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +16 -6
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +9 -1
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +15 -5
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +11 -2
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +14 -4
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -3
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +19 -10
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +11 -2
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +14 -4
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +3 -2
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +10 -0
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +10 -1
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +5 -6
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +23 -14
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -6
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -193
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +13 -5
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -4
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +16 -6
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +11 -1
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +16 -6
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +14 -4
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -9
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/applitools.config.js +14 -0
- package/cypress/pages/audioPlayerPage.js +4 -4
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +0 -17
- package/cypress/pages/components/equationEditorFlyout.js +1 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +3 -1
- package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -5
- package/cypress/pages/components/gridQuestionCommonComponent.js +1 -41
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/createItemPage.js +1 -38
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -45
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +2 -35
- package/cypress/pages/listOrderingPage.js +1 -1
- package/cypress/pages/matchingPage.js +7 -34
- package/cypress/pages/multipleSelectionPage.js +2 -17
- package/cypress/pages/numberLineLabelPage.js +3 -3
- package/cypress/pages/readingRulerPage.js +3 -5
- package/cypress/pages/singleSelectionPage.js +2 -5
- package/cypress/pages/textEntryMathPage.js +5 -19
- package/cypress/pages/textSelectionPage.js +1 -1
- package/cypress/support/commands.js +11 -0
- package/cypress/support/e2e.js +1 -0
- package/package.json +4 -1
- package/cypress/e2e/ILC/EditItem/editItem.ts +0 -133
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +0 -214
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +0 -228
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +0 -242
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +0 -245
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +0 -237
- package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +0 -239
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +0 -212
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +0 -366
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +0 -306
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -243
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -242
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -289
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -284
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -238
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -279
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +0 -641
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -278
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -228
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -234
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -237
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -134
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -138
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -263
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -166
@@ -30,10 +30,9 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
30
30
|
it('When the user selects \'Grading\' view without attempting the question, dropzone numeration and correct answer section with correct answers from the correct accordion and respective dropzone numeration should be displayed', () => {
|
31
31
|
dragAndDropIntoCategoriesPage.steps.switchToGradingView();
|
32
32
|
dragAndDropIntoCategoriesPage.steps.verifyDropzoneCellNumeration(['1', '2', '3', '4', '5', '6']);
|
33
|
-
|
34
|
-
// dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
|
33
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
|
35
34
|
dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 30);
|
36
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
35
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
37
36
|
});
|
38
37
|
|
39
38
|
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 and proper icon should display beside empty container, correct icons should be displayed for all correct dropzones, correct/incorrect answer status message should not be displayed and correct answer section should not be displayed', () => {
|
@@ -106,7 +105,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
106
105
|
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(4);
|
107
106
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
108
107
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
|
109
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
108
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
110
109
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
111
110
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
112
111
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, correct icons should be displayed for all correct dropzones, incorrect icon should be displayed for incorrect dropzones, correct/incorrect answer status message and correct answer section should not be displayed')
|
@@ -131,7 +130,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
131
130
|
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(5);
|
132
131
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'incorrect': 4, 'incorrect': 5 });
|
133
132
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
134
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
133
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
|
135
134
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
136
135
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, correct icons should be displayed for all correct dropzones, incorrect icon should be displayed for incorrect dropzones, correct/incorrect answer status message and correct answer section should not be displayed')
|
137
136
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -155,7 +154,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
155
154
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
156
155
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
|
157
156
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
158
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
157
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
159
158
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
160
159
|
/*cy.log('When the user has attempted the question with partially correct such that a dropzone is correctly attempted with both the correct and alternative answer options and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides the alternative accordion responses, incorrect icon should be displayed for the dropzone containing options of alternative accordion and correct accordion in the same dropzone, correct/incorrect answer status message and correct answer section should not be displayed')
|
161
160
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -179,7 +178,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
179
178
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
180
179
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
|
181
180
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
182
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
181
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
183
182
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
184
183
|
/*cy.log('When the user has attempted the question partially correct such that one dropzone is correctly attempted as per the correct accordion and another dropzone is correctly attempted as per the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides the alternative accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone, correct/incorrect answer status message and correct answer section should not be displayed')
|
185
184
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -203,7 +202,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
203
202
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
204
203
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'correct': 3, 'incorrect': 4, 'correct': 5 });
|
205
204
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
206
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
205
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
207
206
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
208
207
|
/*cy.log('When the user has attempted the question partially correct with only common options across both accordions and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
|
209
208
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -227,7 +226,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
227
226
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
228
227
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'correct': 1, 'incorrect': 2, 'correct': 3, 'incorrect': 4, 'correct': 5 });
|
229
228
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
230
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
229
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
231
230
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
232
231
|
/*cy.log('When the user has attempted the question partially correct such that equal number of dropzones are correct according to correct accordion and alternative accordion mappings and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides alternative accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
|
233
232
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -255,7 +254,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
255
254
|
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(3);
|
256
255
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'correct': 4, 'correct': 5 });
|
257
256
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
258
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
257
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Flying squirrel'], ['Eagle', 'Peacock'], ['Ostrich'], ['Platypus'], ['Octopus'], []], ['1', '2', '4', '5', '6', '3']);
|
259
258
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
260
259
|
/*cy.log('When the user has attempted the question such that more number of dropzones are correct as per the alternative accordion mapping than the correct accordion mapping and clicks on \'Check answer\' button, then correct icon should be displayed besides alternative accordion responses, incorrect icon should be displayed besides the correct accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
|
261
260
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -30,10 +30,9 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
30
30
|
it('When the user selects \'Grading\' view without attempting the question, dropzone numeration and correct answer section with correct answers from the correct accordion and respective dropzone numeration should be displayed', () => {
|
31
31
|
dragAndDropIntoCategoriesPage.steps.switchToGradingView();
|
32
32
|
dragAndDropIntoCategoriesPage.steps.verifyDropzoneCellNumeration(['1', '2', '3', '4', '5', '6']);
|
33
|
-
|
34
|
-
// dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
|
33
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
|
35
34
|
dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 30);
|
36
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
35
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
37
36
|
});
|
38
37
|
|
39
38
|
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, correct icons should be displayed for all correct dropzones proper icon should display beside empty dropzone, correct/incorrect answer status message should not be displayed and correct answer section should not be displayed', () => {
|
@@ -106,7 +105,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
106
105
|
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(4);
|
107
106
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
108
107
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
|
109
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
108
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
110
109
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
111
110
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
112
111
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the correct accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, correct icons should be displayed for all correct dropzones, incorrect icon should be displayed for incorrect dropzones, correct/incorrect answer status message and correct answer section should not be displayed')
|
@@ -131,7 +130,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
131
130
|
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(4);
|
132
131
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
|
133
132
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
134
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
133
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
135
134
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
136
135
|
/*cy.log('When the user has attempted the question with partially correct options exclusively from the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, correct icons should be displayed for all correct dropzones, incorrect icon should be displayed for incorrect dropzones, correct/incorrect answer status message and correct answer section should not be displayed')
|
137
136
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -156,7 +155,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
156
155
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
157
156
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'incorrect': 3, 'incorrect': 4, 'correct': 5 });
|
158
157
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
159
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
158
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
160
159
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
161
160
|
/*cy.log('When the user has attempted the question with partially correct such that a dropzone is correctly attempted with both the correct and alternative answer options and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides the alternative accordion responses, incorrect icon should be displayed for the dropzone containing options of alternative accordion and correct accordion in the same dropzone, correct/incorrect answer status message and correct answer section should not be displayed')
|
162
161
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -180,7 +179,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
180
179
|
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(4);
|
181
180
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'incorrect': 4, 'incorrect': 5 });
|
182
181
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
183
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
182
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
184
183
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
185
184
|
/*cy.log('When the user has attempted the question partially correct such that one dropzone is correctly attempted as per the correct accordion and another dropzone is correctly attempted as per the alternative accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides the alternative accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone, correct/incorrect answer status message and correct answer section should not be displayed')
|
186
185
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -204,7 +203,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
204
203
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
205
204
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'correct': 3, 'incorrect': 4, 'correct': 5 });
|
206
205
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
207
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
206
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
208
207
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
209
208
|
/*cy.log('When the user has attempted the question partially correct with only common options across both accordions and clicks on \'Check answer\' button, then correct icon should be displayed besides the correct answer responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
|
210
209
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -228,7 +227,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
228
227
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
229
228
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'correct': 1, 'incorrect': 2, 'correct': 3, 'incorrect': 4, 'correct': 5 });
|
230
229
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
231
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
230
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
232
231
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
233
232
|
/*cy.log('When the user has attempted the question partially correct such that equal number of dropzones are correct according to correct accordion and alternative accordion mappings and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides alternative accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
|
234
233
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -256,7 +255,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
256
255
|
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(3);
|
257
256
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'correct': 0, 'incorrect': 1, 'correct': 2, 'incorrect': 3, 'correct': 4, 'correct': 5 });
|
258
257
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
259
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
258
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
260
259
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
261
260
|
/*cy.log('When the user has attempted the question such that more number of dropzones are correct as per the alternative accordion mapping than the correct accordion mapping and points achieved from the alternative accordion mapping is more than the points achieved from correct accordion mapping and clicks on \'Check answer\' button, then correct icon should be displayed besides alternative accordion responses, incorrect icon should be displayed besides the correct accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
|
262
261
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -291,7 +290,7 @@ describe('Create item page - Drag and drop into categories: Per dropzone with al
|
|
291
290
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
292
291
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectIconsForDropzone({ 'incorrect': 0, 'incorrect': 1, 'incorrect': 2, 'correct': 3, 'incorrect': 4, 'correct': 5 });
|
293
292
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
294
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([[
|
293
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
295
294
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
296
295
|
/*cy.log('When the user has attempted the question such that more number of dropzones are correct according to the alternative accordion mapping and points achieved from the correct accordion mapping is equal to the points achieved from alternative accordion mapping and clicks on \'Check answer\' button, then correct icon should be displayed besides correct accordion responses, incorrect icon should be displayed besides the alternative accordion responses, correct icon should be displayed for correct dropzone, incorrect icon should be displayed for incorrect dropzone. correct/incorrect answer status message and correct answer section should not be displayed')
|
297
296
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -86,7 +86,7 @@ describe('Drag and drop into categories - Additional settings', () => {
|
|
86
86
|
dragAndDropIntoCategoriesPage.steps.expandAdditionalSettings();
|
87
87
|
});
|
88
88
|
|
89
|
-
it(`"ARIA label for dropzones" label should be displayed`, () => {
|
89
|
+
it.skip(`"ARIA label for dropzones" label should be displayed`, () => {
|
90
90
|
utilities.verifyInnerText(dragAndDropIntoCategoriesPage.ariaLabelSectionLabel(), `ARIA label for dropzones`);
|
91
91
|
utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.ariaLabelSectionLabel(), 'visible');
|
92
92
|
});
|
@@ -11,6 +11,14 @@ describe('Create item page - Drag and drop into categories: 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
|
+
|
14
22
|
if (!grepTags || !grepTags.includes('smoke')) {
|
15
23
|
describe('Question preview modes: Student view and Grading view', () => {
|
16
24
|
abortEarlySetup();
|
@@ -95,7 +103,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
|
|
95
103
|
});
|
96
104
|
};
|
97
105
|
|
98
|
-
it(
|
106
|
+
it(`${view} - When the user selects 'Grading' view without attempting the question, cell numeration should be displayed, correct answers section should be displayed with correct answers, correct/incorrect status message should not be displayed and respective cell numeration`, () => {
|
99
107
|
if (view === 'Grading view') {
|
100
108
|
studentViewPage.steps.submitResponse();
|
101
109
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -114,7 +122,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
|
|
114
122
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
115
123
|
});
|
116
124
|
|
117
|
-
it(
|
125
|
+
it(`${view} - 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 dropzone cell numeration should be displayed`, () => {
|
118
126
|
dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Platypus': 0 });
|
119
127
|
if (view === 'Grading view') {
|
120
128
|
studentViewPage.steps.submitResponse();
|
@@ -131,7 +139,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
|
|
131
139
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
132
140
|
});
|
133
141
|
|
134
|
-
it(
|
142
|
+
it(`${view} - When the user attempts the question partially correct with some cells correct, some cells partially correct but incomplete, some cells partially correct with incorrect options, 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 dropzone cell numeration should be displayed`, () => {
|
135
143
|
if (view === 'Grading view') {
|
136
144
|
studentViewPage.steps.clearResponses();
|
137
145
|
};
|
@@ -154,7 +162,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
|
|
154
162
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
155
163
|
});
|
156
164
|
|
157
|
-
it(
|
165
|
+
it(`${view} - When the user attempts the question partially correct with all the cells correctly attempted but one cell incomplete, 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 dropzone cell numeration should be displayed`, () => {
|
158
166
|
if (view === 'Grading view') {
|
159
167
|
studentViewPage.steps.clearResponses();
|
160
168
|
};
|
@@ -178,7 +186,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
|
|
178
186
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
179
187
|
});
|
180
188
|
|
181
|
-
it(
|
189
|
+
it(`${view} - When the user attempts the question partially correct with all the cells correctly attempted but with an extra option which is not set as correct answer, 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 dropzone cell numeration should be displayed`, () => {
|
182
190
|
if (view === 'Grading view') {
|
183
191
|
studentViewPage.steps.clearResponses();
|
184
192
|
};
|
@@ -204,7 +212,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
|
|
204
212
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
205
213
|
});
|
206
214
|
|
207
|
-
it(
|
215
|
+
it(`${view} - 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`, () => {
|
208
216
|
if (view === 'Grading view') {
|
209
217
|
studentViewPage.steps.clearResponses();
|
210
218
|
};
|
@@ -229,6 +237,7 @@ describe('Create item page - Drag and drop into categories: All or nothing ', ()
|
|
229
237
|
//Need to remove comment once https://redmine.zeuslearning.com/issues/577009 is resolved
|
230
238
|
// dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
231
239
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerSectionNotExists();
|
240
|
+
cy.eyesCheckWindow(`${view} - DND - Correct attempt`);
|
232
241
|
});
|
233
242
|
});
|
234
243
|
});
|
@@ -11,6 +11,14 @@ describe('Create item page - Drag and drop into categories: Preview contents', (
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
+
beforeEach(() => {
|
15
|
+
cy.startApplitools();
|
16
|
+
});
|
17
|
+
|
18
|
+
afterEach(() => {
|
19
|
+
cy.eyesClose();
|
20
|
+
});
|
21
|
+
|
14
22
|
views.forEach((view) => {
|
15
23
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
16
24
|
abortEarlySetup();
|
@@ -77,12 +85,13 @@ describe('Create item page - Drag and drop into categories: Preview contents', (
|
|
77
85
|
}
|
78
86
|
});
|
79
87
|
|
80
|
-
it(
|
88
|
+
it(`DND into categories: ${view} Question instructions should be visible`, () => {
|
81
89
|
utilities.verifyInnerText(dragAndDropIntoCategoriesPage.questionInstructionsText(), 'Drag and drop options in correct categories');
|
82
90
|
utilities.verifyElementVisibilityState(dragAndDropIntoCategoriesPage.questionInstructionsText(), 'visible');
|
91
|
+
cy.eyesCheckWindow(`DND into categories: ${view} Default question state`);
|
83
92
|
});
|
84
93
|
|
85
|
-
it(`The category table as set by the user should be displayed in the ${view}`, () => {
|
94
|
+
it(`DND into categories: The category table as set by the user should be displayed in the ${view}`, () => {
|
86
95
|
dragAndDropIntoCategoriesPage.steps.verifyTableCellPropertyPreviewTab(0, 'None');
|
87
96
|
utilities.verifyInnerText(utilities.getNthElement(dragAndDropIntoCategoriesPage.cellContainerPreviewTab(), 0), '');
|
88
97
|
dragAndDropIntoCategoriesPage.steps.verifyTableCellPropertyPreviewTab(1, 'Heading');
|
@@ -107,7 +116,7 @@ describe('Create item page - Drag and drop into categories: Preview contents', (
|
|
107
116
|
dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionPreviewTab(5, 'Eagle');
|
108
117
|
});
|
109
118
|
|
110
|
-
it(`User should able to drag and drop options in the ${view}`, () => {
|
119
|
+
it(`DND into categories: User should able to drag and drop options in the ${view}`, () => {
|
111
120
|
dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Eagle': 1, 'Bat': 0 });
|
112
121
|
dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(0, ['Bat']);
|
113
122
|
dragAndDropIntoCategoriesPage.steps.verifyDraggableOptionInDropzoneOfPreviewTab(1, ['Eagle']);
|
@@ -13,6 +13,14 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
|
|
13
13
|
cy.loginAs('admin');
|
14
14
|
});
|
15
15
|
|
16
|
+
beforeEach(() => {
|
17
|
+
cy.startApplitools();
|
18
|
+
});
|
19
|
+
|
20
|
+
afterEach(() => {
|
21
|
+
cy.eyesClose();
|
22
|
+
});
|
23
|
+
|
16
24
|
if (views.includes('Grading view')) {
|
17
25
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
18
26
|
abortEarlySetup();
|
@@ -50,10 +58,11 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
|
|
50
58
|
utilities.verifyElementVisibilityState(drawingResponsePage.questionInstructionsText(), 'visible');
|
51
59
|
});
|
52
60
|
|
53
|
-
it('A preview of the canvas along with the play button should be displayed and user should be able to click on the play button', () => {
|
61
|
+
it('Drawing response: A preview of the canvas along with the play button should be displayed and user should be able to click on the play button', () => {
|
54
62
|
utilities.verifyElementVisibilityState(drawingResponsePage.gradingViewPlayFeatureButton(), 'visible');
|
55
63
|
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabLowerCanvas(), 'visible');
|
56
64
|
drawingResponsePage.steps.clickOnPlayButtonInGradingView();
|
65
|
+
cy.eyesCheckWindow(`Checking grading view for drawing response`);
|
57
66
|
});
|
58
67
|
|
59
68
|
it('Empty score input field and total score should be displayed', () => {
|
@@ -91,9 +100,10 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
|
|
91
100
|
utilities.verifyElementVisibilityState(correctAnswerViewPage.correctAnswerViewQuestionInstructions(), 'visible');
|
92
101
|
});
|
93
102
|
|
94
|
-
it('\'This is a manual scored question\' help text should be displayed in the correct answer view', () => {
|
103
|
+
it('Drawing response: \'This is a manual scored question\' help text should be displayed in the correct answer view', () => {
|
95
104
|
utilities.verifyTextContent(correctAnswerViewPage.manualScoredQuestionHelpText(), 'This is a manual scored question.');
|
96
105
|
utilities.verifyElementVisibilityState(correctAnswerViewPage.manualScoredQuestionHelpText(), 'visible');
|
106
|
+
cy.eyesCheckWindow(`Checking correct answer view for drawing response`);
|
97
107
|
});
|
98
108
|
|
99
109
|
it('The points alloted to the question should be displayed', () => {
|
@@ -76,7 +76,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
76
76
|
});
|
77
77
|
|
78
78
|
//Will not be able to cover image options as they will open the windows explorer popup and closing the popup is not possible
|
79
|
-
it(
|
79
|
+
it(`When user clicks on the drawing toolbar options, then the option name and its respective secondary toolbar options should be displayed in the secondary toolbar`, () => {
|
80
80
|
drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions.forEach((toolbarOption) => {
|
81
81
|
if (toolbarOption.secondaryToolbarOptions !== undefined) {
|
82
82
|
drawingResponsePage.steps.selectPreviewTabToolbarOption(toolbarOption.displayName);
|
@@ -135,7 +135,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
135
135
|
drawingResponsePage.steps.switchToPreviewTab();
|
136
136
|
});
|
137
137
|
|
138
|
-
it(
|
138
|
+
it(`User should be able to upload an image`, () => {
|
139
139
|
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
|
140
140
|
drawingResponsePage.steps.uploadFile('uploads/image.png');
|
141
141
|
});
|
@@ -145,14 +145,13 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
145
145
|
drawingResponsePage.steps.verifyInsertImageContainerNotExist();
|
146
146
|
});
|
147
147
|
|
148
|
-
it(
|
149
|
-
drawingResponsePage.steps.resetQuestionPreview();
|
148
|
+
it(`User should be able to attach multiple files at once among the supported file types`, () => {
|
150
149
|
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
|
151
150
|
drawingResponsePage.steps.uploadFile(['uploads/sample.jpg', 'uploads/sample.gif']);
|
152
151
|
drawingResponsePage.steps.verifyInsertImageContainerNotExist();
|
153
152
|
});
|
154
153
|
|
155
|
-
it(
|
154
|
+
it(`When the user tries to upload an image more than 5mb then an error should be displayed 'The following files were rejected *filename* is too large. The maximum file size is 5MB'`, () => {
|
156
155
|
drawingResponsePage.steps.resetQuestionPreview();
|
157
156
|
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
|
158
157
|
drawingResponsePage.steps.uploadFile('uploads/20mbFile.png');
|
@@ -194,7 +193,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
194
193
|
});
|
195
194
|
});
|
196
195
|
|
197
|
-
it(
|
196
|
+
it(`When user clicks on 'Special characters' secondary toolbar option, then the 'Special characters' popup should be displayed with 'Special characters' title and a 'Close' button`, () => {
|
198
197
|
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]);
|
199
198
|
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopup(), 'exist');
|
200
199
|
drawingResponsePage.steps.verifySecondaryOptionCharactersPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]);
|
@@ -207,7 +206,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
207
206
|
});
|
208
207
|
});
|
209
208
|
|
210
|
-
it(
|
209
|
+
it(`All categories and accordions should be displayed in the popup`, () => {
|
211
210
|
drawingResponsePage.steps.verifySpecialCharactersPopupCategoryTitlesAndAccordions(specialCharacters);
|
212
211
|
});
|
213
212
|
|
@@ -242,7 +241,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
242
241
|
drawingResponsePage.steps.verifySpecialCharactersPopupCategoryAccordionIsExpanded(2);
|
243
242
|
});
|
244
243
|
|
245
|
-
it(
|
244
|
+
it(`When user clicks on any category icon, then the category flyout should stay open`, () => {
|
246
245
|
drawingResponsePage.steps.clickOnCharacterPopupSymbol('Iuml');
|
247
246
|
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopup(), 'exist');
|
248
247
|
});
|
@@ -282,13 +281,13 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
282
281
|
cy.barsPreLoaderWait();
|
283
282
|
});
|
284
283
|
|
285
|
-
it(
|
284
|
+
it(`${view} When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} secondary toolbar option should not be displayed`, () => {
|
286
285
|
drawingResponsePage.steps.switchToPreviewTab();
|
287
286
|
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
288
287
|
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]), 'notExist');
|
289
288
|
});
|
290
289
|
|
291
|
-
it(
|
290
|
+
it(`${view} When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} secondary toolbar option should be displayed`, () => {
|
292
291
|
drawingResponsePage.steps.switchToEditTab();
|
293
292
|
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
294
293
|
drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[1]}`]);
|
@@ -307,7 +306,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
307
306
|
});
|
308
307
|
});
|
309
308
|
|
310
|
-
it(
|
309
|
+
it(`${view} When user clicks on \'Math characters\' secondary toolbar option, then the \'Math characters\' popup should be displayed with \'Math characters\' title and a \'Close\' button`, () => {
|
311
310
|
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]);
|
312
311
|
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopup(), 'exist');
|
313
312
|
drawingResponsePage.steps.verifySecondaryOptionCharactersPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]);
|
@@ -361,14 +360,13 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
361
360
|
cy.barsPreLoaderWait();
|
362
361
|
});
|
363
362
|
|
364
|
-
|
365
|
-
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} secondary toolbar option should not be displayed`, () => {
|
363
|
+
it(`${view} When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} secondary toolbar option should not be displayed`, () => {
|
366
364
|
drawingResponsePage.steps.switchToPreviewTab();
|
367
365
|
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
368
366
|
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]), 'notExist');
|
369
367
|
});
|
370
368
|
|
371
|
-
it(
|
369
|
+
it(`${view} When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} secondary toolbar option should be displayed`, () => {
|
372
370
|
drawingResponsePage.steps.switchToEditTab();
|
373
371
|
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
374
372
|
drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[2]}`]);
|
@@ -391,7 +389,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
391
389
|
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption().parents('.drawing-tool__secondary-toolbar'));
|
392
390
|
});
|
393
391
|
|
394
|
-
it(
|
392
|
+
it(`${view} When user clicks on \'Font size\' secondary toolbar option, then the \'Font size\' popup should be displayed`, () => {
|
395
393
|
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]);
|
396
394
|
});
|
397
395
|
|
@@ -463,7 +461,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
463
461
|
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption().parents('.drawing-tool__secondary-toolbar'));
|
464
462
|
});
|
465
463
|
|
466
|
-
it(
|
464
|
+
it(`When user clicks on \'Opacity\' secondary toolbar option, then the \'Opacity\' popup should be displayed and \'Opacity\' secondary toolbar option should be in selected state`, () => {
|
467
465
|
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[2]);
|
468
466
|
drawingResponsePage.steps.verifySecondaryPopupExist();
|
469
467
|
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
@@ -481,12 +479,12 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
481
479
|
drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(100);
|
482
480
|
});
|
483
481
|
|
484
|
-
it(
|
482
|
+
it(`When the user changes value in the opacity input field, the slider value should also change accordingly`, () => {
|
485
483
|
drawingResponsePage.steps.enterValueInOpacityInputFieldValue(10);
|
486
484
|
drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(10);
|
487
485
|
});
|
488
486
|
|
489
|
-
it(
|
487
|
+
it(`When the user changes the opacity slider value, value in the opacity input field should also change`, () => {
|
490
488
|
drawingResponsePage.steps.clickOnSecondaryPopupSlider();
|
491
489
|
drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(51);
|
492
490
|
drawingResponsePage.steps.verifySecondaryPopupOpacityInputFieldValue(51);
|
@@ -566,7 +564,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
566
564
|
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption().parents('.drawing-tool__secondary-toolbar'));
|
567
565
|
});
|
568
566
|
|
569
|
-
it(
|
567
|
+
it(`When user clicks on 'Stroke thickness' secondary toolbar option, then the 'Stroke thickness' popup should be displayed and 'Stroke thickness' secondary toolbar option should be in selected state`, () => {
|
570
568
|
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]);
|
571
569
|
drawingResponsePage.steps.verifySecondaryPopupExist();
|
572
570
|
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
@@ -632,13 +630,13 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
632
630
|
cy.barsPreLoaderWait();
|
633
631
|
});
|
634
632
|
|
635
|
-
it(
|
633
|
+
it(`${view} -When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} secondary toolbar option should not be displayed`, () => {
|
636
634
|
drawingResponsePage.steps.switchToPreviewTab();
|
637
635
|
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
638
636
|
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]), 'notExist');
|
639
637
|
});
|
640
638
|
|
641
|
-
it(
|
639
|
+
it(`${view} -When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} secondary toolbar option should be displayed`, () => {
|
642
640
|
drawingResponsePage.steps.switchToEditTab();
|
643
641
|
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
644
642
|
drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[3]}`]);
|
@@ -11,6 +11,14 @@ describe('Create question page - Essay Response: Equation Editor functionality',
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
+
beforeEach(() => {
|
15
|
+
cy.startApplitools();
|
16
|
+
});
|
17
|
+
|
18
|
+
afterEach(() => {
|
19
|
+
cy.eyesClose();
|
20
|
+
});
|
21
|
+
|
14
22
|
describe('Preview tab \'Equation Editor\' flyout', { tags: 'smoke' }, () => {
|
15
23
|
abortEarlySetup();
|
16
24
|
before(() => {
|
@@ -54,7 +54,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
|
|
54
54
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Petals': 0, 'Branch': 2 });
|
55
55
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
56
56
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
57
|
-
fillInTheGapsDragAndDropPage.steps.
|
57
|
+
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
58
58
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
59
59
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
60
60
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Petals'], ['Leaves'], ['Stem']]);
|
@@ -62,7 +62,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
|
|
62
62
|
/*cy.log('When the user attempts the question partially correct with some correct, some incomplete, some incorrect options and clicks on \'Check answer\' button, then incorrect icon should be displayed besides the dropzone incorrect response and correct icon should be displayed beside the correct response, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
|
63
63
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
64
64
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(0);
|
65
|
-
fillInTheGapsDragAndDropPage.steps.
|
65
|
+
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(1);
|
66
66
|
fillInTheGapsDragAndDropPage.steps.verifyIncorrectOptionIcon(2);
|
67
67
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
68
68
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
@@ -73,7 +73,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
|
|
73
73
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Leaves': 1, 'Stem': 2 })
|
74
74
|
fillInTheGapsDragAndDropPage.steps.verifyPreviewScore(0, 20);
|
75
75
|
fillInTheGapsDragAndDropPage.steps.switchToGradingView();
|
76
|
-
fillInTheGapsDragAndDropPage.steps.
|
76
|
+
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
77
77
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
78
78
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
79
79
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
@@ -81,7 +81,7 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
|
|
81
81
|
fillInTheGapsDragAndDropPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
82
82
|
/*cy.log('When the user attempts the question partially correct with all the dropzone correctly attempted but one dropzone incomplete and clicks on \'Check answer\' button, then no icon should be displayed besides the incomplete and correct icon should be displayed beside the correct response, a status message with text \'Your answer is incorrect\' should be displayed and correct answer section should not be displayed')
|
83
83
|
fillInTheGapsDragAndDropPage.steps.checkAnswer();
|
84
|
-
fillInTheGapsDragAndDropPage.steps.
|
84
|
+
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectIconNotExist(0);
|
85
85
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(1);
|
86
86
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectOptionIcon(2);
|
87
87
|
fillInTheGapsDragAndDropPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|