itemengine-cypress-automation 1.0.285-applitools-da9f1a8.0 → 1.0.286-fixesE2E24thJan-7a46dd4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/Gzip/gzip.js +7 -7
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -26
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -4
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +3 -3
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +7 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +10 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +11 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -19
- package/cypress/e2e/ILC/EditItem/editItem.ts +133 -0
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
- package/cypress/e2e/ILC/FeedbackScaleNew/previewContentsForAllViews.smoke.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +214 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +228 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +245 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +237 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -6
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +4 -3
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +239 -0
- package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +6 -14
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +3 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +212 -0
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -19
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +366 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -3
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +16 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -5
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +306 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +243 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +242 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +289 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +284 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +238 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +279 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +641 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +278 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +228 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +234 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +237 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +134 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +138 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +263 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +166 -0
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -23
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -5
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +193 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -2
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -4
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -3
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -16
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -9
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/pages/audioPlayerPage.js +4 -4
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +17 -0
- package/cypress/pages/components/equationEditorFlyout.js +1 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
- package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +5 -1
- package/cypress/pages/components/gridQuestionCommonComponent.js +41 -1
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/createItemPage.js +38 -1
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +45 -3
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +35 -2
- package/cypress/pages/graphingPage.js +3 -0
- package/cypress/pages/listOrderingPage.js +1 -1
- package/cypress/pages/matchingPage.js +34 -7
- package/cypress/pages/multipleSelectionPage.js +17 -2
- package/cypress/pages/numberLineLabelPage.js +3 -3
- package/cypress/pages/readingRulerPage.js +5 -3
- package/cypress/pages/singleSelectionPage.js +5 -2
- package/cypress/pages/studentViewPage.js +4 -4
- package/cypress/pages/textEntryMathPage.js +19 -5
- package/cypress/pages/textSelectionPage.js +1 -1
- package/cypress/support/commands.js +0 -11
- package/cypress/support/e2e.js +0 -1
- package/package.json +1 -4
- package/cypress/e2e/applitools.config.js +0 -14
@@ -11,14 +11,6 @@ describe('Create item page - Multiple selection grid: 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();
|
@@ -101,7 +93,7 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
101
93
|
});
|
102
94
|
};
|
103
95
|
|
104
|
-
it(
|
96
|
+
it('When the user selects \'Grading\' view without attempting the question, correct/incorrect status message should not be displayed, correct answers section with a label \'Correct answers\' should be displayed with a preview of the entire grid with correct answers', () => {
|
105
97
|
if (view === 'Grading view') {
|
106
98
|
studentViewPage.steps.submitResponse();
|
107
99
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -118,7 +110,7 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
118
110
|
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
119
111
|
});
|
120
112
|
|
121
|
-
it(
|
113
|
+
it('When the user attempts the question incorrectly, then the user should be awarded 0 points and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message with text \'Your answer is incorrect\' and correct answer section with a preview of the entire grid with correct answers should be displayed', () => {
|
122
114
|
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }, { row: 2, column: 0 }]);
|
123
115
|
if (view === 'Grading view') {
|
124
116
|
studentViewPage.steps.submitResponse();
|
@@ -136,7 +128,7 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
136
128
|
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
137
129
|
});
|
138
130
|
|
139
|
-
it(
|
131
|
+
it('When the user attempts the question partially correct with incorrect responses, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, incorrect icon should be displayed besides incorrect answer response, a status message with text \'Your answer is incorrect\' and correct answer section with a preview of the entire grid with correct answers should be displayed', () => {
|
140
132
|
if (view === 'Grading view') {
|
141
133
|
studentViewPage.steps.clearResponses();
|
142
134
|
};
|
@@ -159,7 +151,7 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
159
151
|
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
160
152
|
});
|
161
153
|
|
162
|
-
it(
|
154
|
+
it('When the user attempts the question partially correct with incomplete responses, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icon should be displayed besides the correct answer responses, no icons should be displayed besides unattempted responses, a status message with text \'Your answer is incorrect\' and correct answer section with a preview of the entire grid with correct answers should be displayed', () => {
|
163
155
|
if (view === 'Grading view') {
|
164
156
|
studentViewPage.steps.clearResponses();
|
165
157
|
};
|
@@ -182,7 +174,7 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
182
174
|
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
183
175
|
});
|
184
176
|
|
185
|
-
it(
|
177
|
+
it('When user attempts the question correctly, the user should be awarded full points and on switching to \'Grading\' view, then correct icons should be displayed beside all the correct responses, correct icon should be displayed besides the correct answer responses, a status message with text \'Your answer is correct\' and correct answer section should not be displayed', () => {
|
186
178
|
if (view === 'Grading view') {
|
187
179
|
studentViewPage.steps.clearResponses();
|
188
180
|
};
|
@@ -204,7 +196,6 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
204
196
|
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
|
205
197
|
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
206
198
|
multipleSelectionGridPage.steps.verifyCorrectAnswerSectionNotExists();
|
207
|
-
cy.eyesCheckWindow(`Multiple selection grid - ${view} - Attempting the question correctly`);
|
208
199
|
});
|
209
200
|
});
|
210
201
|
});
|
@@ -6,20 +6,11 @@ const css = Cypress.env('css');
|
|
6
6
|
let previewContentViews = ['Question preview', 'Item view', 'Item preview', 'Student view', 'Grading view', 'Correct answer view'];
|
7
7
|
const views = utilities.getViews(previewContentViews);
|
8
8
|
var itemReferenceID = "";
|
9
|
-
|
10
9
|
describe('Create item page - Multiple selection grid: Preview contents', () => {
|
11
10
|
before(() => {
|
12
11
|
cy.loginAs('admin');
|
13
12
|
});
|
14
13
|
|
15
|
-
beforeEach(() => {
|
16
|
-
cy.startApplitools();
|
17
|
-
});
|
18
|
-
|
19
|
-
afterEach(() => {
|
20
|
-
cy.eyesClose();
|
21
|
-
});
|
22
|
-
|
23
14
|
views.forEach((view) => {
|
24
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
25
16
|
abortEarlySetup();
|
@@ -91,7 +82,7 @@ describe('Create item page - Multiple selection grid: Preview contents', () => {
|
|
91
82
|
utilities.verifyElementVisibilityState(multipleSelectionGridPage.questionInstructionsText(), 'visible');
|
92
83
|
});
|
93
84
|
|
94
|
-
it(`
|
85
|
+
it(`The question grid as set by the user should be displayed in the ${view}`, () => {
|
95
86
|
multipleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 0, column: 0 }, 'None');
|
96
87
|
multipleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 0, column: 1 }, 'Heading');
|
97
88
|
multipleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 0, column: 2 }, 'Heading');
|
@@ -102,17 +93,16 @@ describe('Create item page - Multiple selection grid: Preview contents', () => {
|
|
102
93
|
multipleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 3, column: 0 }, 'Text');
|
103
94
|
multipleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 3, column: 1 }, 'No checkbox');
|
104
95
|
multipleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 4, column: 2 }, 'No checkbox');
|
105
|
-
cy.eyesCheckWindow(`Multiple selection grid - ${view} - Question grid displayed`);
|
106
96
|
});
|
107
97
|
|
108
98
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
109
|
-
it(`
|
99
|
+
it(`When the user has added image, equation, bold text to the options, then they should be displayed in the grid in ${view}`, () => {
|
110
100
|
multipleSelectionGridPage.steps.verifyTableCellWithImageInPreviewTab({ row: 1, column: 1 });
|
111
101
|
multipleSelectionGridPage.steps.verifyTableCellWithBoldTextInPreviewTab({ row: 3, column: 1 });
|
112
102
|
multipleSelectionGridPage.steps.verifyTableCellWithEquationTextInPreviewTab({ row: 3, column: 0 });
|
113
103
|
});
|
114
104
|
|
115
|
-
it(`
|
105
|
+
it(`User should be able to select options in the ${view}`, () => {
|
116
106
|
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
117
107
|
});
|
118
108
|
} else if (view === 'Grading view') {
|
@@ -123,7 +113,7 @@ describe('Create item page - Multiple selection grid: Preview contents', () => {
|
|
123
113
|
multipleSelectionGridPage.steps.verifyOptionWithoutCheckboxSelectedState({ row: 4, column: 1 });
|
124
114
|
});
|
125
115
|
|
126
|
-
it('
|
116
|
+
it('The content in the grid should not be editable', () => {
|
127
117
|
multipleSelectionGridPage.steps.verifyOptionDisabledState({ row: 1, column: 1 });
|
128
118
|
});
|
129
119
|
} else {
|
@@ -105,7 +105,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
105
105
|
});
|
106
106
|
};
|
107
107
|
|
108
|
-
it(
|
108
|
+
it('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', () => {
|
109
109
|
if (view === 'Grading view') {
|
110
110
|
studentViewPage.steps.submitResponse();
|
111
111
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -126,7 +126,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
126
126
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
|
127
127
|
});
|
128
128
|
|
129
|
-
it(
|
129
|
+
it('When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph', () => {
|
130
130
|
numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Segment');
|
131
131
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 8);
|
132
132
|
numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [8, 7]);
|
@@ -150,7 +150,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
150
150
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
|
151
151
|
});
|
152
152
|
|
153
|
-
it(
|
153
|
+
it('When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph', () => {
|
154
154
|
if (view === 'Grading view') {
|
155
155
|
studentViewPage.steps.clearResponses();
|
156
156
|
}
|
@@ -175,7 +175,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
175
175
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
|
176
176
|
});
|
177
177
|
|
178
|
-
it(
|
178
|
+
it('When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph', () => {
|
179
179
|
if (view === 'Grading view') {
|
180
180
|
studentViewPage.steps.clearResponses();
|
181
181
|
}
|
@@ -208,7 +208,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
208
208
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
|
209
209
|
});
|
210
210
|
|
211
|
-
it(
|
211
|
+
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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed', () => {
|
212
212
|
if (view === 'Grading view') {
|
213
213
|
studentViewPage.steps.clearResponses();
|
214
214
|
}
|
@@ -17,14 +17,6 @@ describe('Create item page - Number line: Grading view, Correct answer view cont
|
|
17
17
|
cy.loginAs('admin');
|
18
18
|
});
|
19
19
|
|
20
|
-
beforeEach(() => {
|
21
|
-
cy.startApplitools();
|
22
|
-
});
|
23
|
-
|
24
|
-
afterEach(() => {
|
25
|
-
cy.eyesClose();
|
26
|
-
});
|
27
|
-
|
28
20
|
if (views.includes('Grading view')) {
|
29
21
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
30
22
|
abortEarlySetup();
|
@@ -77,14 +69,13 @@ describe('Create item page - Number line: Grading view, Correct answer view cont
|
|
77
69
|
utilities.verifyElementVisibilityState(numberLinePage.correctAnswersLabel(), 'visible');
|
78
70
|
});
|
79
71
|
|
80
|
-
it('
|
72
|
+
it('Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
|
81
73
|
numberLinePage.steps.verifyCorrectPointsOnNumberLinePreviewTab(range, [-4, -5]);
|
82
74
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLinePreviewTab(range, [{ x1: -5, x2: -4 }]);
|
83
75
|
numberLinePage.steps.verifyCorrectPointsOnNumberLineCorrectAnswerSection(range, [2]);
|
84
76
|
numberLinePage.steps.verifyCorrectPointsOnNumberLineCorrectAnswerSection(range, [-4, -5]);
|
85
77
|
numberLinePage.steps.verifyCorrectRayOnNumberLineCorrectAnswerSection('left', range, -7);
|
86
78
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
|
87
|
-
cy.eyesCheckWindow(`Number line Horizontal - Grading view contents`);
|
88
79
|
});
|
89
80
|
|
90
81
|
it('Points and the total score should be displayed', () => {
|
@@ -156,11 +147,10 @@ describe('Create item page - Number line: Grading view, Correct answer view cont
|
|
156
147
|
});
|
157
148
|
});
|
158
149
|
|
159
|
-
it('
|
150
|
+
it('The correct answer set by user should be displayed in the correct answer view', () => {
|
160
151
|
numberLinePage.steps.verifyCorrectPointsOnNumberLinePreviewTab(range, [-4, -5, 2]);
|
161
152
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLinePreviewTab(range, [{ x1: -5, x2: -4 }]);
|
162
153
|
numberLinePage.steps.verifyCorrectRayOnNumberLinePreviewTab('left', range, -7);
|
163
|
-
cy.eyesCheckWindow(`Number line Horizontal - Correct answer view contents`);
|
164
154
|
});
|
165
155
|
|
166
156
|
it('The points alloted to the question should be displayed', () => {
|
@@ -16,14 +16,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
16
16
|
cy.loginAs('admin');
|
17
17
|
});
|
18
18
|
|
19
|
-
beforeEach(() => {
|
20
|
-
cy.startApplitools();
|
21
|
-
});
|
22
|
-
|
23
|
-
afterEach(() => {
|
24
|
-
cy.eyesClose();
|
25
|
-
});
|
26
|
-
|
27
19
|
views.forEach((view) => {
|
28
20
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
29
21
|
abortEarlySetup();
|
@@ -92,11 +84,10 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
92
84
|
numberLinePage.steps.verifyToolOptionNotSelectedPreviewTab(toolOptions.splice(1, toolOptions.length));
|
93
85
|
});
|
94
86
|
|
95
|
-
it(
|
87
|
+
it('By default, all controls should be in disabled state', () => {
|
96
88
|
controlOptions.forEach((controlOption) => {
|
97
89
|
utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab(controlOption));
|
98
90
|
});
|
99
|
-
cy.eyesCheckWindow(`${view} view - Number line Horizontal: Preview contents`);
|
100
91
|
});
|
101
92
|
|
102
93
|
it('Accessibility of preview content', { tags: 'a11y' }, () => {
|
@@ -143,7 +134,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
143
134
|
numberLinePage.steps.verifyRayOnNumberLinePreviewTab('left', range, -8);
|
144
135
|
});
|
145
136
|
|
146
|
-
it(
|
137
|
+
it('User should be able to draw a ray wave using the \'Open right ray\' tool option', () => {
|
147
138
|
numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Open right ray');
|
148
139
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 7);
|
149
140
|
numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [7]);
|
@@ -185,7 +176,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
185
176
|
numberLinePage.steps.verifyRayOnNumberLinePreviewTab('right', range, 7);
|
186
177
|
});
|
187
178
|
|
188
|
-
it(
|
179
|
+
it('When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset', () => {
|
189
180
|
numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Reset');
|
190
181
|
numberLinePage.steps.confirmReset();
|
191
182
|
utilities.verifyElementVisibilityState(numberLinePage.numberLinePointPreviewTab(), 'notExist');
|
@@ -201,7 +192,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
201
192
|
numberLinePage.steps.verifyRayOnNumberLinePreviewTab('left', range, -5);
|
202
193
|
});
|
203
194
|
|
204
|
-
it(
|
195
|
+
it('User should be able to draw a ray using the \'Right ray\' tool option', () => {
|
205
196
|
numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Right ray');
|
206
197
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 6);
|
207
198
|
numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [6]);
|
package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js
CHANGED
@@ -78,6 +78,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
78
78
|
itemPreviewPage.steps.switchToPreviewTab();
|
79
79
|
break;
|
80
80
|
case 'Grading view':
|
81
|
+
cy.wait(5000);
|
81
82
|
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
82
83
|
break;
|
83
84
|
}
|
@@ -107,7 +108,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
107
108
|
});
|
108
109
|
};
|
109
110
|
|
110
|
-
it(
|
111
|
+
it('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and your answer is incorrect status message should be displayed', () => {
|
111
112
|
if (view === 'Grading view') {
|
112
113
|
studentViewPage.steps.submitResponse();
|
113
114
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -125,7 +126,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
125
126
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
|
126
127
|
});
|
127
128
|
|
128
|
-
it(
|
129
|
+
it('When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph', () => {
|
129
130
|
numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Segment');
|
130
131
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("vertical", range, 8);
|
131
132
|
numberLinePage.steps.verifyPointsPlottedOnVerticalNumberLinePreviewTab(range, [8, 7]);
|
@@ -148,7 +149,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
148
149
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
|
149
150
|
});
|
150
151
|
|
151
|
-
it(
|
152
|
+
it('When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph', () => {
|
152
153
|
if (view === 'Grading view') {
|
153
154
|
studentViewPage.steps.clearResponses();
|
154
155
|
}
|
@@ -172,7 +173,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
172
173
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
|
173
174
|
});
|
174
175
|
|
175
|
-
it(
|
176
|
+
it('When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph', () => {
|
176
177
|
if (view === 'Grading view') {
|
177
178
|
studentViewPage.steps.clearResponses();
|
178
179
|
}
|
@@ -204,7 +205,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
204
205
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
|
205
206
|
});
|
206
207
|
|
207
|
-
it(
|
208
|
+
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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed', () => {
|
208
209
|
if (view === 'Grading view') {
|
209
210
|
studentViewPage.steps.clearResponses();
|
210
211
|
}
|
package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js
CHANGED
@@ -17,7 +17,6 @@ describe('Create item page - Number line vertical: Grading view, Correct answer
|
|
17
17
|
cy.loginAs('admin');
|
18
18
|
});
|
19
19
|
|
20
|
-
|
21
20
|
if (views.includes('Grading view')) {
|
22
21
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
23
22
|
abortEarlySetup();
|
@@ -71,7 +70,7 @@ describe('Create item page - Number line vertical: Grading view, Correct answer
|
|
71
70
|
utilities.verifyElementVisibilityState(numberLinePage.correctAnswersLabel(), 'visible');
|
72
71
|
});
|
73
72
|
|
74
|
-
it('
|
73
|
+
it('Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
|
75
74
|
numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLinePreviewTab(range, [-4, -5]);
|
76
75
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLinePreviewTab(range, [{ y1: -5, y2: -4 }]);
|
77
76
|
numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [2]);
|
@@ -150,7 +149,7 @@ describe('Create item page - Number line vertical: Grading view, Correct answer
|
|
150
149
|
});
|
151
150
|
});
|
152
151
|
|
153
|
-
it('
|
152
|
+
it('The correct answer set by user should be displayed in the correct answer view', () => {
|
154
153
|
numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLinePreviewTab(range, [-4, -5, 2]);
|
155
154
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLinePreviewTab(range, [{ y1: -5, y2: -4 }]);
|
156
155
|
numberLinePage.steps.verifyCorrectRayOnVerticalNumberLinePreviewTab('left', range, -7);
|
package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js
CHANGED
@@ -85,7 +85,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
85
85
|
numberLinePage.steps.verifyToolOptionNotSelectedPreviewTab(toolOptions.splice(1, toolOptions.length));
|
86
86
|
});
|
87
87
|
|
88
|
-
it(
|
88
|
+
it('By default, all controls should be in disabled state', () => {
|
89
89
|
controlOptions.forEach((controlOption) => {
|
90
90
|
utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab(controlOption));
|
91
91
|
});
|
@@ -135,7 +135,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
135
135
|
numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('down', range, -8);
|
136
136
|
});
|
137
137
|
|
138
|
-
it(
|
138
|
+
it('User should be able to draw a ray wave using the \'Open right ray\' tool option', () => {
|
139
139
|
numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Open right ray');
|
140
140
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("vertical", range, 8);
|
141
141
|
numberLinePage.steps.verifyPointsPlottedOnVerticalNumberLinePreviewTab(range, [8]);
|
@@ -177,7 +177,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
177
177
|
numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('up', range, 8);
|
178
178
|
});
|
179
179
|
|
180
|
-
it(
|
180
|
+
it('When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset', () => {
|
181
181
|
numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Reset');
|
182
182
|
numberLinePage.steps.confirmReset();
|
183
183
|
utilities.verifyElementVisibilityState(numberLinePage.numberLinePointPreviewTab(), 'notExist');
|
@@ -193,7 +193,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
193
193
|
numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('down', range, -6);
|
194
194
|
});
|
195
195
|
|
196
|
-
it(
|
196
|
+
it('User should be able to draw a ray using the \'Right ray\' tool option', () => {
|
197
197
|
numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Right ray');
|
198
198
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("vertical", range, 6);
|
199
199
|
numberLinePage.steps.verifyPointsPlottedOnVerticalNumberLinePreviewTab(range, [6]);
|
@@ -92,6 +92,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
|
|
92
92
|
itemPreviewPage.steps.resetQuestionPreview();
|
93
93
|
break;
|
94
94
|
case 'Grading view':
|
95
|
+
cy.wait(5000)
|
95
96
|
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID)}`);
|
96
97
|
break;
|
97
98
|
}
|
@@ -105,7 +106,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
|
|
105
106
|
});
|
106
107
|
};
|
107
108
|
|
108
|
-
it(
|
109
|
+
it('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', () => {
|
109
110
|
if (view === 'Grading view') {
|
110
111
|
studentViewPage.steps.submitResponse();
|
111
112
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -123,7 +124,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
|
|
123
124
|
numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
124
125
|
});
|
125
126
|
|
126
|
-
it(
|
127
|
+
it('When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph', () => {
|
127
128
|
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 4', 'horizontal', range, 0);
|
128
129
|
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [0]);
|
129
130
|
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 3', 'horizontal', range, 4);
|
@@ -145,7 +146,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
|
|
145
146
|
numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
146
147
|
});
|
147
148
|
|
148
|
-
it(
|
149
|
+
it('When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph', () => {
|
149
150
|
if (view === 'Grading view') {
|
150
151
|
studentViewPage.steps.clearResponses();
|
151
152
|
}
|
@@ -173,7 +174,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
|
|
173
174
|
numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
174
175
|
});
|
175
176
|
|
176
|
-
it(
|
177
|
+
it('When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph', () => {
|
177
178
|
if (view === 'Grading view') {
|
178
179
|
studentViewPage.steps.clearResponses();
|
179
180
|
}
|
@@ -204,7 +205,7 @@ describe('Create Item page - Number line label: All or nothing ', () => {
|
|
204
205
|
numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
205
206
|
});
|
206
207
|
|
207
|
-
it(
|
208
|
+
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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed', () => {
|
208
209
|
if (view === 'Grading view') {
|
209
210
|
studentViewPage.steps.clearResponses();
|
210
211
|
}
|
@@ -13,14 +13,6 @@ describe('Create item page - Number line label: Grading view, Correct answer vie
|
|
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();
|
@@ -41,6 +33,7 @@ describe('Create item page - Number line label: Grading view, Correct answer vie
|
|
41
33
|
numberLineLabelPage.steps.allotPoints(10);
|
42
34
|
numberLineLabelPage.steps.clickOnSaveQuestionButton();
|
43
35
|
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
36
|
+
cy.wait(5000);
|
44
37
|
//Global variable issue, not working inside before
|
45
38
|
itemPreviewPage.referenceID()
|
46
39
|
.invoke('text')
|
@@ -75,7 +68,6 @@ describe('Create item page - Number line label: Grading view, Correct answer vie
|
|
75
68
|
numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 1', range, 0);
|
76
69
|
numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 2', range, 9);
|
77
70
|
numberLineLabelPage.steps.verifyCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
78
|
-
cy.eyesCheckWindow(`Number line label Horizontal - Grading view contents`);
|
79
71
|
});
|
80
72
|
|
81
73
|
it('The unattempted labels should be displayed in disabled state', () => {
|
@@ -149,7 +141,6 @@ describe('Create item page - Number line label: Grading view, Correct answer vie
|
|
149
141
|
numberLineLabelPage.steps.verifyCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
|
150
142
|
numberLineLabelPage.steps.verifyCorrectResponseOnNumberLinePreviewTab('Label 2', range, 9);
|
151
143
|
numberLineLabelPage.steps.verifyCorrectResponseOnNumberLinePreviewTab('Label 3', range, -9);
|
152
|
-
cy.eyesCheckWindow(`Number line label Horizontal - Correct answer view contents`);
|
153
144
|
});
|
154
145
|
|
155
146
|
it('The points alloted to the question should be displayed', () => {
|
@@ -12,14 +12,6 @@ describe('Create item page: Number line label - Preview contents in all views',
|
|
12
12
|
cy.loginAs('admin');
|
13
13
|
});
|
14
14
|
|
15
|
-
beforeEach(() => {
|
16
|
-
cy.startApplitools();
|
17
|
-
});
|
18
|
-
|
19
|
-
afterEach(() => {
|
20
|
-
cy.eyesClose();
|
21
|
-
});
|
22
|
-
|
23
15
|
views.forEach((view) => {
|
24
16
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
25
17
|
abortEarlySetup();
|
@@ -106,11 +98,10 @@ describe('Create item page: Number line label - Preview contents in all views',
|
|
106
98
|
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [-9]);
|
107
99
|
});
|
108
100
|
|
109
|
-
it(
|
101
|
+
it('The user should be able to change the plotted label on the number line', () => {
|
110
102
|
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('This is a bold option', 'horizontal', range, -8);
|
111
103
|
numberLineLabelPage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [-8]);
|
112
104
|
numberLineLabelPage.steps.verifyPointsNotExistOnNumberLinePreviewTab(range, [-9]);
|
113
|
-
cy.eyesCheckWindow(`${view} view - Number line label Horizontal: Preview contents`);
|
114
105
|
});
|
115
106
|
|
116
107
|
it('CSS of number line label', { tags: 'css' }, () => {
|
@@ -105,7 +105,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
105
105
|
});
|
106
106
|
};
|
107
107
|
|
108
|
-
it(
|
108
|
+
it('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and your answer is incorrect status message should be displayed', () => {
|
109
109
|
if (view === 'Grading view') {
|
110
110
|
studentViewPage.steps.submitResponse();
|
111
111
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -123,7 +123,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
123
123
|
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
124
124
|
});
|
125
125
|
|
126
|
-
it(
|
126
|
+
it('When the user attempts the question incorrectly then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed incorrect and the the correct answers should be displayed in the correct answer section graph', () => {
|
127
127
|
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 4', 'vertical', range, 0);
|
128
128
|
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [0]);
|
129
129
|
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Label 3', 'vertical', range, 4);
|
@@ -145,7 +145,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
145
145
|
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
146
146
|
});
|
147
147
|
|
148
|
-
it(
|
148
|
+
it('When the user attempts the question partially correct then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct and the the correct answers should be displayed in the correct answer section graph', () => {
|
149
149
|
if (view === 'Grading view') {
|
150
150
|
studentViewPage.steps.clearResponses();
|
151
151
|
}
|
@@ -173,7 +173,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
173
173
|
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
174
174
|
});
|
175
175
|
|
176
|
-
it(
|
176
|
+
it('When the user attempts the question partially correct with an incorrect response then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed and the attempted graph should be displayed correct for the correct response and incorrect for the incorrect response and the the correct answers should be displayed in the correct answer section graph', () => {
|
177
177
|
if (view === 'Grading view') {
|
178
178
|
studentViewPage.steps.clearResponses();
|
179
179
|
}
|
@@ -204,7 +204,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
204
204
|
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerSection('Label 3', range, -9);
|
205
205
|
});
|
206
206
|
|
207
|
-
it(
|
207
|
+
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 and the attempted graph should be displayed correct and the correct answer section graph should not be displayed', () => {
|
208
208
|
if (view === 'Grading view') {
|
209
209
|
studentViewPage.steps.clearResponses();
|
210
210
|
}
|
package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js
CHANGED
@@ -61,7 +61,7 @@ describe('Create item page - Number line label - vertical: Grading view, Correct
|
|
61
61
|
utilities.verifyElementVisibilityState(numberLineLabelPage.correctAnswersLabel(), 'visible');
|
62
62
|
});
|
63
63
|
|
64
|
-
it('
|
64
|
+
it('Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
|
65
65
|
numberLineLabelPage.steps.verifyVerticalIncorrectResponseOnNumberLinePreviewTab('Label 3', range, -8);
|
66
66
|
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 2', range, 9);
|
67
67
|
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
|
@@ -138,7 +138,7 @@ describe('Create item page - Number line label - vertical: Grading view, Correct
|
|
138
138
|
utilities.verifyElementVisibilityState(numberLineLabelPage.questionInstructionsText(), 'visible');
|
139
139
|
});
|
140
140
|
|
141
|
-
it('
|
141
|
+
it('The correct answer set by user should be displayed in the correct answer view', () => {
|
142
142
|
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerView('Label 1', 316);
|
143
143
|
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerView('Label 2', 59);
|
144
144
|
numberLineLabelPage.steps.verifyVerticalCorrectResponseOnNumberLineCorrectAnswerView('Label 3', 573);
|
package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js
CHANGED
@@ -90,7 +90,7 @@ describe('Create item page: Number line label - Preview contents in all views',
|
|
90
90
|
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('This is a bold option', 'vertical', range, -9);
|
91
91
|
});
|
92
92
|
|
93
|
-
it(
|
93
|
+
it('The user should be able to change the plotted label on the number line', () => {
|
94
94
|
numberLineLabelPage.steps.clickAndDropLabelOnNumberLinePreviewTab('Solve the following', 'vertical', range, 5);
|
95
95
|
numberLineLabelPage.steps.verifyVerticalPointsPlottedOnNumberLinePreviewTab(range, [5]);
|
96
96
|
});
|
@@ -60,7 +60,7 @@ describe('Preview tab contents for all views', () => {
|
|
60
60
|
}
|
61
61
|
});
|
62
62
|
|
63
|
-
it(
|
63
|
+
it('\'Protractor\' should be displayed with \'Acute\' angle, \'30 percent\' opacity, \'Alternative text\' and in \'Orange\' color', () => {
|
64
64
|
protractorPage.steps.verifyAcuteAngleTypeInPreviewTab();
|
65
65
|
protractorPage.steps.verifyPreviewTabColorAndOpacityOfProtractor(3, 0.3);
|
66
66
|
protractorPage.steps.verifyAlternativeTextInPreviewTab('Measuring tool');
|