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
@@ -75,7 +75,7 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
|
|
75
75
|
});
|
76
76
|
|
77
77
|
it('When user clicks on \'Add evaluation\' button, then a tab \'Evaluation 2\' should be added in the response accordion', () => {
|
78
|
-
textEntryMathPage.steps.clickOnAddEvaluationButton();
|
78
|
+
textEntryMathPage.steps.clickOnAddEvaluationButton(0);
|
79
79
|
utilities.verifyInnerText(utilities.getNthElement(textEntryMathPage.evaluationTab(), 1), 'Evaluation 2');
|
80
80
|
utilities.verifyElementCount(textEntryMathPage.evaluationTab(), 2);
|
81
81
|
utilities.verifyElementVisibilityState(utilities.getNthElement(textEntryMathPage.evaluationTab(), 1), 'visible');
|
@@ -90,7 +90,7 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
|
|
90
90
|
textEntryMathPage.tests.verifyEvaluationTabEvaluationMethodContainers();
|
91
91
|
|
92
92
|
it('User should be able to add another evaluation method for the response using \'Add evaluation\' button and the name for this new evaluation tab should be \'Evaluation 3\'', () => {
|
93
|
-
textEntryMathPage.steps.clickOnAddEvaluationButton();
|
93
|
+
textEntryMathPage.steps.clickOnAddEvaluationButton(1);
|
94
94
|
utilities.verifyInnerText(utilities.getNthElement(textEntryMathPage.evaluationTab(), 2), 'Evaluation 3');
|
95
95
|
utilities.verifyElementCount(textEntryMathPage.evaluationTab(), 3);
|
96
96
|
});
|
@@ -105,7 +105,7 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
|
|
105
105
|
|
106
106
|
it('When user selects a new evaluation method in \'Evaluation 2\' tab and switches to \'Evaluation 1\' tab then in \'Evaluation 1\' tab the previously selected evaluation method should persist', () => {
|
107
107
|
textEntryMathPage.steps.navigateToEvaluationTab(1);
|
108
|
-
textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[4].name);
|
108
|
+
textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[4].name, 4);
|
109
109
|
textEntryMathPage.steps.navigateToEvaluationTab(0);
|
110
110
|
textEntryMathPage.steps.verifyEvaluationMethodActiveState(evaluationMethods[1].name);
|
111
111
|
});
|
@@ -262,10 +262,10 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
|
|
262
262
|
textEntryMathPage.steps.verifyCustomSettingsAccordionIsCollapsed();
|
263
263
|
});
|
264
264
|
|
265
|
-
evaluationMethods.forEach((evaluationMethod) => {
|
265
|
+
evaluationMethods.forEach((evaluationMethod, index) => {
|
266
266
|
it(`When user clicks on the custom settings accordion for ${evaluationMethod.name}, then the custom settings accordion should be expanded`, () => {
|
267
267
|
cy.log(`Pre-step: Selecting ${evaluationMethod.name} evaluation method`);
|
268
|
-
textEntryMathPage.steps.selectEvaluationMethod(evaluationMethod.name);
|
268
|
+
textEntryMathPage.steps.selectEvaluationMethod(evaluationMethod.name, index);
|
269
269
|
textEntryMathPage.steps.clickOnCustomSettingsAccordion();
|
270
270
|
textEntryMathPage.steps.verifyCustomSettingsAccordionIsExpanded();
|
271
271
|
});
|
@@ -457,7 +457,7 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
|
|
457
457
|
'fill': css.color.activeButtons
|
458
458
|
});
|
459
459
|
cy.log('Pre-step: Selecting \'Value is equivalent\' evaluation method');
|
460
|
-
textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[1].name);
|
460
|
+
textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[1].name, 1);
|
461
461
|
utilities.verifyCSS(textEntryMathPage.customSettingsCheckboxContainer(customSettingsIds.caseSensitive).find('[class*="MuiFormControlLabel-label"]'), {
|
462
462
|
'color': css.color.checkboxLabel,
|
463
463
|
'font-size': css.fontSize.normal,
|
@@ -474,7 +474,7 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
|
|
474
474
|
'font-weight': css.fontWeight.regular,
|
475
475
|
});
|
476
476
|
cy.log('Pre-step: Selecting \'Equivalent structure\' evaluation method');
|
477
|
-
textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[3].name);
|
477
|
+
textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[3].name, 1);
|
478
478
|
utilities.verifyCSS(textEntryMathPage.syntaxLabel(), {
|
479
479
|
'color': css.color.labels,
|
480
480
|
'font-size': css.fontSize.normal,
|
@@ -501,7 +501,7 @@ describe('Create Item page - Text entry math: Response evaluation methods and cu
|
|
501
501
|
cy.log('Post-step: Collapse dropdown');
|
502
502
|
textEntryMathPage.steps.selectSyntaxDropdownListOption('Number');
|
503
503
|
cy.log('Pre-step: Selecting \'Factored form\' evaluation method');
|
504
|
-
textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[6].name);
|
504
|
+
textEntryMathPage.steps.selectEvaluationMethod(evaluationMethods[6].name, 6);
|
505
505
|
utilities.verifyCSS(textEntryMathPage.typeOfExpressionLabel(), {
|
506
506
|
'color': css.color.labels,
|
507
507
|
'font-size': css.fontSize.normal,
|
@@ -46,7 +46,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
46
46
|
|
47
47
|
it('When the user attempts question in preview tab and switches to edit tab, then on re-switching to the preview tab, users response should not persist', () => {
|
48
48
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
49
|
-
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
|
49
|
+
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
|
50
50
|
equationEditorFlyout.steps.clickOnOkButton();
|
51
51
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
52
52
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
@@ -121,7 +121,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
121
121
|
});
|
122
122
|
};
|
123
123
|
|
124
|
-
it(
|
124
|
+
it('When the user selects \'Grading\' view without attempting the question, correct/incorrect icons should not be displayed correct answers section should be displayed with the correct answers, correct answer label and border should not be displayed', () => {
|
125
125
|
if (view === 'Grading view') {
|
126
126
|
studentViewPage.steps.submitResponse();
|
127
127
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -142,15 +142,15 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
142
142
|
textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabelNotExist();
|
143
143
|
});
|
144
144
|
|
145
|
-
it(
|
145
|
+
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, and \'Your answer is incorrect\' label should be displayed', () => {
|
146
146
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
147
|
-
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '13');
|
147
|
+
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '13');
|
148
148
|
equationEditorFlyout.steps.clickOnOkButton();
|
149
149
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
150
|
-
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(1, '14');
|
150
|
+
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 1, '14');
|
151
151
|
equationEditorFlyout.steps.clickOnOkButton();
|
152
152
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
|
153
|
-
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(2, '15');
|
153
|
+
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 2, '15');
|
154
154
|
equationEditorFlyout.steps.clickOnOkButton();
|
155
155
|
if (view === 'Grading view') {
|
156
156
|
studentViewPage.steps.submitResponse();
|
@@ -172,17 +172,17 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
172
172
|
textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
173
173
|
});
|
174
174
|
|
175
|
-
it(
|
175
|
+
it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses, and \'Your answer is incorrect\' label should be displayed', () => {
|
176
176
|
if (view === 'Grading view') {
|
177
177
|
studentViewPage.steps.clearResponses();
|
178
178
|
}
|
179
179
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
180
|
-
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
|
180
|
+
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
|
181
181
|
equationEditorFlyout.steps.clickOnOkButton();
|
182
182
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
183
183
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
184
184
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(2);
|
185
|
-
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(2, '13');
|
185
|
+
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 2, '13');
|
186
186
|
equationEditorFlyout.steps.clickOnOkButton();
|
187
187
|
if (view === 'Grading view') {
|
188
188
|
studentViewPage.steps.submitResponse();
|
@@ -204,12 +204,12 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
204
204
|
textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
205
205
|
});
|
206
206
|
|
207
|
-
it(
|
207
|
+
it('When the user attempts the question partially correct with a incomplete response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses and unattempted correct options, no icon should be displayed beside unattempted response, \'Your answer is incorrect\' should be displayed', () => {
|
208
208
|
if (view === 'Grading view') {
|
209
209
|
studentViewPage.steps.clearResponses();
|
210
210
|
}
|
211
211
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
212
|
-
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
|
212
|
+
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
|
213
213
|
equationEditorFlyout.steps.clickOnOkButton();
|
214
214
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
215
215
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
@@ -233,12 +233,12 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
233
233
|
textEntryMathWithImagePage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
234
234
|
});
|
235
235
|
|
236
|
-
it(
|
236
|
+
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, and \'Your answer is correct\' should be displayed', () => {
|
237
237
|
if (view === 'Grading view') {
|
238
238
|
studentViewPage.steps.clearResponses();
|
239
239
|
}
|
240
240
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
241
|
-
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
|
241
|
+
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '12');
|
242
242
|
equationEditorFlyout.steps.clickOnOkButton();
|
243
243
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
244
244
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
@@ -303,10 +303,10 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
303
303
|
it('When the user has selected \'Award minimum score\' from the minimum scoring dropdown, attempts the question incorrectly and switches to grading view, the user should be awarded with minimum points', () => {
|
304
304
|
textEntryMathWithImagePage.steps.resetQuestionPreview();
|
305
305
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
306
|
-
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '13');
|
306
|
+
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '13');
|
307
307
|
equationEditorFlyout.steps.clickOnOkButton();
|
308
308
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
309
|
-
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(1, '13');
|
309
|
+
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 1, '13');
|
310
310
|
equationEditorFlyout.steps.clickOnOkButton();
|
311
311
|
textEntryMathWithImagePage.steps.verifyPreviewScore(2, 20);
|
312
312
|
textEntryMathWithImagePage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
@@ -326,10 +326,10 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
326
326
|
it('When the user has selected \'Award minimum score\' from the minimum scoring dropdown, attempts the question incorrectly and switches to grading view, the user should be awarded with minimum points', () => {
|
327
327
|
textEntryMathWithImagePage.steps.resetQuestionPreview();
|
328
328
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
329
|
-
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '13');
|
329
|
+
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 0, '13');
|
330
330
|
equationEditorFlyout.steps.clickOnOkButton();
|
331
331
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
332
|
-
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(1, '14');
|
332
|
+
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField( 1, '14');
|
333
333
|
equationEditorFlyout.steps.clickOnOkButton();
|
334
334
|
textEntryMathWithImagePage.steps.verifyPreviewScore(2, 20);
|
335
335
|
});
|
@@ -12,14 +12,6 @@ describe('Create item page - Text entry math: Preview contents', () => {
|
|
12
12
|
cy.loginAs('admin');
|
13
13
|
});
|
14
14
|
|
15
|
-
beforeEach(() => {
|
16
|
-
cy.startApplitools();
|
17
|
-
});
|
18
|
-
|
19
|
-
afterEach(() => {
|
20
|
-
cy.eyesClose();
|
21
|
-
});
|
22
|
-
|
23
15
|
views.forEach((view) => {
|
24
16
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
25
17
|
abortEarlySetup();
|
@@ -84,6 +76,7 @@ describe('Create item page - Text entry math: Preview contents', () => {
|
|
84
76
|
utilities.verifyElementVisibilityState(textEntryMathWithImagePage.questionInstructionsText(), 'visible');
|
85
77
|
});
|
86
78
|
|
79
|
+
|
87
80
|
it('The text area should be displayed on the image canvas', () => {
|
88
81
|
textEntryMathWithImagePage.steps.verifyTextInTextAreaPreviewTab('This is a text area');
|
89
82
|
});
|
@@ -93,13 +86,13 @@ describe('Create item page - Text entry math: Preview contents', () => {
|
|
93
86
|
});
|
94
87
|
|
95
88
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
96
|
-
it(`
|
89
|
+
it(`The two empty response fields should be disabled ${view}`, () => {
|
97
90
|
utilities.verifyTextContent(textEntryMathWithImagePage.responseFieldPreviewTab(), '')
|
98
91
|
utilities.verifyElementVisibilityState(textEntryMathWithImagePage.responseFieldPreviewTab(), 'visible');
|
99
92
|
utilities.verifyElementCount(textEntryMathWithImagePage.responseFieldPreviewTab(), '2');
|
100
93
|
});
|
101
94
|
|
102
|
-
it(`
|
95
|
+
it(`User should able to enter answers in the response fields for ${view}`, () => {
|
103
96
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
104
97
|
textEntryMathWithImagePage.steps.enterTextInResponsePreviewInputField(0, '12');
|
105
98
|
equationEditorFlyout.steps.clickOnOkButton();
|
@@ -107,17 +100,16 @@ describe('Create item page - Text entry math: Preview contents', () => {
|
|
107
100
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(1);
|
108
101
|
equationEditorFlyout.steps.enterQuadraticEquation();
|
109
102
|
textEntryMathWithImagePage.steps.verifyResponseAreaContainsTextPreviewTab(1, '2x2y2+4xy+4');
|
110
|
-
cy.eyesCheckWindow(`TEM Image ${view} Verify response fields with answers`);
|
111
103
|
});
|
112
104
|
} else if (view === 'Grading view') {
|
113
|
-
it(`
|
105
|
+
it(`The response fields should be filled with the submitted responses and user should not be able to edit them`, () => {
|
114
106
|
textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(0, '12');
|
115
107
|
textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
|
116
108
|
textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldPreviewTab(0);
|
117
109
|
utilities.verifyElementVisibilityState(equationEditorFlyout.dialogBox(), 'notExist');
|
118
110
|
});
|
119
111
|
} else {
|
120
|
-
it(`
|
112
|
+
it(`The response input fields should be displayed filled with correct answers`, () => {
|
121
113
|
textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(0, '12');
|
122
114
|
textEntryMathWithImagePage.steps.verifyResponseAreaTextContentPreviewTab(1, '2x2y2+4xy+4');
|
123
115
|
});
|
package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js
CHANGED
@@ -250,7 +250,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
|
|
250
250
|
textSelectionPage.steps.switchToPreviewTab();
|
251
251
|
});
|
252
252
|
|
253
|
-
it('
|
253
|
+
it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers', () => {
|
254
254
|
textSelectionPage.steps.verifyPreviewScore(0, 20);
|
255
255
|
textSelectionPage.steps.switchToGradingView();
|
256
256
|
textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(sentenceTextArray[0]);
|
@@ -260,7 +260,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
|
|
260
260
|
textSelectionPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
261
261
|
});
|
262
262
|
|
263
|
-
it('
|
263
|
+
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 should be displayed', () => {
|
264
264
|
textSelectionPage.steps.resetQuestionPreview();
|
265
265
|
textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[2]);
|
266
266
|
textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[3]);
|
@@ -284,7 +284,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
|
|
284
284
|
textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
285
285
|
});
|
286
286
|
|
287
|
-
it('
|
287
|
+
it('When the user attempts the question partially correct with some correct and some 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 response, incorrect icon should be displayed besides the incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
|
288
288
|
textSelectionPage.steps.resetQuestionPreview();
|
289
289
|
textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[0]);
|
290
290
|
textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[2]);
|
@@ -308,7 +308,7 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
|
|
308
308
|
textSelectionPage.steps.verifyCorrectAnswerSectionNotExists();*/
|
309
309
|
});
|
310
310
|
|
311
|
-
it('
|
311
|
+
it('When the user attempts the question correctly then the user should be awarded full points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
|
312
312
|
textSelectionPage.steps.resetQuestionPreview();
|
313
313
|
textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[0]);
|
314
314
|
textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[1]);
|
@@ -57,15 +57,6 @@ describe('Create item page - Text selection: All or nothing ', () => {
|
|
57
57
|
views.forEach((view) => {
|
58
58
|
describe(`${view}: Auto scored - All or nothing scoring`, { tags: 'smoke' }, () => {
|
59
59
|
abortEarlySetup();
|
60
|
-
|
61
|
-
beforeEach(() => {
|
62
|
-
cy.startApplitools();
|
63
|
-
});
|
64
|
-
|
65
|
-
afterEach(() => {
|
66
|
-
cy.eyesClose();
|
67
|
-
});
|
68
|
-
|
69
60
|
before(() => {
|
70
61
|
switch (view) {
|
71
62
|
case 'Question preview':
|
@@ -121,7 +112,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
|
|
121
112
|
});
|
122
113
|
};
|
123
114
|
|
124
|
-
it(
|
115
|
+
it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers', () => {
|
125
116
|
if (view === 'Grading view') {
|
126
117
|
studentViewPage.steps.submitResponse();
|
127
118
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -141,8 +132,8 @@ describe('Create item page - Text selection: All or nothing ', () => {
|
|
141
132
|
textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
|
142
133
|
textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
|
143
134
|
});
|
144
|
-
|
145
|
-
it(
|
135
|
+
|
136
|
+
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 should be displayed', () => {
|
146
137
|
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[2]);
|
147
138
|
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[3]);
|
148
139
|
if (view === 'Grading view') {
|
@@ -164,7 +155,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
|
|
164
155
|
textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
|
165
156
|
});
|
166
157
|
|
167
|
-
it(
|
158
|
+
it('When the user attempts the question partially correct with some correct then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
|
168
159
|
if (view === 'Grading view') {
|
169
160
|
studentViewPage.steps.clearResponses();
|
170
161
|
};
|
@@ -188,7 +179,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
|
|
188
179
|
textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
|
189
180
|
});
|
190
181
|
|
191
|
-
it(
|
182
|
+
it('When the user attempts the question partially correct with some correct and some incorrect answers then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer response, incorrect icon should be displayed besides the incorrect answer response a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
|
192
183
|
if (view === 'Grading view') {
|
193
184
|
studentViewPage.steps.clearResponses();
|
194
185
|
};
|
@@ -213,7 +204,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
|
|
213
204
|
textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
|
214
205
|
});
|
215
206
|
|
216
|
-
it(
|
207
|
+
it('When the user attempts the question correct then the user should be awarded full points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' should be displayed and correct answer section should not be displayed', () => {
|
217
208
|
if (view === 'Grading view') {
|
218
209
|
studentViewPage.steps.clearResponses();
|
219
210
|
};
|
@@ -235,7 +226,6 @@ describe('Create item page - Text selection: All or nothing ', () => {
|
|
235
226
|
textSelectionPage.steps.verifyOptionIsNotSelectedInPreviewTab(paragraphTextArray[3]);
|
236
227
|
textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
237
228
|
utilities.verifyElementVisibilityState(textSelectionPage.correctAnswerSection(), 'notExist');
|
238
|
-
cy.eyesCheckWindow(`Text selection - ${view} - Correct attempt`);
|
239
229
|
});
|
240
230
|
});
|
241
231
|
});
|
@@ -82,12 +82,12 @@ describe('Create item page - Text selection : Preview contents', () => {
|
|
82
82
|
});
|
83
83
|
});
|
84
84
|
|
85
|
-
it(
|
85
|
+
it('The text which is not available as option should not be interactive in preview tab', () => {
|
86
86
|
textSelectionPage.steps.verifyNonOptionTextIsNotInteractiveInPreviewTab(paragraphTextArray[3]);
|
87
87
|
});
|
88
88
|
|
89
89
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
90
|
-
it(
|
90
|
+
it('The selected options in specify possible options section should be displayed and by default all options should not be selected', () => {
|
91
91
|
for (let index = 0; index < 3; index++) {
|
92
92
|
utilities.verifyInnerText(utilities.getNthElement(textSelectionPage.optionPreviewTab(), index), paragraphTextArray[index]);
|
93
93
|
utilities.verifyElementVisibilityState(utilities.getNthElement(textSelectionPage.optionPreviewTab(), index), 'visible');
|
@@ -96,34 +96,34 @@ describe('Create item page - Text selection : Preview contents', () => {
|
|
96
96
|
utilities.verifyElementCount(textSelectionPage.optionPreviewTab(), 3);
|
97
97
|
});
|
98
98
|
|
99
|
-
it(
|
99
|
+
it('When user hovers on the available options, then those options should be displayed in hover state highlight', () => {
|
100
100
|
for (let index = 0; index < 3; index++) {
|
101
101
|
textSelectionPage.steps.verifyHoverStateOfOptionInPreviewTab(paragraphTextArray[index], "blue");
|
102
102
|
};
|
103
103
|
});
|
104
104
|
|
105
|
-
it(
|
105
|
+
it('When user selects an option, then that option should be displayed in selected state', () => {
|
106
106
|
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[0]);
|
107
107
|
textSelectionPage.steps.verifySelectedStateOptionInPreviewTab(paragraphTextArray[0], "blue");
|
108
108
|
textSelectionPage.steps.selectOptionInPreviewTab(paragraphTextArray[1]);
|
109
109
|
textSelectionPage.steps.verifySelectedStateOptionInPreviewTab(paragraphTextArray[1], "blue");
|
110
110
|
});
|
111
111
|
|
112
|
-
it(
|
112
|
+
it('When user clicks on a selected option, then that option should be deselected', () => {
|
113
113
|
textSelectionPage.steps.deselectOptionInPreviewTab(paragraphTextArray[0]);
|
114
114
|
textSelectionPage.steps.verifyStandardStateOptionInPreviewTab(paragraphTextArray[0]);
|
115
115
|
});
|
116
116
|
} else if (view === 'Grading view') {
|
117
|
-
it(
|
117
|
+
it('The question text should be displayed with the selected correct options and status message \' Your answer is incorrect\' should be displayed', () => {
|
118
118
|
textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[1]);
|
119
119
|
textSelectionPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
120
120
|
});
|
121
121
|
|
122
|
-
it(
|
122
|
+
it('The submitted answer options should not be editable', () => {
|
123
123
|
textSelectionPage.steps.verifyAnswerSectionNotEditableInPreviewTab();
|
124
124
|
});
|
125
125
|
} else {
|
126
|
-
it(
|
126
|
+
it('The question text should be displayed with the selected correct options', () => {
|
127
127
|
for (let index = 0; index < 2; index++) {
|
128
128
|
textSelectionPage.steps.verifyCorrectIconForOption(paragraphTextArray[index]);
|
129
129
|
};
|
@@ -60,7 +60,7 @@ describe('Preview tab contents for all views', () => {
|
|
60
60
|
}
|
61
61
|
});
|
62
62
|
|
63
|
-
it(
|
63
|
+
it('When the user switches to preview tab, \'Backward\', \'Play\', \'Forward\', \'Volume control\', \'Elapsed time\', \'Progress bar\', \'Total time\', \'Playback speed\' and \'Add pin\' buttons should be displayed', () => {
|
64
64
|
utilities.verifyElementVisibilityState(audioPlayerPage.backwardButton(), 'visible');
|
65
65
|
utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'visible');
|
66
66
|
utilities.verifyElementVisibilityState(audioPlayerPage.forwardButton(), 'visible');
|
@@ -88,7 +88,7 @@ describe('Preview tab contents for all views', () => {
|
|
88
88
|
utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'notExist');
|
89
89
|
});
|
90
90
|
|
91
|
-
it(
|
91
|
+
it('When audio player is in paused state and user clicks on \'Play\' button, then playback should get resumed and \'Play\' button should get replaced with \'Pause\' button.', () => {
|
92
92
|
audioPlayerPage.steps.startPlayback();
|
93
93
|
utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'visible');
|
94
94
|
utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'notExist');
|
@@ -100,7 +100,7 @@ describe('Preview tab contents for all views', () => {
|
|
100
100
|
audioPlayerPage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
|
101
101
|
});
|
102
102
|
|
103
|
-
it(
|
103
|
+
it('When the audio playback is completed, the \'Pause\' button should get replaced with \'Play\' button', () => {
|
104
104
|
audioPlayerPage.steps.verifyAudioPlaybackTimer('00:45', '00:45');
|
105
105
|
utilities.verifyElementVisibilityState(audioPlayerPage.playbackPlayButton(), 'visible');
|
106
106
|
utilities.verifyElementVisibilityState(audioPlayerPage.playbackPauseButton(), 'notExist');
|
@@ -21,7 +21,7 @@ describe('Tool settings content for all views', () => {
|
|
21
21
|
before(() => {
|
22
22
|
switch (view) {
|
23
23
|
case 'Question preview':
|
24
|
-
cy.log('Navigating to
|
24
|
+
cy.log('Navigating to short text response question type');
|
25
25
|
multipleSelectionPage.steps.navigateToCreateQuestion('multiple selection');
|
26
26
|
cy.barsPreLoaderWait();
|
27
27
|
multipleSelectionPage.steps.addTextInQuestionInstructionsInputField('Text');
|
@@ -74,7 +74,7 @@ describe('Tool settings content for all views', () => {
|
|
74
74
|
rulerPage.steps.verifyRulerNotVisible();
|
75
75
|
});
|
76
76
|
|
77
|
-
it(
|
77
|
+
it('When user clicks on \'Show ruler\' button, then ruler should be displayed and its button should change to \'Hide ruler\'', () => {
|
78
78
|
rulerPage.steps.clickOnRulerVisibilityButton();
|
79
79
|
rulerPage.steps.verifyRulerVisible();
|
80
80
|
rulerPage.steps.verifyPreviewTabRulerVisibilityButtonLabel('Hide');
|
@@ -177,7 +177,7 @@ describe('Tool settings content for all views', () => {
|
|
177
177
|
protractorPage.steps.verifyPreviewTabProtractorVisibilityButtonLabel('Hide');
|
178
178
|
});
|
179
179
|
|
180
|
-
it(
|
180
|
+
it('When user has clicked visibility buttons for both the ruler and protractor tools, both tools should be displayed simultaneously in the preview tab', () => {
|
181
181
|
rulerPage.steps.verifyRulerVisible();
|
182
182
|
protractorPage.steps.verifyProtractorVisibleInPreviewTab();
|
183
183
|
});
|
@@ -12,14 +12,6 @@ describe('Create item page - Upload response: Grading view, Correct answer view
|
|
12
12
|
cy.loginAs('admin');
|
13
13
|
});
|
14
14
|
|
15
|
-
beforeEach(() => {
|
16
|
-
cy.startApplitools();
|
17
|
-
});
|
18
|
-
|
19
|
-
afterEach(() => {
|
20
|
-
cy.eyesClose();
|
21
|
-
});
|
22
|
-
|
23
15
|
if (views.includes('Grading view')) {
|
24
16
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
25
17
|
abortEarlySetup();
|
@@ -58,7 +50,6 @@ describe('Create item page - Upload response: Grading view, Correct answer view
|
|
58
50
|
|
59
51
|
it('Empty score input field and total score should be displayed', () => {
|
60
52
|
gradingViewPage.steps.verifyGradingViewScore('', 10);
|
61
|
-
cy.eyesCheckWindow('Grading view - Uploaded file and score');
|
62
53
|
});
|
63
54
|
|
64
55
|
it('Accessibility of uploaded file', { tags: 'a11y' }, () => {
|
@@ -67,7 +58,7 @@ describe('Create item page - Upload response: Grading view, Correct answer view
|
|
67
58
|
|
68
59
|
//Adding skip as this does not work on spinnaker
|
69
60
|
it.skip('On clicking on the file name, user should be able to download the file', () => {
|
70
|
-
|
61
|
+
cy.verifyUploadFilePreviewDownload('highlightImage.jpg');
|
71
62
|
});
|
72
63
|
});
|
73
64
|
}
|
@@ -99,7 +90,6 @@ describe('Create item page - Upload response: Grading view, Correct answer view
|
|
99
90
|
it('\'This is a manual scored question\' help text should be displayed in the correct answer view', () => {
|
100
91
|
utilities.verifyTextContent(correctAnswerViewPage.manualScoredQuestionHelpText(), 'This is a manual scored question.');
|
101
92
|
utilities.verifyElementVisibilityState(correctAnswerViewPage.manualScoredQuestionHelpText(), 'visible');
|
102
|
-
cy.eyesCheckWindow('Grading view - question instructions and help text');
|
103
93
|
});
|
104
94
|
|
105
95
|
it('The points alloted to the question should be displayed', () => {
|
@@ -14,14 +14,6 @@ describe('Create item page - Upload response : Preview contents', () => {
|
|
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
|
views.forEach((view) => {
|
26
18
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -62,7 +54,7 @@ describe('Create item page - Upload response : Preview contents', () => {
|
|
62
54
|
utilities.verifyElementVisibilityState(uploadResponsePage.questionInstructionsText(), 'visible');
|
63
55
|
});
|
64
56
|
|
65
|
-
it(
|
57
|
+
it('Upload response area should have a Cloud icon and text \'Drag & Drop files here \'or browse files on your device, or capture an image\' should be displayed', () => {
|
66
58
|
utilities.verifyElementVisibilityState(uploadResponsePage.uploadCloudIcon(), 'visible');
|
67
59
|
utilities.verifyInnerText(uploadResponsePage.dragAndDropFilesText(), 'Drag & Drop files here');
|
68
60
|
utilities.verifyTextContent(uploadResponsePage.fileUploadOptionsLabel(), 'or browse files on your device or capture an image');
|
@@ -90,7 +82,7 @@ describe('Create item page - Upload response : Preview contents', () => {
|
|
90
82
|
uploadResponsePage.steps.verifyUploadedFileLimitCount(0, 3);
|
91
83
|
});
|
92
84
|
|
93
|
-
it(
|
85
|
+
it('When user uploads file, then uploaded file name should be displayed and file count should get updated', () => {
|
94
86
|
uploadResponsePage.steps.uploadFile('uploads/highlightImage.jpg');
|
95
87
|
uploadResponsePage.steps.uploadedFileContentsPreviewTab(0, 'highlightImage.jpg');
|
96
88
|
uploadResponsePage.steps.verifyUploadedFileLimitCount(1, 3);
|
@@ -111,14 +103,13 @@ describe('Create item page - Upload response : Preview contents', () => {
|
|
111
103
|
utilities.verifyElementCount(uploadResponsePage.fileName(), 2);
|
112
104
|
});
|
113
105
|
|
114
|
-
it(
|
106
|
+
it('When user edits the name of uploaded file, then edited name should be visible', () => {
|
115
107
|
uploadResponsePage.steps.clickOnEditDisplayTextIcon(0);
|
116
108
|
utilities.verifyElementVisibilityState(uploadResponsePage.dialogBox(), 'exist');
|
117
109
|
uploadResponsePage.steps.enterTextInEditDisplayTextPopupInputField('image.csv');
|
118
110
|
uploadResponsePage.steps.verifyTextInEditDisplayTextPopupInputField('image.csv');
|
119
111
|
uploadResponsePage.steps.clickAcceptButtonInPopup();
|
120
112
|
uploadResponsePage.steps.verifyUploadedFileName(0, 'image.csv');
|
121
|
-
cy.eyesCheckWindow(`${view} - Uploaded file name edited`);
|
122
113
|
});
|
123
114
|
|
124
115
|
it('CSS of Preview tab', { tags: 'css' }, () => {
|
@@ -167,12 +158,12 @@ describe('Create item page - Upload response : Preview contents', () => {
|
|
167
158
|
});
|
168
159
|
|
169
160
|
//Failed due to https://redmine.zeuslearning.com/issues/563182
|
170
|
-
it(
|
161
|
+
it('When user uploads file type which is not selected from the \'Supported file types\' accordion menu, then file upload error message - \'The file type is not supported. Please upload files with the following supported formats: *file format separated by commas*\' should be displayed', () => {
|
171
162
|
uploadResponsePage.steps.uploadFile('uploads/sample.heif');
|
172
163
|
uploadResponsePage.steps.verifyWarningMessage('The file type is not supported. Please upload files with the following supported formats: CSV, Excel, GIF, JPG, Open Office, PDF, PNG, Powerpoint, Publisher, RTF, TXT, Word, XPS, ZIP.');
|
173
164
|
});
|
174
165
|
|
175
|
-
it(
|
166
|
+
it('When user tries to upload files more than the limit, then warning message \'You have reached the maximum number of files that can be uploaded.\' should be displayed', () => {
|
176
167
|
uploadResponsePage.steps.uploadFile('uploads/highlightImage.jpg');
|
177
168
|
uploadResponsePage.steps.uploadFile('uploads/image.png');
|
178
169
|
uploadResponsePage.steps.verifyWarningMessage('You have reached the maximum number of files that can be uploaded.');
|