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
@@ -15,14 +15,6 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
|
|
15
15
|
cy.loginAs('admin');
|
16
16
|
});
|
17
17
|
|
18
|
-
beforeEach(() => {
|
19
|
-
cy.startApplitools();
|
20
|
-
});
|
21
|
-
|
22
|
-
afterEach(() => {
|
23
|
-
cy.eyesClose();
|
24
|
-
});
|
25
|
-
|
26
18
|
views.forEach((view) => {
|
27
19
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
28
20
|
abortEarlySetup();
|
@@ -94,14 +86,14 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
|
|
94
86
|
graphingPage.steps.verifyToolOptionNotSelectedPreviewTab(toolOptions.splice(1, toolOptions.length));
|
95
87
|
});
|
96
88
|
|
97
|
-
it(
|
89
|
+
it('By default, the move control should be in enabled state and all other controls should be disabled', () => {
|
98
90
|
utilities.verifyElementNotDisabled(graphingPage.graphControlOptionPreviewTab('Move'));
|
99
91
|
controlOptions.splice(1, controlOptions.length).forEach((controlOption) => {
|
100
92
|
utilities.verifyElementDisabled(graphingPage.graphControlOptionPreviewTab(controlOption));
|
101
93
|
});
|
102
94
|
});
|
103
95
|
|
104
|
-
it(
|
96
|
+
it('User should be able to plot points using the \'Point\' tool options', () => {
|
105
97
|
graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: -4, xRange: 20, y: -4, yRange: 20 }]);
|
106
98
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -4, xRange: 20, y: -4, yRange: 20 }]);
|
107
99
|
});
|
@@ -170,12 +162,11 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
|
|
170
162
|
utilities.verifyElementCount(graphingPage.graphSineAndParabolaPreviewTab(), 2);
|
171
163
|
});
|
172
164
|
|
173
|
-
it(
|
165
|
+
it('User should be able to draw a polygon using the \'Polygon\' tool option', () => {
|
174
166
|
graphingPage.steps.selectGraphToolOptionPreviewTab('Polygon');
|
175
167
|
graphingPage.steps.plotPointsOnGraphPreviewTab([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }]);
|
176
168
|
graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }]);
|
177
169
|
utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
|
178
|
-
cy.eyesCheckWindow(`${view} - Graphing - Plotted points using all tools`);
|
179
170
|
});
|
180
171
|
|
181
172
|
it('When the user clicks on the \'Undo\' control option then the latest action should be reversed', () => {
|
@@ -188,7 +179,7 @@ describe('Create item page - Graphing - Preview contents in all views', () => {
|
|
188
179
|
utilities.verifyElementVisibilityState(graphingPage.graphPolygonPreviewTab(), 'visible');
|
189
180
|
});
|
190
181
|
|
191
|
-
it(
|
182
|
+
it('When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset', () => {
|
192
183
|
graphingPage.steps.selectGraphControlOptionPreviewTab('Reset');
|
193
184
|
graphingPage.steps.confirmReset();
|
194
185
|
utilities.verifyElementVisibilityState(graphingPage.graphPolygonPreviewTab(), 'notExist');
|
@@ -13,15 +13,6 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
13
13
|
cy.loginAs('admin');
|
14
14
|
});
|
15
15
|
|
16
|
-
beforeEach(() => {
|
17
|
-
cy.startApplitools();
|
18
|
-
});
|
19
|
-
|
20
|
-
afterEach(() => {
|
21
|
-
cy.eyesClose();
|
22
|
-
});
|
23
|
-
|
24
|
-
|
25
16
|
if (!grepTags || !grepTags.includes('smoke')) {
|
26
17
|
describe('Question preview modes: Student view and Grading view', () => {
|
27
18
|
abortEarlySetup();
|
@@ -100,7 +91,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
100
91
|
});
|
101
92
|
};
|
102
93
|
//Failed due to https://redmine.zeuslearning.com/issues/565569
|
103
|
-
it(
|
94
|
+
it('When the user selects \'Grading\' view without attempting the question, correct answer tick should be displayed in correct answer cell and correct/incorrect status message should not be displayed', () => {
|
104
95
|
if (view === 'Grading view') {
|
105
96
|
studentViewPage.steps.submitResponse();
|
106
97
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'exist');
|
@@ -118,7 +109,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
118
109
|
gridFillPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
119
110
|
});
|
120
111
|
|
121
|
-
it(
|
112
|
+
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icon should be displayed in the incorrect cell, incorrect answer border around incorrect cell and correct icon should be displayed in the correct cell, correct answer border around correct cell and a status message with text \'Your answer is incorrect\' in question preview', () => {
|
122
113
|
gridFillPage.steps.selectCellPreviewTab(0, 3);
|
123
114
|
if (view === 'Grading view') {
|
124
115
|
studentViewPage.steps.submitResponse();
|
@@ -137,7 +128,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
137
128
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
138
129
|
});
|
139
130
|
|
140
|
-
it(
|
131
|
+
it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in the correct answer responses, incorrect icon should be displayed in incorrect answer response, a status message with text \'Your answer is incorrect\' should be displayed', () => {
|
141
132
|
if (view === 'Grading view') {
|
142
133
|
studentViewPage.steps.clearResponses();
|
143
134
|
};
|
@@ -159,7 +150,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
159
150
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
160
151
|
});
|
161
152
|
|
162
|
-
it(
|
153
|
+
it('When the user attempts the question with one correct and one incorrect, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in the correct answer responses, incorrect icon should be displayed in incorrect answer response, a status message with text \'Your answer is incorrect\' should be displayed', () => {
|
163
154
|
if (view === 'Grading view') {
|
164
155
|
studentViewPage.steps.clearResponses();
|
165
156
|
};
|
@@ -182,7 +173,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
182
173
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
183
174
|
});
|
184
175
|
|
185
|
-
it(
|
176
|
+
it('When the user attempts the question by selecting all the correct cells with one incorrect cell, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed in the correct answer responses, incorrect icon should be displayed in incorrect answer response, a status message with text \'Your answer is incorrect\' should be displayed', () => {
|
186
177
|
if (view === 'Grading view') {
|
187
178
|
studentViewPage.steps.clearResponses();
|
188
179
|
};
|
@@ -207,7 +198,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
207
198
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
208
199
|
});
|
209
200
|
|
210
|
-
it(
|
201
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icon should be displayed in the correct cell, correct answer border around correct cell and a status message with text \'Your answer is correct\' should be displayed in the question preview', () => {
|
211
202
|
if (view === 'Grading view') {
|
212
203
|
studentViewPage.steps.clearResponses();
|
213
204
|
};
|
@@ -226,7 +217,6 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
226
217
|
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
227
218
|
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
|
228
219
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
229
|
-
cy.eyesCheckWindow(`Grid fill - ${view} view - Attempting the question correctly`);
|
230
220
|
});
|
231
221
|
});
|
232
222
|
});
|
@@ -11,14 +11,6 @@ describe('Create item page - Grid fill : 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
|
-
|
22
14
|
views.forEach((view) => {
|
23
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
24
16
|
abortEarlySetup();
|
@@ -82,7 +74,6 @@ describe('Create item page - Grid fill : Preview contents', () => {
|
|
82
74
|
gridFillPage.steps.verifyRowsCountPreviewTab(4);
|
83
75
|
gridFillPage.steps.verifyColumnsCountPreviewTab(6);
|
84
76
|
gridFillPage.steps.getCellCountInGridPreviewTab(24);
|
85
|
-
cy.eyesCheckWindow(`Grid fill - ${view} - Grid matrix`);
|
86
77
|
});
|
87
78
|
|
88
79
|
it('Cell with \'Hide\' customization should be displayed', () => {
|
@@ -90,6 +81,7 @@ describe('Create item page - Grid fill : Preview contents', () => {
|
|
90
81
|
});
|
91
82
|
|
92
83
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
84
|
+
|
93
85
|
it('Cell with \'Shade\' customization should be displayed', () => {
|
94
86
|
gridFillPage.steps.verifyCellSelectedPreviewTab(0, 0);
|
95
87
|
});
|
@@ -16,14 +16,6 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
16
16
|
cy.loginAs('admin');
|
17
17
|
});
|
18
18
|
|
19
|
-
beforeEach(() => {
|
20
|
-
cy.startApplitools();
|
21
|
-
});
|
22
|
-
|
23
|
-
afterEach(() => {
|
24
|
-
cy.eyesClose();
|
25
|
-
});
|
26
|
-
|
27
19
|
if (!grepTags || !grepTags.includes('smoke')) {
|
28
20
|
describe('Question preview modes: Student view and Grading view', () => {
|
29
21
|
abortEarlySetup();
|
@@ -115,7 +107,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
115
107
|
});
|
116
108
|
};
|
117
109
|
|
118
|
-
it(
|
110
|
+
it('When the user selects \'Grading\' view without attempting the question, highlight numeration should be displayed, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with correct answers and respective option numeration', () => {
|
119
111
|
if (view === 'Grading view') {
|
120
112
|
studentViewPage.steps.submitResponse();
|
121
113
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -133,10 +125,9 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
133
125
|
imageHighlightPage.steps.verifyDefaultHighlightRegion(2);
|
134
126
|
utilities.verifyInnerText(imageHighlightPage.correctAnswersLabel(), 'Correct answers');
|
135
127
|
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
|
136
|
-
|
137
128
|
});
|
138
129
|
|
139
|
-
it(
|
130
|
+
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
140
131
|
imageHighlightPage.steps.highlightARegionInPreviewTab(1);
|
141
132
|
if (view === 'Grading view') {
|
142
133
|
studentViewPage.steps.submitResponse();
|
@@ -156,7 +147,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
156
147
|
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
|
157
148
|
});
|
158
149
|
|
159
|
-
it(
|
150
|
+
it('When the user attempts the question partially correct then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
160
151
|
if (view === 'Grading view') {
|
161
152
|
studentViewPage.steps.clearResponses();
|
162
153
|
};
|
@@ -179,7 +170,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
179
170
|
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
|
180
171
|
});
|
181
172
|
|
182
|
-
it(
|
173
|
+
it('When the user attempts the question correct with an incorrect response, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
183
174
|
if (view === 'Grading view') {
|
184
175
|
studentViewPage.steps.clearResponses();
|
185
176
|
};
|
@@ -204,7 +195,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
204
195
|
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
|
205
196
|
});
|
206
197
|
|
207
|
-
it(
|
198
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
208
199
|
if (view === 'Grading view') {
|
209
200
|
studentViewPage.steps.clearResponses();
|
210
201
|
};
|
@@ -227,7 +218,6 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
227
218
|
imageHighlightPage.steps.verifyDefaultHighlightRegion(2);
|
228
219
|
imageHighlightPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
229
220
|
imageHighlightPage.steps.verifyCorrectAnswerSectionNotExists();
|
230
|
-
cy.eyesCheckWindow(`Image highlight: ${view} view - Attempting the question correctly`);
|
231
221
|
});
|
232
222
|
});
|
233
223
|
});
|
@@ -15,14 +15,6 @@ describe('Create item page - Image highlight - Preview contents in all views', (
|
|
15
15
|
cy.loginAs('admin');
|
16
16
|
});
|
17
17
|
|
18
|
-
beforeEach(() => {
|
19
|
-
cy.startApplitools();
|
20
|
-
});
|
21
|
-
|
22
|
-
afterEach(() => {
|
23
|
-
cy.eyesClose();
|
24
|
-
});
|
25
|
-
|
26
18
|
views.forEach((view) => {
|
27
19
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
28
20
|
abortEarlySetup();
|
@@ -82,16 +74,15 @@ describe('Create item page - Image highlight - Preview contents in all views', (
|
|
82
74
|
utilities.verifyElementVisibilityState(imageHighlightPage.questionInstructionsText(), 'visible');
|
83
75
|
});
|
84
76
|
|
85
|
-
it(
|
77
|
+
it('The uploaded image should be displayed in the preview tab', () => {
|
86
78
|
imageHighlightPage.steps.verifyImageUploadedPreviewTab();
|
87
79
|
imageHighlightPage.steps.verifyHighlightRegionCountInPreviewTab(3);
|
88
80
|
imageHighlightPage.steps.verifyImageUploadedAltTextPreviewTab('Image alternative text');
|
89
81
|
imageHighlightPage.steps.verifyImageUploadedWidthAndHeightPreviewTab('768', '432');
|
90
|
-
cy.eyesCheckWindow(`Image highlight - ${view} - Uploaded image displayed`);
|
91
82
|
});
|
92
83
|
|
93
84
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
94
|
-
it(
|
85
|
+
it('The highlighted regions should be displayed', () => {
|
95
86
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(0, flowerHighlightRegion);
|
96
87
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(1, branchesHighlightRegion);
|
97
88
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(2, leafHighlightRegion);
|
@@ -119,7 +110,7 @@ describe('Create item page - Image highlight - Preview contents in all views', (
|
|
119
110
|
imageHighlightPage.steps.removeHighlightOfARegionInPreviewTab(1);
|
120
111
|
});
|
121
112
|
} else if (view === 'Grading view') {
|
122
|
-
it(
|
113
|
+
it('The highlighted regions should be displayed', () => {
|
123
114
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(0, flowerHighlightRegion);
|
124
115
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(1, leafHighlightRegion);
|
125
116
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(2, branchesHighlightRegion);
|
@@ -147,7 +138,7 @@ describe('Create item page - Image highlight - Preview contents in all views', (
|
|
147
138
|
imageHighlightPage.steps.verifyHighlightRegionsInPreviewTab(2, branchesHighlightRegion);
|
148
139
|
});
|
149
140
|
|
150
|
-
it(
|
141
|
+
it('The highlight regions should be displayed with correct answers', () => {
|
151
142
|
imageHighlightPage.steps.verifyCorrectHighlightRegion(0);
|
152
143
|
imageHighlightPage.steps.verifyCorrectHighlightRegion(1);
|
153
144
|
});
|
@@ -92,7 +92,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
92
92
|
});
|
93
93
|
};
|
94
94
|
|
95
|
-
it(
|
95
|
+
it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons should not be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
96
96
|
if (view === 'Grading view') {
|
97
97
|
utilities.verifyElementDisabledClass(studentViewPage.submitButton());
|
98
98
|
};
|
@@ -110,7 +110,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
110
110
|
};
|
111
111
|
});
|
112
112
|
|
113
|
-
it(
|
113
|
+
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
114
114
|
listOrderingPage.steps.selectPositionForAllOptionsPreviewTab([{ optionIndex: 0, position: '1' }, { optionIndex: 1, position: '2' }, { optionIndex: 2, position: '3' }, { optionIndex: 3, position: '4' }]);
|
115
115
|
if (view === 'Grading view') {
|
116
116
|
studentViewPage.steps.submitResponse();
|
@@ -130,7 +130,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
130
130
|
listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
|
131
131
|
});
|
132
132
|
|
133
|
-
it(
|
133
|
+
it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers along with numeration should be displayed', () => {
|
134
134
|
if (view === 'Grading view') {
|
135
135
|
studentViewPage.steps.clearResponses();
|
136
136
|
};
|
@@ -153,7 +153,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
153
153
|
listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
|
154
154
|
});
|
155
155
|
|
156
|
-
it(
|
156
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
157
157
|
if (view === 'Grading view') {
|
158
158
|
studentViewPage.steps.clearResponses();
|
159
159
|
};
|
@@ -12,14 +12,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
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();
|
@@ -85,11 +77,10 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
85
77
|
it('Question instructions should be visible', () => {
|
86
78
|
utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
|
87
79
|
utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
|
88
|
-
cy.eyesCheckWindow(`List ordering: dropdown - ${view} - Options with image, bold text, and equation`);
|
89
80
|
});
|
90
81
|
|
91
82
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
92
|
-
it(`
|
83
|
+
it(`When the user has added image, equation, bold text to the options input fields, then they should be displayed in the options container in ${view}`, () => {
|
93
84
|
listOrderingPage.steps.verifyOptionWithImageInPreviewTab(0);
|
94
85
|
listOrderingPage.steps.verifyOptionWithBoldTextInPreviewTab(1);
|
95
86
|
listOrderingPage.steps.verifyOptionWithEquationTextInPreviewTab(2);
|
@@ -114,7 +105,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
114
105
|
listOrderingPage.steps.verifySelectedOptionPositionDropdown(0, '');
|
115
106
|
});
|
116
107
|
|
117
|
-
it(
|
108
|
+
it('User should be able to reorder options containing image, bold text and equation options in the list using position dropdowns. On setting position for all options, the alert message should get removed', () => {
|
118
109
|
listOrderingPage.steps.selectPositionForAllOptionsPreviewTab([{ optionIndex: 0, position: '2' }, { optionIndex: 1, position: '1' }, { optionIndex: 2, position: '3' }, { optionIndex: 3, position: '4' }])
|
119
110
|
listOrderingPage.steps.verifyAlertMessageNotExists();
|
120
111
|
});
|
@@ -137,7 +128,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
137
128
|
utilities.verifyInnerText(utilities.getNthElement(listOrderingPage.positionDropdownListOption(), 2), '3');
|
138
129
|
});
|
139
130
|
} else {
|
140
|
-
it(
|
131
|
+
it('The order of the options should be as per the correct answer order', () => {
|
141
132
|
listOrderingPage.steps.verifySelectedOptionPositionDropdown(0, '2');
|
142
133
|
listOrderingPage.steps.verifySelectedOptionPositionDropdown(1, '1');
|
143
134
|
listOrderingPage.steps.verifySelectedOptionPositionDropdown(2, '3');
|
package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js
CHANGED
@@ -14,14 +14,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
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();
|
@@ -88,7 +80,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
88
80
|
it('Question instructions should be visible', () => {
|
89
81
|
utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
|
90
82
|
utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
|
91
|
-
cy.eyesCheckWindow(`${view} - List ordering: Horizontal orientation - Default question view`);
|
92
83
|
});
|
93
84
|
|
94
85
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
@@ -98,7 +89,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
98
89
|
listOrderingPage.steps.verifyHorizontalOptionWithEquationTextInPreviewTab(2);
|
99
90
|
});
|
100
91
|
|
101
|
-
it(
|
92
|
+
it('User should be able to reorder options containing image, bold text and equation options in the list', () => {
|
102
93
|
listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('This is a bold option', 0);
|
103
94
|
listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('Solve the following', 1);
|
104
95
|
listOrderingPage.steps.verifyTextContentOfHorizontalOptionInPreviewTab('This is a bold option', 0);
|
@@ -108,7 +99,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
108
99
|
listOrderingPage.steps.verifyTextContentOfHorizontalOptionInPreviewTab('alpha', 3);
|
109
100
|
});
|
110
101
|
} else if (view === 'Grading view') {
|
111
|
-
it(
|
102
|
+
it(`The order of the responses should be as per the submitted response`, () => {
|
112
103
|
listOrderingPage.steps.verifyHorizontalOptionWithBoldTextInPreviewTab(0);
|
113
104
|
listOrderingPage.steps.verifyHorizontalOptionWithEquationTextInPreviewTab(1);
|
114
105
|
listOrderingPage.steps.verifyHorizontalOptionWithImageInPreviewTab(2);
|
@@ -14,14 +14,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
if (!grepTags || !grepTags.includes('smoke')) {
|
26
18
|
describe('Question preview modes: Student view and Grading view', () => {
|
27
19
|
abortEarlySetup();
|
@@ -104,7 +96,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
104
96
|
});
|
105
97
|
};
|
106
98
|
|
107
|
-
it(
|
99
|
+
it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
|
108
100
|
if (view === 'Grading view') {
|
109
101
|
studentViewPage.steps.submitResponse();
|
110
102
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -122,7 +114,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
122
114
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
123
115
|
});
|
124
116
|
|
125
|
-
it(
|
117
|
+
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', () => {
|
126
118
|
listOrderingPage.steps.clickAndReorderOptionInPreviewTab('sprout', 3);
|
127
119
|
listOrderingPage.steps.clickAndReorderOptionInPreviewTab('flower', 0);
|
128
120
|
if (view === 'Grading view') {
|
@@ -143,7 +135,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
143
135
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
144
136
|
});
|
145
137
|
|
146
|
-
it(
|
138
|
+
it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
|
147
139
|
if (view === 'Grading view') {
|
148
140
|
studentViewPage.steps.clearResponses();
|
149
141
|
};
|
@@ -167,7 +159,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
167
159
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
168
160
|
});
|
169
161
|
|
170
|
-
it(
|
162
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
171
163
|
if (view === 'Grading view') {
|
172
164
|
studentViewPage.steps.clearResponses();
|
173
165
|
};
|
@@ -190,7 +182,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
190
182
|
listOrderingPage.steps.verifyCorrectOptionIcon('flower');
|
191
183
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
192
184
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
193
|
-
cy.eyesCheckWindow(`List ordering -${view} view - Attempting the question correctly`);
|
194
185
|
});
|
195
186
|
});
|
196
187
|
});
|
package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js
CHANGED
@@ -15,7 +15,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
15
15
|
});
|
16
16
|
|
17
17
|
views.forEach((view) => {
|
18
|
-
describe(`${view}:
|
18
|
+
describe(`${view}: Auto scored - All or nothing scoring`, { tags: 'smoke' }, () => {
|
19
19
|
abortEarlySetup();
|
20
20
|
before(() => {
|
21
21
|
switch (view) {
|
@@ -66,7 +66,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
66
66
|
});
|
67
67
|
};
|
68
68
|
|
69
|
-
it(
|
69
|
+
it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
|
70
70
|
if (view === 'Grading view') {
|
71
71
|
utilities.verifyElementVisibilityState(studentViewPage.submitButton(), 'visible');
|
72
72
|
studentViewPage.steps.submitResponse();
|
@@ -85,7 +85,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
85
85
|
listOrderingPage.steps.verifyCorrectOptionIconsCorrectAnswerSection();
|
86
86
|
});
|
87
87
|
|
88
|
-
it(
|
88
|
+
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', () => {
|
89
89
|
listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('sprout', 3);
|
90
90
|
listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('flower', 0);
|
91
91
|
if (view === 'Grading view') {
|
@@ -106,7 +106,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
106
106
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
107
107
|
});
|
108
108
|
|
109
|
-
it(
|
109
|
+
it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
|
110
110
|
if (view === 'Grading view') {
|
111
111
|
studentViewPage.steps.clearResponses();
|
112
112
|
};
|
@@ -132,7 +132,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
132
132
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
133
133
|
});
|
134
134
|
|
135
|
-
it(
|
135
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
136
136
|
if (view === 'Grading view') {
|
137
137
|
studentViewPage.steps.clearResponses();
|
138
138
|
};
|
@@ -9,7 +9,7 @@ var itemReferenceID = "";
|
|
9
9
|
const options = ['sprout', 'plant', 'flower', 'seed'];
|
10
10
|
const correctAnswerArray = ['seed', 'sprout', 'plant', 'flower'];
|
11
11
|
|
12
|
-
describe('Create item page - List ordering
|
12
|
+
describe('Create item page - List ordering: All or nothing for "Horizontal" option orientation', () => {
|
13
13
|
before(() => {
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
@@ -69,7 +69,7 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
|
|
69
69
|
});
|
70
70
|
};
|
71
71
|
if (view === 'Question preview' || view === 'Item preview') {
|
72
|
-
it(
|
72
|
+
it('When the user selects \'Grading\' view without attempting the question, then correct/incorrect icons and correct incorrect status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
|
73
73
|
listOrderingPage.steps.verifyPreviewScore(0, 20);
|
74
74
|
listOrderingPage.steps.switchToGradingView();
|
75
75
|
listOrderingPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
@@ -78,8 +78,7 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
|
|
78
78
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
79
79
|
});
|
80
80
|
}
|
81
|
-
|
82
|
-
it(`${view}: List ordering - Reorder as a separate list:Reorder as a separate list- Horizontal - 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`, () => {
|
81
|
+
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', () => {
|
83
82
|
listOrderingPage.steps.clickAndDropOptionSeperateList('sprout');
|
84
83
|
listOrderingPage.steps.clickAndDropOptionSeperateList('plant');
|
85
84
|
listOrderingPage.steps.clickAndDropOptionSeperateList('flower');
|
@@ -102,7 +101,7 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
|
|
102
101
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
103
102
|
});
|
104
103
|
|
105
|
-
it(
|
104
|
+
it('When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with all correct answers should be displayed', () => {
|
106
105
|
if (view === 'Grading view') {
|
107
106
|
studentViewPage.steps.clearResponses();
|
108
107
|
};
|
@@ -128,7 +127,7 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
|
|
128
127
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
129
128
|
});
|
130
129
|
|
131
|
-
it(
|
130
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
132
131
|
if (view === 'Grading view') {
|
133
132
|
studentViewPage.steps.clearResponses();
|
134
133
|
};
|