itemengine-cypress-automation 1.0.284-applitools-38637bb.0 → 1.0.285
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/Gzip/gzip.js +7 -7
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -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 -17
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- 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 -17
- 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 -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 -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 -35
- 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 -14
- 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 -13
- 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 -14
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -15
- 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 -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 -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 -14
- 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 -14
- 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 -14
- 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 +6 -14
- 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 -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 -12
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +16 -0
- 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 -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 -13
- 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 -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 -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 -18
- 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
package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js
CHANGED
@@ -13,14 +13,6 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
|
|
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();
|
@@ -89,7 +81,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
|
|
89
81
|
utilities.verifyElementDisabled(chartsBarPage.previewTabToolsResetButton());
|
90
82
|
});
|
91
83
|
|
92
|
-
it(
|
84
|
+
it('The graph title, Y axis label, X axis label and bar labels should be displayed', () => {
|
93
85
|
utilities.verifyInnerText(chartsBarPage.previewTabGraphTitle(), 'Graph of profits');
|
94
86
|
utilities.verifyElementVisibilityState(chartsBarPage.previewTabGraphTitle(), 'visible');
|
95
87
|
utilities.verifyInnerText(chartsBarPage.previewTabXAxisLabelButton(), 'Profit');
|
@@ -150,10 +142,9 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
|
|
150
142
|
|
151
143
|
chartsBarPage.tests.verifyBarTooltipContentsCSSAndA11yInPreviewTab('3', barBackgroundColor[3], 'Bar 4');
|
152
144
|
|
153
|
-
it(
|
145
|
+
it('User should be able to edit the label a bar', () => {
|
154
146
|
chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(0, '2000');
|
155
147
|
chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(3, '2004');
|
156
|
-
cy.eyesCheckWindow(`${view} - Charts bar after editing the bar height and labels`);
|
157
148
|
});
|
158
149
|
|
159
150
|
it('CSS of preview tab contents', { tags: 'css' }, () => {
|
@@ -319,7 +310,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
|
|
319
310
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
320
311
|
});
|
321
312
|
|
322
|
-
it(
|
313
|
+
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', () => {
|
323
314
|
chartsBarPage.steps.addBarOrPointInChartInPreviewTab();
|
324
315
|
utilities.verifyElementDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
325
316
|
});
|
@@ -374,7 +365,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
|
|
374
365
|
});
|
375
366
|
|
376
367
|
//Bar labels
|
377
|
-
it(
|
368
|
+
it('When user updates a bar label, then the undo and reset button should be displayed in enabled state', () => {
|
378
369
|
chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(0, 'Edited bar 1');
|
379
370
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
|
380
371
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
|
@@ -602,7 +593,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
|
|
602
593
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range: 10 });
|
603
594
|
});
|
604
595
|
|
605
|
-
it(
|
596
|
+
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', () => {
|
606
597
|
chartsBarPage.steps.clickOnResetButtonPreviewTab();
|
607
598
|
chartsBarPage.steps.confirmReset();
|
608
599
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
@@ -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());
|
@@ -11,14 +11,6 @@ describe('Create item page - Charts - Line: 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();
|
@@ -110,7 +102,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
110
102
|
});
|
111
103
|
};
|
112
104
|
//Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
|
113
|
-
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', () => {
|
114
106
|
if (view === 'Grading view') {
|
115
107
|
studentViewPage.steps.submitResponse();
|
116
108
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -134,7 +126,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
134
126
|
});
|
135
127
|
|
136
128
|
//Fully incorrect case
|
137
|
-
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', () => {
|
138
130
|
chartsLinePage.steps.setPointValueInPreviewTab({ pointIndex: 0, value: 5, range: 10 });
|
139
131
|
chartsLinePage.steps.setPointValueInPreviewTab({ pointIndex: 4, value: 2, range: 10 });
|
140
132
|
if (view === 'Grading view') {
|
@@ -160,7 +152,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
160
152
|
});
|
161
153
|
|
162
154
|
//Partially correct cases
|
163
|
-
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', () => {
|
164
156
|
if (view === 'Grading view') {
|
165
157
|
studentViewPage.steps.clearResponses();
|
166
158
|
}
|
@@ -187,7 +179,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
187
179
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
188
180
|
});
|
189
181
|
|
190
|
-
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', () => {
|
191
183
|
if (view === 'Grading view') {
|
192
184
|
studentViewPage.steps.clearResponses();
|
193
185
|
}
|
@@ -214,7 +206,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
214
206
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
215
207
|
});
|
216
208
|
|
217
|
-
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', () => {
|
218
210
|
if (view === 'Grading view') {
|
219
211
|
studentViewPage.steps.clearResponses();
|
220
212
|
}
|
@@ -241,7 +233,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
241
233
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
242
234
|
});
|
243
235
|
|
244
|
-
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', () => {
|
245
237
|
if (view === 'Grading view') {
|
246
238
|
studentViewPage.steps.clearResponses();
|
247
239
|
}
|
@@ -268,7 +260,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
268
260
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
269
261
|
});
|
270
262
|
|
271
|
-
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', () => {
|
272
264
|
if (view === 'Grading view') {
|
273
265
|
studentViewPage.steps.clearResponses();
|
274
266
|
}
|
@@ -296,7 +288,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
296
288
|
});
|
297
289
|
|
298
290
|
//Fully correct
|
299
|
-
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', () => {
|
300
292
|
if (view === 'Grading view') {
|
301
293
|
studentViewPage.steps.clearResponses();
|
302
294
|
}
|
@@ -318,7 +310,6 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
318
310
|
chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(4, 'correct');
|
319
311
|
chartsLinePage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
320
312
|
chartsLinePage.steps.verifyCorrectAnswerSectionNotExist();
|
321
|
-
cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question correctly`);
|
322
313
|
});
|
323
314
|
});
|
324
315
|
});
|
@@ -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());
|
@@ -12,14 +12,6 @@ describe('Preview tab contents for 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();
|
@@ -69,12 +61,11 @@ describe('Preview tab contents for all views', () => {
|
|
69
61
|
compassPage.steps.verifyPreviewTabCompassVisibilityButtonLabel('Show');
|
70
62
|
});
|
71
63
|
|
72
|
-
it(
|
64
|
+
it('When user clicks on \'Show compass\' button then \'Compass\' should be displayed and \'Show compass\' button should change to \'Hide compass\'', () => {
|
73
65
|
compassPage.steps.clickOnCompassToolVisibilityButton();
|
74
66
|
compassPage.steps.verifyCompassToolIsVisible();
|
75
67
|
compassPage.steps.verifyPreviewTabCompassVisibilityButtonLabel('Hide');
|
76
68
|
compassPage.steps.clickOnCompassToolVisibilityButton();
|
77
|
-
cy.eyesCheckWindow(`${view} - Check compass visibility`);
|
78
69
|
});
|
79
70
|
|
80
71
|
it('CSS of preview tab basic section', { tags: 'css' }, () => {
|
@@ -12,14 +12,6 @@ describe('Preview tab contents for 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();
|
@@ -76,13 +68,12 @@ describe('Preview tab contents for all views', () => {
|
|
76
68
|
utilities.verifyElementVisibilityState(contentBlocksPage.subTitleLabelPreviewTab(), 'visible');
|
77
69
|
});
|
78
70
|
|
79
|
-
it(
|
71
|
+
it('Text block, solid group divider and subtitle text should be displayed', () => {
|
80
72
|
utilities.verifyInnerText(contentBlocksPage.textBlockPreviewTab(), 'This is text block text');
|
81
73
|
utilities.verifyElementVisibilityState(contentBlocksPage.textBlockPreviewTab(), 'visible');
|
82
74
|
utilities.verifyElementVisibilityState(contentBlocksPage.groupDividerPreviewTab(), 'visible');
|
83
75
|
utilities.verifyInnerText(contentBlocksPage.bodySubTitlePreviewTab(), 'This is body subtitle text');
|
84
76
|
utilities.verifyElementVisibilityState(contentBlocksPage.bodySubTitlePreviewTab(), 'visible');
|
85
|
-
cy.eyesCheckWindow(`${view} - Title, text block, solid group divider and subtitle text should be displayed`);
|
86
77
|
});
|
87
78
|
|
88
79
|
it('CSS of Preview tab', { tags: 'css' }, () => {
|