itemengine-cypress-automation 1.0.283-applitools-caab082.0 → 1.0.283
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -36
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -14
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -10
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -10
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -18
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -16
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -18
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -17
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -18
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -16
- package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -10
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +7 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +10 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +11 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -35
- package/cypress/e2e/ILC/EditItem/editItem.ts +133 -0
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +214 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -14
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +228 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +245 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +237 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -17
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -16
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -13
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -16
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -15
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +239 -0
- package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +3 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +212 -0
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -20
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +366 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +0 -10
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -13
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -14
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -13
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +306 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +243 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +242 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +289 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +284 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +238 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +279 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +641 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +278 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +228 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +234 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +237 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +134 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +138 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +263 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +166 -0
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -24
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -15
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +193 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +12 -22
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -14
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -17
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -12
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -12
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -17
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -12
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -19
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -14
- package/cypress/pages/audioPlayerPage.js +4 -4
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +17 -0
- package/cypress/pages/components/equationEditorFlyout.js +1 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
- package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +5 -1
- package/cypress/pages/components/gridQuestionCommonComponent.js +41 -1
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/createItemPage.js +38 -1
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +45 -3
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +35 -2
- package/cypress/pages/listOrderingPage.js +1 -1
- package/cypress/pages/matchingPage.js +34 -7
- package/cypress/pages/multipleSelectionPage.js +17 -2
- package/cypress/pages/numberLineLabelPage.js +3 -3
- package/cypress/pages/readingRulerPage.js +5 -3
- package/cypress/pages/singleSelectionPage.js +5 -2
- package/cypress/pages/textEntryMathPage.js +19 -5
- package/cypress/pages/textSelectionPage.js +1 -1
- package/cypress/support/commands.js +0 -11
- package/cypress/support/e2e.js +0 -1
- package/package.json +1 -4
- package/cypress/e2e/applitools.config.js +0 -14
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,10 +310,9 @@ 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
|
-
cy.eyesCheckWindow(`${view} - Charts bar: Horizontal: Charts bar after adding and deleting bars`);
|
326
316
|
});
|
327
317
|
});
|
328
318
|
});
|
@@ -375,11 +365,10 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
|
|
375
365
|
});
|
376
366
|
|
377
367
|
//Bar labels
|
378
|
-
it(
|
368
|
+
it('When user updates a bar label, then the undo and reset button should be displayed in enabled state', () => {
|
379
369
|
chartsBarPage.steps.editBarLabelHorizontalInPreviewTab(0, 'Edited bar 1');
|
380
370
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
|
381
371
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
|
382
|
-
cy.eyesCheckWindow(`${view} - Bar label updated`);
|
383
372
|
});
|
384
373
|
|
385
374
|
it('When user hovers on the enabled undo and reset button, then tooltips \'Undo\' and \'Reset\' should be displayed', () => {
|
@@ -604,7 +593,7 @@ describe('Create item page: Charts - Bar horizontal orientation- Preview content
|
|
604
593
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range: 10 });
|
605
594
|
});
|
606
595
|
|
607
|
-
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', () => {
|
608
597
|
chartsBarPage.steps.clickOnResetButtonPreviewTab();
|
609
598
|
chartsBarPage.steps.confirmReset();
|
610
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') {
|
@@ -159,11 +151,10 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
159
151
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 2, barValue: 6, range: 10 });
|
160
152
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 3, barValue: 5, range: 10 });
|
161
153
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
162
|
-
cy.eyesCheckWindow(`${view} - Fully incorrect case`);
|
163
154
|
});
|
164
155
|
|
165
156
|
//Partially correct cases
|
166
|
-
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', () => {
|
167
158
|
if (view === 'Grading view') {
|
168
159
|
studentViewPage.steps.clearResponses();
|
169
160
|
}
|
@@ -190,7 +181,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
190
181
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
191
182
|
});
|
192
183
|
|
193
|
-
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', () => {
|
194
185
|
if (view === 'Grading view') {
|
195
186
|
studentViewPage.steps.clearResponses();
|
196
187
|
}
|
@@ -217,7 +208,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
217
208
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
218
209
|
});
|
219
210
|
|
220
|
-
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', () => {
|
221
212
|
if (view === 'Grading view') {
|
222
213
|
studentViewPage.steps.clearResponses();
|
223
214
|
}
|
@@ -244,7 +235,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
244
235
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
245
236
|
});
|
246
237
|
|
247
|
-
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', () => {
|
248
239
|
if (view === 'Grading view') {
|
249
240
|
studentViewPage.steps.clearResponses();
|
250
241
|
}
|
@@ -271,7 +262,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
271
262
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
272
263
|
});
|
273
264
|
|
274
|
-
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', () => {
|
275
266
|
if (view === 'Grading view') {
|
276
267
|
studentViewPage.steps.clearResponses();
|
277
268
|
}
|
@@ -299,7 +290,7 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
299
290
|
});
|
300
291
|
|
301
292
|
//Fully correct
|
302
|
-
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', () => {
|
303
294
|
if (view === 'Grading view') {
|
304
295
|
studentViewPage.steps.clearResponses();
|
305
296
|
}
|
@@ -321,7 +312,6 @@ describe('Create item page - Charts - Bar: All or nothing ', () => {
|
|
321
312
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
|
322
313
|
chartsBarPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
323
314
|
chartsBarPage.steps.verifyCorrectAnswerSectionNotExist();
|
324
|
-
cy.eyesCheckWindow(`${view} - Fully correct case`);
|
325
315
|
});
|
326
316
|
});
|
327
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,10 +312,9 @@ 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
|
-
cy.eyesCheckWindow(`${view} - Charts bar - Vertical: Charts bar after adding and deleting bars`);
|
328
318
|
});
|
329
319
|
});
|
330
320
|
});
|
@@ -376,13 +366,13 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
|
|
376
366
|
});
|
377
367
|
|
378
368
|
//Bar labels
|
379
|
-
it(
|
369
|
+
it('When user updates a bar label, then the undo and reset button should be displayed in enabled state', () => {
|
380
370
|
chartsBarPage.steps.editBarLabelInPreviewTab(0, 'Edited bar 1');
|
381
371
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsUndoButton());
|
382
372
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsResetButton());
|
383
373
|
});
|
384
374
|
|
385
|
-
it(
|
375
|
+
it('When user hovers on the enabled undo and reset button, then tooltips \'Undo\' and \'Reset\' should be displayed', () => {
|
386
376
|
chartsBarPage.previewTabToolsUndoButton()
|
387
377
|
.verifyTooltip('Undo');
|
388
378
|
chartsBarPage.previewTabToolsResetButton()
|
@@ -604,7 +594,7 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
|
|
604
594
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range: 10 });
|
605
595
|
});
|
606
596
|
|
607
|
-
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', () => {
|
608
598
|
chartsBarPage.steps.clickOnResetButtonPreviewTab();
|
609
599
|
chartsBarPage.steps.confirmReset();
|
610
600
|
utilities.verifyElementNotDisabled(chartsBarPage.previewTabToolsAddBarOrPointButton());
|
@@ -622,7 +612,6 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
|
|
622
612
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 10 });
|
623
613
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 3, range: 10 });
|
624
614
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 4, range: 10 });
|
625
|
-
cy.eyesCheckWindow(`${view}: Charts bar: Vertical - Chart reset to default state`);
|
626
615
|
});
|
627
616
|
|
628
617
|
it('CSS of preview tab contents', { tags: 'css' }, () => {
|
@@ -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') {
|
@@ -157,11 +149,10 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
157
149
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 2, value: 6, range: 10 });
|
158
150
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 3, value: 5, range: 10 });
|
159
151
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
160
|
-
cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question incorrectly`);
|
161
152
|
});
|
162
153
|
|
163
154
|
//Partially correct cases
|
164
|
-
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', () => {
|
165
156
|
if (view === 'Grading view') {
|
166
157
|
studentViewPage.steps.clearResponses();
|
167
158
|
}
|
@@ -188,7 +179,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
188
179
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
189
180
|
});
|
190
181
|
|
191
|
-
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', () => {
|
192
183
|
if (view === 'Grading view') {
|
193
184
|
studentViewPage.steps.clearResponses();
|
194
185
|
}
|
@@ -215,7 +206,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
215
206
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
216
207
|
});
|
217
208
|
|
218
|
-
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', () => {
|
219
210
|
if (view === 'Grading view') {
|
220
211
|
studentViewPage.steps.clearResponses();
|
221
212
|
}
|
@@ -242,7 +233,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
242
233
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
243
234
|
});
|
244
235
|
|
245
|
-
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', () => {
|
246
237
|
if (view === 'Grading view') {
|
247
238
|
studentViewPage.steps.clearResponses();
|
248
239
|
}
|
@@ -269,7 +260,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
269
260
|
chartsLinePage.steps.verifyPointInCorrectAnswerSection({ pointIndex: 4, value: 0, range: 10 });
|
270
261
|
});
|
271
262
|
|
272
|
-
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', () => {
|
273
264
|
if (view === 'Grading view') {
|
274
265
|
studentViewPage.steps.clearResponses();
|
275
266
|
}
|
@@ -297,7 +288,7 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
297
288
|
});
|
298
289
|
|
299
290
|
//Fully correct
|
300
|
-
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', () => {
|
301
292
|
if (view === 'Grading view') {
|
302
293
|
studentViewPage.steps.clearResponses();
|
303
294
|
}
|
@@ -319,7 +310,6 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
319
310
|
chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(4, 'correct');
|
320
311
|
chartsLinePage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
321
312
|
chartsLinePage.steps.verifyCorrectAnswerSectionNotExist();
|
322
|
-
cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question correctly`);
|
323
313
|
});
|
324
314
|
});
|
325
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,9 +142,8 @@ 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
|
-
cy.eyesCheckWindow(`${view} - Charts line after editing the point height and labels`);
|
156
147
|
});
|
157
148
|
|
158
149
|
it('CSS of preview tab contents', { tags: 'css' }, () => {
|
@@ -286,11 +277,10 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
|
|
286
277
|
cy.checkAccessibility(chartsLinePage.previewTabGraphTitle().parents('[class*="ChartsPreviewstyles__PreviewWrapper"]'));
|
287
278
|
});
|
288
279
|
|
289
|
-
it(
|
280
|
+
it('When user deletes a point, then that point should be deleted and the add point button should be enabled again', () => {
|
290
281
|
chartsLinePage.steps.deletePointInPreviewTab(3);
|
291
282
|
utilities.verifyElementCount(chartsLinePage.previewTabPoint(), 3);
|
292
283
|
utilities.verifyElementVisibilityState(utilities.getNthElement(chartsLinePage.previewTabPointLabel(), 4), 'notExist');
|
293
|
-
cy.eyesCheckWindow(`${view} - Charts Line: Charts bar after adding and deleting points`);
|
294
284
|
});
|
295
285
|
});
|
296
286
|
});
|
@@ -343,7 +333,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
|
|
343
333
|
});
|
344
334
|
|
345
335
|
//Point labels
|
346
|
-
it(
|
336
|
+
it('When user updates a point label, then the undo and reset button should be displayed in enabled state', () => {
|
347
337
|
chartsLinePage.steps.editPointLabelInPreviewTab(0, 'Edited point 1');
|
348
338
|
utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsUndoButton());
|
349
339
|
utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsResetButton());
|
@@ -571,7 +561,7 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
|
|
571
561
|
chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 3, value: 6, range: 10 });
|
572
562
|
});
|
573
563
|
|
574
|
-
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', () => {
|
575
565
|
chartsLinePage.steps.clickOnResetButtonPreviewTab();
|
576
566
|
chartsLinePage.steps.confirmReset();
|
577
567
|
utilities.verifyElementNotDisabled(chartsLinePage.previewTabToolsAddBarOrPointButton());
|
@@ -589,7 +579,6 @@ describe('Create item page: Charts - Line - Preview contents in all views', () =
|
|
589
579
|
chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 1, value: 2, range: 10 });
|
590
580
|
chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 2, value: 3, range: 10 });
|
591
581
|
chartsLinePage.steps.verifyPointValueInPreviewTab({ pointIndex: 3, value: 4, range: 10 });
|
592
|
-
cy.eyesCheckWindow(`${view} view: Charts line - Chart reset to default state`);
|
593
582
|
});
|
594
583
|
|
595
584
|
it('CSS of preview tab contents', { 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();
|
@@ -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' }, () => {
|