itemengine-cypress-automation 1.0.283-applitools-caab082.0 → 1.0.283
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -36
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -14
- 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/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -10
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -10
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -18
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -16
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -18
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -17
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -18
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -16
- package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -10
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -10
- 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 -16
- 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 -35
- package/cypress/e2e/ILC/EditItem/editItem.ts +133 -0
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
- 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 -16
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -14
- 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 -15
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -14
- 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 -14
- 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 -14
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -15
- 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 -17
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -16
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -13
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -16
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -15
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +3 -12
- 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 -15
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +4 -13
- 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 -15
- package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -20
- 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 -15
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -15
- 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 +5 -15
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +0 -10
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -13
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -14
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -13
- 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 -15
- 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 -24
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -15
- 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 -1
- 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 +12 -22
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -14
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -17
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -12
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -12
- 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 -17
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -12
- 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 -19
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -14
- 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/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/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();
|
@@ -135,10 +126,9 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
135
126
|
}
|
136
127
|
gridFillPage.steps.verifyIncorrectResponseIconPreviewTab(0, 3);
|
137
128
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
138
|
-
cy.eyesCheckWindow(`Grid fill - ${view} view - Attempting the question incorrectly`);
|
139
129
|
});
|
140
130
|
|
141
|
-
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', () => {
|
142
132
|
if (view === 'Grading view') {
|
143
133
|
studentViewPage.steps.clearResponses();
|
144
134
|
};
|
@@ -160,7 +150,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
160
150
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
161
151
|
});
|
162
152
|
|
163
|
-
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', () => {
|
164
154
|
if (view === 'Grading view') {
|
165
155
|
studentViewPage.steps.clearResponses();
|
166
156
|
};
|
@@ -183,7 +173,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
183
173
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
184
174
|
});
|
185
175
|
|
186
|
-
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', () => {
|
187
177
|
if (view === 'Grading view') {
|
188
178
|
studentViewPage.steps.clearResponses();
|
189
179
|
};
|
@@ -208,7 +198,7 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
208
198
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
209
199
|
});
|
210
200
|
|
211
|
-
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', () => {
|
212
202
|
if (view === 'Grading view') {
|
213
203
|
studentViewPage.steps.clearResponses();
|
214
204
|
};
|
@@ -227,7 +217,6 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
227
217
|
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 0);
|
228
218
|
gridFillPage.steps.verifyCorrectResponseIconPreviewTab(0, 1);
|
229
219
|
gridFillPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
230
|
-
cy.eyesCheckWindow(`Grid fill - ${view} view - Attempting the question correctly`);
|
231
220
|
});
|
232
221
|
});
|
233
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();
|
@@ -154,10 +145,9 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
154
145
|
imageHighlightPage.steps.verifyIncorrectHighlightRegion(2);
|
155
146
|
imageHighlightPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
156
147
|
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
|
157
|
-
cy.eyesCheckWindow(`${view} view - Attempting the question incorrectly`);
|
158
148
|
});
|
159
149
|
|
160
|
-
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', () => {
|
161
151
|
if (view === 'Grading view') {
|
162
152
|
studentViewPage.steps.clearResponses();
|
163
153
|
};
|
@@ -180,7 +170,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
180
170
|
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
|
181
171
|
});
|
182
172
|
|
183
|
-
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', () => {
|
184
174
|
if (view === 'Grading view') {
|
185
175
|
studentViewPage.steps.clearResponses();
|
186
176
|
};
|
@@ -205,7 +195,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
205
195
|
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 2'], [1, 2]);
|
206
196
|
});
|
207
197
|
|
208
|
-
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', () => {
|
209
199
|
if (view === 'Grading view') {
|
210
200
|
studentViewPage.steps.clearResponses();
|
211
201
|
};
|
@@ -228,7 +218,6 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
228
218
|
imageHighlightPage.steps.verifyDefaultHighlightRegion(2);
|
229
219
|
imageHighlightPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
230
220
|
imageHighlightPage.steps.verifyCorrectAnswerSectionNotExists();
|
231
|
-
cy.eyesCheckWindow(`Image highlight: ${view} view - Attempting the question correctly`);
|
232
221
|
});
|
233
222
|
});
|
234
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
|
});
|
@@ -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();
|
@@ -100,7 +92,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
100
92
|
});
|
101
93
|
};
|
102
94
|
|
103
|
-
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', () => {
|
104
96
|
if (view === 'Grading view') {
|
105
97
|
utilities.verifyElementDisabledClass(studentViewPage.submitButton());
|
106
98
|
};
|
@@ -118,7 +110,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
118
110
|
};
|
119
111
|
});
|
120
112
|
|
121
|
-
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', () => {
|
122
114
|
listOrderingPage.steps.selectPositionForAllOptionsPreviewTab([{ optionIndex: 0, position: '1' }, { optionIndex: 1, position: '2' }, { optionIndex: 2, position: '3' }, { optionIndex: 3, position: '4' }]);
|
123
115
|
if (view === 'Grading view') {
|
124
116
|
studentViewPage.steps.submitResponse();
|
@@ -136,10 +128,9 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
136
128
|
listOrderingPage.steps.verifyIncorrectOptionIconDropdownLayout(3);
|
137
129
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
138
130
|
listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
|
139
|
-
cy.eyesCheckWindow(`List ordering dropdown - ${view} view - Attempting the question incorrectly`);
|
140
131
|
});
|
141
132
|
|
142
|
-
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', () => {
|
143
134
|
if (view === 'Grading view') {
|
144
135
|
studentViewPage.steps.clearResponses();
|
145
136
|
};
|
@@ -162,7 +153,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
162
153
|
listOrderingPage.steps.verifyOptionsPositionInCorrectAnswerSection(options, ['2', '3', '4', '1']);
|
163
154
|
});
|
164
155
|
|
165
|
-
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', () => {
|
166
157
|
if (view === 'Grading view') {
|
167
158
|
studentViewPage.steps.clearResponses();
|
168
159
|
};
|
@@ -184,7 +175,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
184
175
|
listOrderingPage.steps.verifyCorrectOptionIconDropdownLayout(3);
|
185
176
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
186
177
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
187
|
-
cy.eyesCheckWindow(`List ordering dropdown - ${view} view - Attempting the question correctly`);
|
188
178
|
});
|
189
179
|
});
|
190
180
|
});
|
@@ -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();
|
@@ -97,7 +89,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
97
89
|
listOrderingPage.steps.verifyHorizontalOptionWithEquationTextInPreviewTab(2);
|
98
90
|
});
|
99
91
|
|
100
|
-
it(
|
92
|
+
it('User should be able to reorder options containing image, bold text and equation options in the list', () => {
|
101
93
|
listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('This is a bold option', 0);
|
102
94
|
listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('Solve the following', 1);
|
103
95
|
listOrderingPage.steps.verifyTextContentOfHorizontalOptionInPreviewTab('This is a bold option', 0);
|
@@ -105,10 +97,9 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
105
97
|
listOrderingPage.steps.verifyHorizontalOptionWithEquationTextInPreviewTab(1);
|
106
98
|
listOrderingPage.steps.verifyHorizontalOptionWithImageInPreviewTab(2);
|
107
99
|
listOrderingPage.steps.verifyTextContentOfHorizontalOptionInPreviewTab('alpha', 3);
|
108
|
-
cy.eyesCheckWindow(`${view} - List ordering: Horizontal orientation - Reordered options`);
|
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);
|
@@ -119,7 +110,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
119
110
|
listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('alpha');
|
120
111
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
121
112
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
122
|
-
cy.eyesCheckWindow(`${view} - List ordering: Horizontal orientation - Submitted response order`);
|
123
113
|
});
|
124
114
|
|
125
115
|
it('The order of the responses should not be editable', () => {
|
@@ -135,7 +125,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
135
125
|
listOrderingPage.steps.verifyHorizontalOptionWithEquationTextInPreviewTab(1);
|
136
126
|
listOrderingPage.steps.verifyHorizontalOptionWithImageInPreviewTab(2);
|
137
127
|
listOrderingPage.steps.verifyTextContentOfHorizontalOptionInPreviewTab('alpha', 3);
|
138
|
-
cy.eyesCheckWindow(`${view} - List ordering: Horizontal orientation - Correct answer order`);
|
139
128
|
});
|
140
129
|
}
|
141
130
|
|
@@ -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') {
|
@@ -141,10 +133,9 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
141
133
|
listOrderingPage.steps.verifyIncorrectOptionIcon('seed');
|
142
134
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
143
135
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
144
|
-
cy.eyesCheckWindow(`List ordering -${view} view - Attempting the question incorrectly`);
|
145
136
|
});
|
146
137
|
|
147
|
-
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', () => {
|
148
139
|
if (view === 'Grading view') {
|
149
140
|
studentViewPage.steps.clearResponses();
|
150
141
|
};
|
@@ -168,7 +159,7 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
168
159
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
169
160
|
});
|
170
161
|
|
171
|
-
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', () => {
|
172
163
|
if (view === 'Grading view') {
|
173
164
|
studentViewPage.steps.clearResponses();
|
174
165
|
};
|
@@ -191,7 +182,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
191
182
|
listOrderingPage.steps.verifyCorrectOptionIcon('flower');
|
192
183
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
193
184
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
194
|
-
cy.eyesCheckWindow(`List ordering -${view} view - Attempting the question correctly`);
|
195
185
|
});
|
196
186
|
});
|
197
187
|
});
|
package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js
CHANGED
@@ -14,16 +14,8 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
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
|
-
describe(`${view}:
|
18
|
+
describe(`${view}: Auto scored - All or nothing scoring`, { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
28
20
|
before(() => {
|
29
21
|
switch (view) {
|
@@ -74,7 +66,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
74
66
|
});
|
75
67
|
};
|
76
68
|
|
77
|
-
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', () => {
|
78
70
|
if (view === 'Grading view') {
|
79
71
|
utilities.verifyElementVisibilityState(studentViewPage.submitButton(), 'visible');
|
80
72
|
studentViewPage.steps.submitResponse();
|
@@ -93,7 +85,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
93
85
|
listOrderingPage.steps.verifyCorrectOptionIconsCorrectAnswerSection();
|
94
86
|
});
|
95
87
|
|
96
|
-
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', () => {
|
97
89
|
listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('sprout', 3);
|
98
90
|
listOrderingPage.steps.clickAndReorderHorizontalOptionInPreviewTab('flower', 0);
|
99
91
|
if (view === 'Grading view') {
|
@@ -112,10 +104,9 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
112
104
|
listOrderingPage.steps.verifyIncorrectOptionIconHorizontalOrientation('seed');
|
113
105
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
114
106
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
115
|
-
cy.eyesCheckWindow(`${view}: List ordering: Horizontal orientation - Incorrect attempt`);
|
116
107
|
});
|
117
108
|
|
118
|
-
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', () => {
|
119
110
|
if (view === 'Grading view') {
|
120
111
|
studentViewPage.steps.clearResponses();
|
121
112
|
};
|
@@ -141,7 +132,7 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
141
132
|
listOrderingPage.steps.verifyOptionsInCorrectAnswerSection(correctAnswerArray);
|
142
133
|
});
|
143
134
|
|
144
|
-
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', () => {
|
145
136
|
if (view === 'Grading view') {
|
146
137
|
studentViewPage.steps.clearResponses();
|
147
138
|
};
|
@@ -166,7 +157,6 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
166
157
|
listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('flower');
|
167
158
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
168
159
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
169
|
-
cy.eyesCheckWindow(`${view}: List ordering: Horizontal orientation - Correct attempt`);
|
170
160
|
});
|
171
161
|
});
|
172
162
|
});
|