itemengine-cypress-automation 1.0.285-applitools-da9f1a8.0 → 1.0.286-fixesE2E24thJan-7a46dd4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/Gzip/gzip.js +7 -7
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -26
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -4
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +3 -3
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +7 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +10 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +11 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -19
- package/cypress/e2e/ILC/EditItem/editItem.ts +133 -0
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
- package/cypress/e2e/ILC/FeedbackScaleNew/previewContentsForAllViews.smoke.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +214 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +228 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +245 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +237 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -6
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +4 -3
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +239 -0
- package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +6 -14
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +3 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +212 -0
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -19
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +366 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -3
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +16 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +306 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +243 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +242 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +289 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +284 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +238 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +279 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +641 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +278 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +228 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +234 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +237 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +134 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +138 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +263 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +166 -0
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -23
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -5
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +193 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -2
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -4
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -16
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -9
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/pages/audioPlayerPage.js +4 -4
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +17 -0
- package/cypress/pages/components/equationEditorFlyout.js +1 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
- package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +5 -1
- package/cypress/pages/components/gridQuestionCommonComponent.js +41 -1
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/createItemPage.js +38 -1
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +45 -3
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +35 -2
- package/cypress/pages/graphingPage.js +3 -0
- package/cypress/pages/listOrderingPage.js +1 -1
- package/cypress/pages/matchingPage.js +34 -7
- package/cypress/pages/multipleSelectionPage.js +17 -2
- package/cypress/pages/numberLineLabelPage.js +3 -3
- package/cypress/pages/readingRulerPage.js +5 -3
- package/cypress/pages/singleSelectionPage.js +5 -2
- package/cypress/pages/studentViewPage.js +4 -4
- package/cypress/pages/textEntryMathPage.js +19 -5
- package/cypress/pages/textSelectionPage.js +1 -1
- package/cypress/support/commands.js +0 -11
- package/cypress/support/e2e.js +0 -1
- package/package.json +1 -4
- package/cypress/e2e/applitools.config.js +0 -14
@@ -11,14 +11,6 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
if (!grepTags || !grepTags.includes('smoke')) {
|
23
15
|
describe('Question preview modes: Student view and Grading view', () => {
|
24
16
|
abortEarlySetup();
|
@@ -113,7 +105,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
113
105
|
};
|
114
106
|
|
115
107
|
//Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
|
116
|
-
it.skip(
|
108
|
+
it.skip('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
|
117
109
|
if (view === 'Grading view') {
|
118
110
|
studentViewPage.steps.submitResponse();
|
119
111
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -136,7 +128,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
136
128
|
});
|
137
129
|
|
138
130
|
//Fully incorrect case
|
139
|
-
it(
|
131
|
+
it('When the user incorrectly sets a bar which was correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
|
140
132
|
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value: 5, range: 10 });
|
141
133
|
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 4, value: 2, range: 10 });
|
142
134
|
if (view === 'Grading view') {
|
@@ -162,7 +154,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
162
154
|
});
|
163
155
|
|
164
156
|
//Partially correct cases
|
165
|
-
it(
|
157
|
+
it('When the user incorrectly sets a bar which was set to 0 and correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
|
166
158
|
if (view === 'Grading view') {
|
167
159
|
studentViewPage.steps.clearResponses();
|
168
160
|
}
|
@@ -189,7 +181,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
189
181
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
190
182
|
});
|
191
183
|
|
192
|
-
it(
|
184
|
+
it('When the user attempts the question partially correct by incorrectly setting a bar which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
|
193
185
|
if (view === 'Grading view') {
|
194
186
|
studentViewPage.steps.clearResponses();
|
195
187
|
}
|
@@ -216,7 +208,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
216
208
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
217
209
|
});
|
218
210
|
|
219
|
-
it(
|
211
|
+
it('When the user attempts the question partially correct by incorrectly setting a bar to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
|
220
212
|
if (view === 'Grading view') {
|
221
213
|
studentViewPage.steps.clearResponses();
|
222
214
|
}
|
@@ -243,7 +235,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
243
235
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
244
236
|
});
|
245
237
|
|
246
|
-
it(
|
238
|
+
it('When the user attempts the question partially correct by incorrectly setting a bar which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
|
247
239
|
if (view === 'Grading view') {
|
248
240
|
studentViewPage.steps.clearResponses();
|
249
241
|
}
|
@@ -270,7 +262,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
270
262
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
271
263
|
});
|
272
264
|
|
273
|
-
it(
|
265
|
+
it('When the user attempts the question partially correct by setting all bars correctly except 1 then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars and incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
|
274
266
|
if (view === 'Grading view') {
|
275
267
|
studentViewPage.steps.clearResponses();
|
276
268
|
}
|
@@ -298,7 +290,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
298
290
|
});
|
299
291
|
|
300
292
|
//Fully correct
|
301
|
-
it(
|
293
|
+
it('When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed, correct icons should be displayed on the correctly attempted bars and the correct answer section graph should not be displayed', () => {
|
302
294
|
if (view === 'Grading view') {
|
303
295
|
studentViewPage.steps.clearResponses();
|
304
296
|
}
|
@@ -320,7 +312,6 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
320
312
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
|
321
313
|
chartsBarPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
322
314
|
chartsBarPage.steps.verifyCorrectAnswerSectionNotExist();
|
323
|
-
cy.eyesCheckWindow(`${view} - Fully correct case`);
|
324
315
|
});
|
325
316
|
});
|
326
317
|
});
|
@@ -14,14 +14,6 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
if (views.includes('Grading view')) {
|
26
18
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -115,7 +107,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
|
|
115
107
|
utilities.verifyElementVisibilityState(chartsBarPage.correctAnswersLabel(), 'visible');
|
116
108
|
});
|
117
109
|
|
118
|
-
it('
|
110
|
+
it('Correct answer should be displayed in the correct answer section', () => {
|
119
111
|
chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 0, barValue: 2, range: 20 });
|
120
112
|
chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 20 });
|
121
113
|
chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 20 });
|
@@ -129,7 +121,6 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
|
|
129
121
|
chartsBarPage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
|
130
122
|
chartsBarPage.steps.verifyYAxisLabelInCorrectAnswerSection('Profit');
|
131
123
|
chartsBarPage.steps.verifyXAxisLabelInCorrectAnswerSection('Year');
|
132
|
-
cy.eyesCheckWindow('Charts bar: Vertical - Grading view contents');
|
133
124
|
});
|
134
125
|
|
135
126
|
it('Points and the total score should be displayed', () => {
|
@@ -229,7 +220,7 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
|
|
229
220
|
utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolBarWrapper(), 'notExist');
|
230
221
|
});
|
231
222
|
|
232
|
-
it('
|
223
|
+
it('The correct answer set by user should be displayed in the correct answer view', () => {
|
233
224
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue: 2, range: 20 });
|
234
225
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 20 });
|
235
226
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 5, range: 20 });
|
@@ -241,7 +232,6 @@ describe('Create item page - Charts - Bar: Grading view, Correct answer view con
|
|
241
232
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
|
242
233
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
|
243
234
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
|
244
|
-
cy.eyesCheckWindow('Charts bar: Verical - Correct answer view contents')
|
245
235
|
});
|
246
236
|
|
247
237
|
it('The points alloted to the question should be displayed', () => {
|
@@ -13,14 +13,6 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
|
|
13
13
|
cy.loginAs('admin');
|
14
14
|
});
|
15
15
|
|
16
|
-
beforeEach(() => {
|
17
|
-
cy.startApplitools();
|
18
|
-
});
|
19
|
-
|
20
|
-
afterEach(() => {
|
21
|
-
cy.eyesClose();
|
22
|
-
});
|
23
|
-
|
24
16
|
views.forEach((view) => {
|
25
17
|
describe(`Preview tab contents - Edit bar graphs, graph labels, locked graph ${view}`, { tags: 'smoke' }, () => {
|
26
18
|
abortEarlySetup();
|
@@ -88,7 +80,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
|
|
88
80
|
utilities.verifyElementDisabled(chartsBarPage.previewTabToolsResetButton());
|
89
81
|
});
|
90
82
|
|
91
|
-
it(
|
83
|
+
it('The graph title, Y axis label, X axis label and bar labels should be displayed', () => {
|
92
84
|
utilities.verifyInnerText(chartsBarPage.previewTabGraphTitle(), 'Graph of profits');
|
93
85
|
utilities.verifyElementVisibilityState(chartsBarPage.previewTabGraphTitle(), 'visible');
|
94
86
|
utilities.verifyInnerText(chartsBarPage.previewTabYAxisLabelButton(), 'Profit');
|
@@ -152,10 +144,9 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
|
|
152
144
|
|
153
145
|
chartsBarPage.tests.verifyBarTooltipContentsCSSAndA11yInPreviewTab('3', barBackgroundColor[3], 'Bar 4');
|
154
146
|
|
155
|
-
it(
|
147
|
+
it('User should be able to edit the label a bar', () => {
|
156
148
|
chartsBarPage.steps.editBarLabelInPreviewTab(0, '2000');
|
157
149
|
chartsBarPage.steps.editBarLabelInPreviewTab(1, '2001');
|
158
|
-
cy.eyesCheckWindow(`${view} - Charts bar: Vertical after editing the bar height and labels`);
|
159
150
|
});
|
160
151
|
|
161
152
|
it('CSS of preview tab contents', { tags: 'css' }, () => {
|
@@ -321,7 +312,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
|
|
321
312
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
322
313
|
});
|
323
314
|
|
324
|
-
it(
|
315
|
+
it('When user adds a bar again and the number of extra bars reaches the maximum set value i.e. 1, then the add bar button should be disabled', () => {
|
325
316
|
chartsBarPage.steps.addBarOrPointInChartInPreviewTab();
|
326
317
|
utilities.verifyElementDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
327
318
|
});
|
@@ -375,13 +366,13 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
|
|
375
366
|
});
|
376
367
|
|
377
368
|
//Bar labels
|
378
|
-
it(
|
369
|
+
it('When user updates a bar label, then the undo and reset button should be displayed in enabled state', () => {
|
379
370
|
chartsBarPage.steps.editBarLabelInPreviewTab(0, 'Edited bar 1');
|
380
371
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
|
381
372
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
|
382
373
|
});
|
383
374
|
|
384
|
-
it(
|
375
|
+
it('When user hovers on the enabled undo and reset button, then tooltips \'Undo\' and \'Reset\' should be displayed', () => {
|
385
376
|
chartsBarPage.previewTabToolsUndoButton()
|
386
377
|
.verifyTooltip('Undo');
|
387
378
|
chartsBarPage.previewTabToolsResetButton()
|
@@ -603,7 +594,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
|
|
603
594
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range: 10 });
|
604
595
|
});
|
605
596
|
|
606
|
-
it(
|
597
|
+
it('When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state', () => {
|
607
598
|
chartsBarPage.steps.clickOnResetButtonPreviewTab();
|
608
599
|
chartsBarPage.steps.confirmReset();
|
609
600
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
@@ -102,7 +102,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
102
102
|
});
|
103
103
|
};
|
104
104
|
//Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
|
105
|
-
it.skip(
|
105
|
+
it.skip('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
|
106
106
|
if (view === 'Grading view') {
|
107
107
|
studentViewPage.steps.submitResponse();
|
108
108
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -126,7 +126,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
126
126
|
});
|
127
127
|
|
128
128
|
//Fully incorrect case
|
129
|
-
it(
|
129
|
+
it('When the user incorrectly sets a point which was correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
|
130
130
|
chartsLinePage.steps.setPointValueInPreviewTab({ pointIndex: 0, value: 5, range: 10 });
|
131
131
|
chartsLinePage.steps.setPointValueInPreviewTab({ pointIndex: 4, value: 2, range: 10 });
|
132
132
|
if (view === 'Grading view') {
|
@@ -152,7 +152,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
152
152
|
});
|
153
153
|
|
154
154
|
//Partially correct cases
|
155
|
-
it(
|
155
|
+
it('When the user incorrectly sets a point which was set to 0 and correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
|
156
156
|
if (view === 'Grading view') {
|
157
157
|
studentViewPage.steps.clearResponses();
|
158
158
|
}
|
@@ -179,7 +179,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
179
179
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
180
180
|
});
|
181
181
|
|
182
|
-
it(
|
182
|
+
it('When the user attempts the question partially correct by incorrectly setting a point which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
|
183
183
|
if (view === 'Grading view') {
|
184
184
|
studentViewPage.steps.clearResponses();
|
185
185
|
}
|
@@ -206,7 +206,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
206
206
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
207
207
|
});
|
208
208
|
|
209
|
-
it(
|
209
|
+
it('When the user attempts the question partially correct by incorrectly setting a point to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
|
210
210
|
if (view === 'Grading view') {
|
211
211
|
studentViewPage.steps.clearResponses();
|
212
212
|
}
|
@@ -233,7 +233,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
233
233
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
234
234
|
});
|
235
235
|
|
236
|
-
it(
|
236
|
+
it('When the user attempts the question partially correct by incorrectly setting a point which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points, incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
|
237
237
|
if (view === 'Grading view') {
|
238
238
|
studentViewPage.steps.clearResponses();
|
239
239
|
}
|
@@ -260,7 +260,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
260
260
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
261
261
|
});
|
262
262
|
|
263
|
-
it(
|
263
|
+
it('When the user attempts the question partially correct by setting all points correctly except 1 then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted points and incorrect icons should be displayed on the incorrectly attempted points and correct answer section should be displayed with the correct answers', () => {
|
264
264
|
if (view === 'Grading view') {
|
265
265
|
studentViewPage.steps.clearResponses();
|
266
266
|
}
|
@@ -288,7 +288,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
288
288
|
});
|
289
289
|
|
290
290
|
//Fully correct
|
291
|
-
it(
|
291
|
+
it('When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed, correct icons should be displayed on the correctly attempted points and the correct answer section graph should not be displayed', () => {
|
292
292
|
if (view === 'Grading view') {
|
293
293
|
studentViewPage.steps.clearResponses();
|
294
294
|
}
|
@@ -13,14 +13,6 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
|
|
13
13
|
cy.loginAs('admin');
|
14
14
|
});
|
15
15
|
|
16
|
-
beforeEach(() => {
|
17
|
-
cy.startApplitools();
|
18
|
-
});
|
19
|
-
|
20
|
-
afterEach(() => {
|
21
|
-
cy.eyesClose();
|
22
|
-
});
|
23
|
-
|
24
16
|
if (views.includes('Grading view')) {
|
25
17
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
26
18
|
abortEarlySetup();
|
@@ -114,7 +106,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
|
|
114
106
|
utilities.verifyElementVisibilityState(chartsLinePage.correctAnswersLabel(), 'visible');
|
115
107
|
});
|
116
108
|
|
117
|
-
it('
|
109
|
+
it('Correct answer should be displayed in the correct answer section', () => {
|
118
110
|
chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 0, value: 2, range: 20 });
|
119
111
|
chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 1, value: 2, range: 20 });
|
120
112
|
chartsLinePage.steps.verifyPointValueInCorrectAnswerSection({ pointIndex: 2, value: 5, range: 20 });
|
@@ -128,7 +120,6 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
|
|
128
120
|
chartsLinePage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
|
129
121
|
chartsLinePage.steps.verifyYAxisLabelInCorrectAnswerSection('Profit');
|
130
122
|
chartsLinePage.steps.verifyXAxisLabelInCorrectAnswerSection('Year');
|
131
|
-
cy.eyesCheckWindow('Charts Line - Grading view contents');
|
132
123
|
});
|
133
124
|
|
134
125
|
it('Points and the total score should be displayed', () => {
|
@@ -229,7 +220,7 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
|
|
229
220
|
utilities.verifyElementVisibilityState(chartsLinePage.previewTabToolBarWrapper(), 'notExist');
|
230
221
|
});
|
231
222
|
|
232
|
-
it('
|
223
|
+
it('The correct answer set by user should be displayed in the correct answer view', () => {
|
233
224
|
chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 0, value: 2, range: 20 });
|
234
225
|
chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 1, value: 2, range: 20 });
|
235
226
|
chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 2, value: 5, range: 20 });
|
@@ -241,7 +232,6 @@ describe('Create item page - Charts - Line: Grading view, Correct answer view co
|
|
241
232
|
chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(2, 'correct');
|
242
233
|
chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(3, 'correct');
|
243
234
|
chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(4, 'correct');
|
244
|
-
cy.eyesCheckWindow('Charts Line - Correct answer view contents');
|
245
235
|
});
|
246
236
|
|
247
237
|
it('The points alloted to the question should be displayed', () => {
|
@@ -12,14 +12,6 @@ describe('Create item page: Charts - Line - 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 - Edit line graphs, graph labels, locked graph ${view}`, { tags: 'smoke' }, () => {
|
25
17
|
abortEarlySetup();
|
@@ -101,7 +93,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
|
|
101
93
|
utilities.verifyInnerText(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 3), 'Point 4');
|
102
94
|
});
|
103
95
|
|
104
|
-
it(
|
96
|
+
it('The graph max value should be as set in the Max Y input field and it should affect the chart division', () => {
|
105
97
|
utilities.verifyTextContent(utilities.getNthElement(chartsLinePage.previewTabYAxisCoordinate(), 0), 20);
|
106
98
|
utilities.verifyElementCount(chartsLinePage.previewTabChartRowHeaderContainer(), 21);
|
107
99
|
});
|
@@ -150,7 +142,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
|
|
150
142
|
|
151
143
|
chartsLinePage.tests.verifyPointTooltipContentsCSSAndA11yInPreviewTab('0', 'Point 1');
|
152
144
|
|
153
|
-
it(
|
145
|
+
it('User should be able to edit the point label', () => {
|
154
146
|
chartsLinePage.steps.editPointLabelInPreviewTab(0, '2000');
|
155
147
|
});
|
156
148
|
|
@@ -285,11 +277,10 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
|
|
285
277
|
cy.checkAccessibility(chartsLinePage.previewTabGraphTitle().parents('[class*="ChartsPreviewstyles__PreviewWrapper"]'));
|
286
278
|
});
|
287
279
|
|
288
|
-
it(
|
280
|
+
it('When user deletes a point, then that point should be deleted and the add point button should be enabled again', () => {
|
289
281
|
chartsLinePage.steps.deletePointInPreviewTab(3);
|
290
282
|
utilities.verifyElementCount(chartsLinePage.previewTabPoint(), 3);
|
291
283
|
utilities.verifyElementVisibilityState(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 4), 'notExist');
|
292
|
-
cy.eyesCheckWindow(`${view} - Charts Line: Charts bar after adding and deleting points`);
|
293
284
|
});
|
294
285
|
});
|
295
286
|
});
|
@@ -342,7 +333,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
|
|
342
333
|
});
|
343
334
|
|
344
335
|
//Point labels
|
345
|
-
it(
|
336
|
+
it('When user updates a point label, then the undo and reset button should be displayed in enabled state', () => {
|
346
337
|
chartsLinePage.steps.editPointLabelInPreviewTab(0, 'Edited point 1');
|
347
338
|
utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsUndoButton());
|
348
339
|
utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsResetButton());
|
@@ -570,7 +561,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
|
|
570
561
|
chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 3, value: 6, range: 10 });
|
571
562
|
});
|
572
563
|
|
573
|
-
it(
|
564
|
+
it('When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state', () => {
|
574
565
|
chartsLinePage.steps.clickOnResetButtonPreviewTab();
|
575
566
|
chartsLinePage.steps.confirmReset();
|
576
567
|
utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsAddBarOrPointButton());
|
@@ -61,7 +61,7 @@ describe('Preview tab contents for all views', () => {
|
|
61
61
|
compassPage.steps.verifyPreviewTabCompassVisibilityButtonLabel('Show');
|
62
62
|
});
|
63
63
|
|
64
|
-
it(
|
64
|
+
it('When user clicks on \'Show compass\' button then \'Compass\' should be displayed and \'Show compass\' button should change to \'Hide compass\'', () => {
|
65
65
|
compassPage.steps.clickOnCompassToolVisibilityButton();
|
66
66
|
compassPage.steps.verifyCompassToolIsVisible();
|
67
67
|
compassPage.steps.verifyPreviewTabCompassVisibilityButtonLabel('Hide');
|
@@ -68,7 +68,7 @@ describe('Preview tab contents for all views', () => {
|
|
68
68
|
utilities.verifyElementVisibilityState(contentBlocksPage.subTitleLabelPreviewTab(), 'visible');
|
69
69
|
});
|
70
70
|
|
71
|
-
it(
|
71
|
+
it('Text block, solid group divider and subtitle text should be displayed', () => {
|
72
72
|
utilities.verifyInnerText(contentBlocksPage.textBlockPreviewTab(), 'This is text block text');
|
73
73
|
utilities.verifyElementVisibilityState(contentBlocksPage.textBlockPreviewTab(), 'visible');
|
74
74
|
utilities.verifyElementVisibilityState(contentBlocksPage.groupDividerPreviewTab(), 'visible');
|
@@ -135,15 +135,15 @@ describe('Create item page - Drag and drop into categories: All or nothing with
|
|
135
135
|
dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Eagle': 1, 'Peacock': 1, 'Platypus': 4 });
|
136
136
|
dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
|
137
137
|
dragAndDropIntoCategoriesPage.steps.switchToGradingView();
|
138
|
-
dragAndDropIntoCategoriesPage.steps.
|
138
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
|
139
139
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
|
140
|
-
dragAndDropIntoCategoriesPage.steps.
|
141
|
-
dragAndDropIntoCategoriesPage.steps.
|
140
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
|
141
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(2);
|
142
142
|
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(3);
|
143
|
-
dragAndDropIntoCategoriesPage.steps.
|
143
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(3);
|
144
144
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
145
145
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
146
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['
|
146
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
147
147
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
148
148
|
/*cy.log('When the user has attempted the question with partially correct with all the cells correct as per the alternative accordion but one cell incomplete and clicks on \'Check answer\' button, then correct icon should be displayed besides the response from the correct accordion, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
149
149
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -160,14 +160,14 @@ describe('Create item page - Drag and drop into categories: All or nothing with
|
|
160
160
|
dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Ostrich': 3, 'Platypus': 4 });
|
161
161
|
dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
|
162
162
|
dragAndDropIntoCategoriesPage.steps.switchToGradingView();
|
163
|
-
dragAndDropIntoCategoriesPage.steps.
|
164
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
|
163
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
|
165
164
|
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(1);
|
166
|
-
dragAndDropIntoCategoriesPage.steps.
|
167
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(
|
165
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(2);
|
166
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
|
167
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
|
168
168
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
169
169
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
170
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['
|
170
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
171
171
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
172
172
|
/*cy.log('When the user has attempted the question with partially correct with more number of options exclusively from the alternative accordion but with one option common across both accordion and clicks on \'Check answer\' button, then correct icon should be displayed besides the responses from the alternative accordion response as well as common response, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
173
173
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -183,15 +183,15 @@ describe('Create item page - Drag and drop into categories: All or nothing with
|
|
183
183
|
dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Eagle': 1, 'Peacock': 1, 'Ostrich': 3, 'Platypus': 4, 'Whale': 5 });
|
184
184
|
dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
|
185
185
|
dragAndDropIntoCategoriesPage.steps.switchToGradingView();
|
186
|
-
dragAndDropIntoCategoriesPage.steps.
|
186
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
|
187
187
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
|
188
|
-
dragAndDropIntoCategoriesPage.steps.
|
189
|
-
dragAndDropIntoCategoriesPage.steps.
|
188
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
|
189
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(2);
|
190
190
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(3);
|
191
|
-
dragAndDropIntoCategoriesPage.steps.
|
191
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(4);
|
192
192
|
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(5);
|
193
193
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
194
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['
|
194
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
195
195
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
196
196
|
/*cy.log('When the user has attempted the question with partially correct with all the cells correctly attempted as per the alternative accordion but with an extra incorrect option and clicks on \'Check answer\' button, then correct icon should be displayed besides the responses from the alternative accordion response as well as common response, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
197
197
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|
@@ -210,15 +210,15 @@ describe('Create item page - Drag and drop into categories: All or nothing with
|
|
210
210
|
dragAndDropIntoCategoriesPage.steps.clickAndDropOptionInDropzonePreviewTab({ 'Flying squirrel': 0, 'Bat': 0, 'Peacock': 1, 'Platypus': 4 });
|
211
211
|
dragAndDropIntoCategoriesPage.steps.verifyPreviewScore(0, 20);
|
212
212
|
dragAndDropIntoCategoriesPage.steps.switchToGradingView();
|
213
|
-
dragAndDropIntoCategoriesPage.steps.
|
214
|
-
dragAndDropIntoCategoriesPage.steps.
|
215
|
-
dragAndDropIntoCategoriesPage.steps.
|
216
|
-
dragAndDropIntoCategoriesPage.steps.
|
213
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(0);
|
214
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectOptionIcon(1);
|
215
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(2);
|
216
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(2);
|
217
217
|
dragAndDropIntoCategoriesPage.steps.verifyIncorrectIconForEmptyContainer(3);
|
218
|
-
dragAndDropIntoCategoriesPage.steps.
|
218
|
+
dragAndDropIntoCategoriesPage.steps.verifyIncorrectOptionIcon(3);
|
219
219
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIconForEmptyContainer(5);
|
220
220
|
dragAndDropIntoCategoriesPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
221
|
-
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['
|
221
|
+
dragAndDropIntoCategoriesPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount([['Bat'], ['Eagle', 'Parrot'], ['Platypus'], ['Ostrich'], ['Whale'], []], ['1', '2', '3', '4', '5', '6']);
|
222
222
|
dragAndDropIntoCategoriesPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
223
223
|
/*cy.log('When the user has attempted the question with partially correct such that more number of correct options are exclusively from the alternative accordion but with one option exclusively from the correct accordion in the same cell and clicks on \'Check answer\' button, then correct icon should be displayed besides the responses from the alternative accordions, incorrect icon should be displayed besides the responses from the correct accordion, a status message with text \'Your answer is incorrect\' and correct answer section should not be displayed')
|
224
224
|
dragAndDropIntoCategoriesPage.steps.checkAnswer();
|