itemengine-cypress-automation 1.0.284-RepoUpdate13thJan-c7ac0b4.0 → 1.0.284-applitools-38637bb.0
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 +36 -26
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +14 -4
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +11 -2
- package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +10 -0
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +10 -1
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +17 -8
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +17 -8
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +15 -6
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +17 -8
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +10 -1
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +10 -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 +6 -7
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +9 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +10 -11
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +15 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +12 -2
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +35 -21
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +8 -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/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 +15 -6
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +16 -6
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +9 -1
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +15 -5
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +11 -2
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +15 -5
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +14 -4
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +12 -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/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 +14 -5
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +2 -3
- 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/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 +14 -5
- package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +19 -10
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +11 -2
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +14 -4
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +12 -2
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +10 -0
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +10 -1
- 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 +10 -1
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +14 -6
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +10 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +10 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +23 -14
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +5 -6
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -193
- 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 +13 -4
- 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 +13 -5
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +13 -4
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +16 -6
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +12 -3
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +12 -3
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +11 -1
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +14 -5
- package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +16 -6
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +14 -4
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +12 -3
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +18 -9
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +13 -4
- package/cypress/e2e/applitools.config.js +14 -0
- package/cypress/pages/audioPlayerPage.js +4 -4
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +0 -17
- package/cypress/pages/components/equationEditorFlyout.js +1 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +3 -1
- package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +1 -5
- package/cypress/pages/components/gridQuestionCommonComponent.js +1 -41
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/createItemPage.js +1 -38
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -45
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +2 -35
- package/cypress/pages/listOrderingPage.js +1 -1
- package/cypress/pages/matchingPage.js +7 -34
- package/cypress/pages/multipleSelectionPage.js +2 -17
- package/cypress/pages/numberLineLabelPage.js +3 -3
- package/cypress/pages/readingRulerPage.js +3 -5
- package/cypress/pages/singleSelectionPage.js +2 -5
- package/cypress/pages/textEntryMathPage.js +5 -19
- package/cypress/pages/textSelectionPage.js +1 -1
- package/cypress/support/commands.js +11 -0
- package/cypress/support/e2e.js +1 -0
- package/package.json +4 -1
- package/cypress/e2e/ILC/EditItem/editItem.ts +0 -133
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +0 -214
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +0 -228
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +0 -242
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +0 -245
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +0 -237
- package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +0 -239
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +0 -212
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +0 -366
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +0 -306
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -243
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -242
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -289
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -284
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -238
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -279
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +0 -641
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -278
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -228
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -234
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -237
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -134
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -138
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +0 -263
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -166
@@ -11,6 +11,14 @@ describe('Create item page - Matching - Preview contents in all views', () => {
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
+
beforeEach(() => {
|
15
|
+
cy.startApplitools();
|
16
|
+
});
|
17
|
+
|
18
|
+
afterEach(() => {
|
19
|
+
cy.eyesClose();
|
20
|
+
});
|
21
|
+
|
14
22
|
views.forEach((view) => {
|
15
23
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
16
24
|
abortEarlySetup();
|
@@ -80,18 +88,19 @@ describe('Create item page - Matching - Preview contents in all views', () => {
|
|
80
88
|
utilities.verifyElementVisibilityState(matchingPage.questionInstructionsText(), 'visible');
|
81
89
|
});
|
82
90
|
|
83
|
-
it(
|
91
|
+
it(`Matching dropdown - ${view} - The prompt should have image, equation, bold text displayed`, () => {
|
84
92
|
matchingPage.steps.verifyPromptWithImageInPreviewTab(0);
|
85
93
|
matchingPage.steps.verifyPromptWithBoldTextInPreviewTab(1);
|
86
94
|
matchingPage.steps.verifyPromptWithEquationTextInPreviewTab(2);
|
95
|
+
cy.eyesCheckWindow(`Matching dropdown - ${view} - Prompt with image, equation, bold text`);
|
87
96
|
});
|
88
97
|
|
89
98
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
90
|
-
it(
|
99
|
+
it(`User should be able to attempt the question by selecting option from the dropdowns`, () => {
|
91
100
|
matchingPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: optionsArray[0] }, { dropdownIndex: 1, dropdownOption: optionsArray[1] }, { dropdownIndex: 2, dropdownOption: optionsArray[2] }]);
|
92
101
|
});
|
93
102
|
} else if (view === 'Grading view') {
|
94
|
-
it(
|
103
|
+
it(`The dropdowns should be displayed filled with answers`, () => {
|
95
104
|
utilities.verifyElementCount(matchingPage.dropdownPreviewTab(), 3);
|
96
105
|
matchingPage.steps.verifyTextDisplayedInDropdownPreviewTab(0, 'Fox');
|
97
106
|
matchingPage.steps.verifyTextDisplayedInDropdownPreviewTab(1, 'This is a bold option');
|
@@ -109,7 +118,7 @@ describe('Create item page - Matching - Preview contents in all views', () => {
|
|
109
118
|
matchingPage.steps.verifyDropdownIsDisabled(2);
|
110
119
|
});
|
111
120
|
} else {
|
112
|
-
it(
|
121
|
+
it(`The dropdowns should be displayed filled with answers`, () => {
|
113
122
|
utilities.verifyElementCount(matchingPage.dropdownPreviewTab(), 3);
|
114
123
|
matchingPage.steps.verifyTextDisplayedInDropdownPreviewTab(0, 'Fox');
|
115
124
|
matchingPage.steps.verifyTextDisplayedInDropdownPreviewTab(1, 'This is a bold option');
|
@@ -12,6 +12,14 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
|
|
12
12
|
cy.loginAs('admin');
|
13
13
|
});
|
14
14
|
|
15
|
+
beforeEach(() => {
|
16
|
+
cy.startApplitools();
|
17
|
+
});
|
18
|
+
|
19
|
+
afterEach(() => {
|
20
|
+
cy.eyesClose();
|
21
|
+
});
|
22
|
+
|
15
23
|
if (!grepTags || !grepTags.includes('smoke')) {
|
16
24
|
describe('Question preview modes: Student view and Grading view', () => {
|
17
25
|
abortEarlySetup();
|
@@ -93,7 +101,7 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
|
|
93
101
|
});
|
94
102
|
};
|
95
103
|
|
96
|
-
it(
|
104
|
+
it(`${view}: Multiple selection - When the user selects \'Grading\' view without attempting the question, no icons should be displayed beside unattempted responses and correct answer should be displayed in correct answer section`, () => {
|
97
105
|
if (view === 'Grading view') {
|
98
106
|
studentViewPage.steps.submitResponse();
|
99
107
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -116,7 +124,7 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
|
|
116
124
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
117
125
|
});
|
118
126
|
|
119
|
-
it(
|
127
|
+
it(`${view}: Multiple selection - 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, no icons should be displayed besides unattempted responses options and status message \'Your answer is incorrect\'should be displayed below the question preview and correct answer should be displayed in correct answer section`, () => {
|
120
128
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(2);
|
121
129
|
multipleSelectionPage.steps.checkOptionsCheckboxInPreviewTab(3);
|
122
130
|
if (view === 'Grading view') {
|
@@ -140,7 +148,7 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
|
|
140
148
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
141
149
|
});
|
142
150
|
|
143
|
-
it(
|
151
|
+
it(`${view}: Multiple selection - When the user attempts the question partially correct, then the user should be awarded 0 points and on switching to \'Grading\' view, correct icons should be displayed besides the correct responses, incorrect icons should be displayed beside the incorrect responses and no icon should be displayed besides unattempted options, and status message \'Your answer is incorrect\'should be displayed below the question preview and correct answer should be displayed in correct answer section`, () => {
|
144
152
|
if (view === 'Grading view') {
|
145
153
|
studentViewPage.steps.clearResponses();
|
146
154
|
}
|
@@ -160,14 +168,14 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
|
|
160
168
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(1);
|
161
169
|
multipleSelectionPage.steps.verifyIncorrectOptionIconStudentView(2);
|
162
170
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
171
|
+
//correct answer section
|
172
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(0);
|
173
|
+
multipleSelectionPage.steps.verifyCorrectOptionIconCorrectAnswerSection(1);
|
174
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(2);
|
175
|
+
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleCorrectAnswerSection(3);
|
168
176
|
});
|
169
177
|
|
170
|
-
it(
|
178
|
+
it(`${view}: Multiple selection - 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, and status message \'Your answer is correct\'should be displayed below the question preview and correct answer section should not be displayed`, () => {
|
171
179
|
if (view === 'Grading view') {
|
172
180
|
studentViewPage.steps.clearResponses();
|
173
181
|
}
|
@@ -187,7 +195,8 @@ describe('Create Item page - Multiple selection: All or nothing ', () => {
|
|
187
195
|
multipleSelectionPage.steps.verifyCorrectOptionIconStudentView(1);
|
188
196
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(2);
|
189
197
|
multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleStudentView(3);
|
190
|
-
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist()
|
198
|
+
multipleSelectionPage.steps.verifyCorrectAnswerSectionNotExist();
|
199
|
+
cy.eyesCheckWindow(`Multiple selection ${view} view - Attempting the question correctly`);
|
191
200
|
});
|
192
201
|
});
|
193
202
|
});
|
@@ -12,6 +12,14 @@ describe('Create item page - Multiple selection: Preview contents', () => {
|
|
12
12
|
cy.loginAs('admin');
|
13
13
|
});
|
14
14
|
|
15
|
+
beforeEach(() => {
|
16
|
+
cy.startApplitools();
|
17
|
+
});
|
18
|
+
|
19
|
+
afterEach(() => {
|
20
|
+
cy.eyesClose();
|
21
|
+
});
|
22
|
+
|
15
23
|
views.forEach((view) => {
|
16
24
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
17
25
|
abortEarlySetup();
|
@@ -77,17 +85,18 @@ describe('Create item page - Multiple selection: Preview contents', () => {
|
|
77
85
|
utilities.verifyElementVisibilityState(multipleSelectionPage.questionInstructionsText(), 'visible');
|
78
86
|
});
|
79
87
|
|
80
|
-
it(`When the user has added image, bold text and equation to the options input they should be displayed in the ${view}`, () => {
|
88
|
+
it(`Multiple selection - ${view} - When the user has added image, bold text and equation to the options input they should be displayed in the ${view}`, () => {
|
81
89
|
multipleSelectionPage.steps.verifyImageInPreviewTab(0);
|
82
90
|
multipleSelectionPage.steps.verifyBoldTextInPreviewTab(1);
|
83
91
|
multipleSelectionPage.steps.verifyEquationTextInPreviewTab(2);
|
92
|
+
cy.eyesCheckWindow(`Multiple selection - ${view} - Image, Bold Text, and Equation Display`);
|
84
93
|
});
|
85
94
|
|
86
95
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
87
96
|
it(`All the options should be in unchecked state`, () => {
|
88
97
|
for (let index = 0; index < 4; index++) {
|
89
98
|
multipleSelectionPage.steps.verifyOptionsCheckboxInPreviewTabUncheckedState(index);
|
90
|
-
}
|
99
|
+
}
|
91
100
|
});
|
92
101
|
|
93
102
|
it(`User should able to select options in the ${view}`, () => {
|
@@ -11,6 +11,14 @@ 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
|
+
|
14
22
|
if (!grepTags || !grepTags.includes('smoke')) {
|
15
23
|
describe('Question preview modes: Student view and Grading view', () => {
|
16
24
|
abortEarlySetup();
|
@@ -93,7 +101,7 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
93
101
|
});
|
94
102
|
};
|
95
103
|
|
96
|
-
it(
|
104
|
+
it(`${view}: Multiple selection grid - 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`, () => {
|
97
105
|
if (view === 'Grading view') {
|
98
106
|
studentViewPage.steps.submitResponse();
|
99
107
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -110,7 +118,7 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
110
118
|
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
111
119
|
});
|
112
120
|
|
113
|
-
it(
|
121
|
+
it(`${view}: Multiple selection grid - 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`, () => {
|
114
122
|
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 1 }, { row: 2, column: 0 }]);
|
115
123
|
if (view === 'Grading view') {
|
116
124
|
studentViewPage.steps.submitResponse();
|
@@ -128,7 +136,7 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
128
136
|
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
129
137
|
});
|
130
138
|
|
131
|
-
it(
|
139
|
+
it(`${view}: Multiple selection grid - 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`, () => {
|
132
140
|
if (view === 'Grading view') {
|
133
141
|
studentViewPage.steps.clearResponses();
|
134
142
|
};
|
@@ -151,7 +159,7 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
151
159
|
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
152
160
|
});
|
153
161
|
|
154
|
-
it(
|
162
|
+
it(`${view}: Multiple selection grid - 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`, () => {
|
155
163
|
if (view === 'Grading view') {
|
156
164
|
studentViewPage.steps.clearResponses();
|
157
165
|
};
|
@@ -174,7 +182,7 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
174
182
|
multipleSelectionGridPage.steps.verifyCorrectAnswerResponses([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
175
183
|
});
|
176
184
|
|
177
|
-
it(
|
185
|
+
it(`${view}: Multiple selection grid - 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`, () => {
|
178
186
|
if (view === 'Grading view') {
|
179
187
|
studentViewPage.steps.clearResponses();
|
180
188
|
};
|
@@ -196,6 +204,7 @@ describe('Create item page - Multiple selection grid: All or nothing ', () => {
|
|
196
204
|
multipleSelectionGridPage.steps.verifyCorrectOptionBackgroundAndIcon({ row: 4, column: 1 });
|
197
205
|
multipleSelectionGridPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
198
206
|
multipleSelectionGridPage.steps.verifyCorrectAnswerSectionNotExists();
|
207
|
+
cy.eyesCheckWindow(`Multiple selection grid - ${view} - Attempting the question correctly`);
|
199
208
|
});
|
200
209
|
});
|
201
210
|
});
|
@@ -6,11 +6,20 @@ 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
|
+
|
9
10
|
describe('Create item page - Multiple selection grid: Preview contents', () => {
|
10
11
|
before(() => {
|
11
12
|
cy.loginAs('admin');
|
12
13
|
});
|
13
14
|
|
15
|
+
beforeEach(() => {
|
16
|
+
cy.startApplitools();
|
17
|
+
});
|
18
|
+
|
19
|
+
afterEach(() => {
|
20
|
+
cy.eyesClose();
|
21
|
+
});
|
22
|
+
|
14
23
|
views.forEach((view) => {
|
15
24
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
16
25
|
abortEarlySetup();
|
@@ -82,7 +91,7 @@ describe('Create item page - Multiple selection grid: Preview contents', () => {
|
|
82
91
|
utilities.verifyElementVisibilityState(multipleSelectionGridPage.questionInstructionsText(), 'visible');
|
83
92
|
});
|
84
93
|
|
85
|
-
it(`The question grid as set by the user should be displayed in the ${view}`, () => {
|
94
|
+
it(`Multiple selection grid - The question grid as set by the user should be displayed in the ${view}`, () => {
|
86
95
|
multipleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 0, column: 0 }, 'None');
|
87
96
|
multipleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 0, column: 1 }, 'Heading');
|
88
97
|
multipleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 0, column: 2 }, 'Heading');
|
@@ -93,16 +102,17 @@ describe('Create item page - Multiple selection grid: Preview contents', () => {
|
|
93
102
|
multipleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 3, column: 0 }, 'Text');
|
94
103
|
multipleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 3, column: 1 }, 'No checkbox');
|
95
104
|
multipleSelectionGridPage.steps.verifyTableCellPropertyPreviewTab({ row: 4, column: 2 }, 'No checkbox');
|
105
|
+
cy.eyesCheckWindow(`Multiple selection grid - ${view} - Question grid displayed`);
|
96
106
|
});
|
97
107
|
|
98
108
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
99
|
-
it(`When the user has added image, equation, bold text to the options, then they should be displayed in the grid in ${view}`, () => {
|
109
|
+
it(`Multiple selection grid - When the user has added image, equation, bold text to the options, then they should be displayed in the grid in ${view}`, () => {
|
100
110
|
multipleSelectionGridPage.steps.verifyTableCellWithImageInPreviewTab({ row: 1, column: 1 });
|
101
111
|
multipleSelectionGridPage.steps.verifyTableCellWithBoldTextInPreviewTab({ row: 3, column: 1 });
|
102
112
|
multipleSelectionGridPage.steps.verifyTableCellWithEquationTextInPreviewTab({ row: 3, column: 0 });
|
103
113
|
});
|
104
114
|
|
105
|
-
it(`User should be able to select options in the ${view}`, () => {
|
115
|
+
it(`Multiple selection grid - User should be able to select options in the ${view}`, () => {
|
106
116
|
multipleSelectionGridPage.steps.selectOptionsForAllQuestionStemsInPreviewTab([{ row: 1, column: 0 }, { row: 2, column: 1 }, { row: 3, column: 0 }, { row: 4, column: 1 }]);
|
107
117
|
});
|
108
118
|
} else if (view === 'Grading view') {
|
@@ -113,7 +123,7 @@ describe('Create item page - Multiple selection grid: Preview contents', () => {
|
|
113
123
|
multipleSelectionGridPage.steps.verifyOptionWithoutCheckboxSelectedState({ row: 4, column: 1 });
|
114
124
|
});
|
115
125
|
|
116
|
-
it('The content in the grid should not be editable', () => {
|
126
|
+
it('Multiple selection grid - The content in the grid should not be editable', () => {
|
117
127
|
multipleSelectionGridPage.steps.verifyOptionDisabledState({ row: 1, column: 1 });
|
118
128
|
});
|
119
129
|
} else {
|
@@ -13,6 +13,14 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
13
13
|
cy.loginAs('admin');
|
14
14
|
});
|
15
15
|
|
16
|
+
beforeEach(() => {
|
17
|
+
cy.startApplitools();
|
18
|
+
});
|
19
|
+
|
20
|
+
afterEach(() => {
|
21
|
+
cy.eyesClose();
|
22
|
+
});
|
23
|
+
|
16
24
|
if (!grepTags || !grepTags.includes('smoke')) {
|
17
25
|
describe('Question preview modes: Student view and Grading view', () => {
|
18
26
|
abortEarlySetup();
|
@@ -105,7 +113,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
105
113
|
});
|
106
114
|
};
|
107
115
|
|
108
|
-
it(
|
116
|
+
it(`${view}: Number line Horizontal - 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
117
|
if (view === 'Grading view') {
|
110
118
|
studentViewPage.steps.submitResponse();
|
111
119
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -126,7 +134,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
126
134
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
|
127
135
|
});
|
128
136
|
|
129
|
-
it(
|
137
|
+
it(`${view}: Number line Horizontal - 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
138
|
numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Segment');
|
131
139
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 8);
|
132
140
|
numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [8, 7]);
|
@@ -150,7 +158,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
150
158
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
|
151
159
|
});
|
152
160
|
|
153
|
-
it(
|
161
|
+
it(`${view}: Number line Horizontal - 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
162
|
if (view === 'Grading view') {
|
155
163
|
studentViewPage.steps.clearResponses();
|
156
164
|
}
|
@@ -175,7 +183,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
175
183
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
|
176
184
|
});
|
177
185
|
|
178
|
-
it(
|
186
|
+
it(`${view}: Number line Horizontal - 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
187
|
if (view === 'Grading view') {
|
180
188
|
studentViewPage.steps.clearResponses();
|
181
189
|
}
|
@@ -208,7 +216,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
208
216
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
|
209
217
|
});
|
210
218
|
|
211
|
-
it(
|
219
|
+
it(`${view}: Number line Horizontal - 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
220
|
if (view === 'Grading view') {
|
213
221
|
studentViewPage.steps.clearResponses();
|
214
222
|
}
|
@@ -235,6 +243,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
235
243
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLinePreviewTab(range, [{ x1: -5, x2: -4 }]);
|
236
244
|
numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
237
245
|
numberLinePage.steps.verifyCorrectAnswerSectionNotExist();
|
246
|
+
cy.eyesCheckWindow(`Number line horizontal ${view} - Attempting the question correctly`);
|
238
247
|
});
|
239
248
|
});
|
240
249
|
});
|
@@ -17,6 +17,14 @@ 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
|
+
|
20
28
|
if (views.includes('Grading view')) {
|
21
29
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
22
30
|
abortEarlySetup();
|
@@ -69,13 +77,14 @@ describe('Create item page - Number line: Grading view, Correct answer view cont
|
|
69
77
|
utilities.verifyElementVisibilityState(numberLinePage.correctAnswersLabel(), 'visible');
|
70
78
|
});
|
71
79
|
|
72
|
-
it('Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
|
80
|
+
it('Number line Horizontal - Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
|
73
81
|
numberLinePage.steps.verifyCorrectPointsOnNumberLinePreviewTab(range, [-4, -5]);
|
74
82
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLinePreviewTab(range, [{ x1: -5, x2: -4 }]);
|
75
83
|
numberLinePage.steps.verifyCorrectPointsOnNumberLineCorrectAnswerSection(range, [2]);
|
76
84
|
numberLinePage.steps.verifyCorrectPointsOnNumberLineCorrectAnswerSection(range, [-4, -5]);
|
77
85
|
numberLinePage.steps.verifyCorrectRayOnNumberLineCorrectAnswerSection('left', range, -7);
|
78
86
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLineCorrectAnswerSection(range, [{ x1: -5, x2: -4 }]);
|
87
|
+
cy.eyesCheckWindow(`Number line Horizontal - Grading view contents`);
|
79
88
|
});
|
80
89
|
|
81
90
|
it('Points and the total score should be displayed', () => {
|
@@ -147,10 +156,11 @@ describe('Create item page - Number line: Grading view, Correct answer view cont
|
|
147
156
|
});
|
148
157
|
});
|
149
158
|
|
150
|
-
it('The correct answer set by user should be displayed in the correct answer view', () => {
|
159
|
+
it('Number line Horizontal - The correct answer set by user should be displayed in the correct answer view', () => {
|
151
160
|
numberLinePage.steps.verifyCorrectPointsOnNumberLinePreviewTab(range, [-4, -5, 2]);
|
152
161
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLinePreviewTab(range, [{ x1: -5, x2: -4 }]);
|
153
162
|
numberLinePage.steps.verifyCorrectRayOnNumberLinePreviewTab('left', range, -7);
|
163
|
+
cy.eyesCheckWindow(`Number line Horizontal - Correct answer view contents`);
|
154
164
|
});
|
155
165
|
|
156
166
|
it('The points alloted to the question should be displayed', () => {
|
@@ -16,6 +16,14 @@ 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
|
+
|
19
27
|
views.forEach((view) => {
|
20
28
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
21
29
|
abortEarlySetup();
|
@@ -84,10 +92,11 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
84
92
|
numberLinePage.steps.verifyToolOptionNotSelectedPreviewTab(toolOptions.splice(1, toolOptions.length));
|
85
93
|
});
|
86
94
|
|
87
|
-
it(
|
95
|
+
it(`${view} view - Number line Horizontal: By default, all controls should be in disabled state`, () => {
|
88
96
|
controlOptions.forEach((controlOption) => {
|
89
97
|
utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab(controlOption));
|
90
98
|
});
|
99
|
+
cy.eyesCheckWindow(`${view} view - Number line Horizontal: Preview contents`);
|
91
100
|
});
|
92
101
|
|
93
102
|
it('Accessibility of preview content', { tags: 'a11y' }, () => {
|
@@ -134,7 +143,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
134
143
|
numberLinePage.steps.verifyRayOnNumberLinePreviewTab('left', range, -8);
|
135
144
|
});
|
136
145
|
|
137
|
-
it(
|
146
|
+
it(`${view} view - Number line Horizontal: User should be able to draw a ray wave using the \'Open right ray\' tool option`, () => {
|
138
147
|
numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Open right ray');
|
139
148
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 7);
|
140
149
|
numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [7]);
|
@@ -176,7 +185,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
176
185
|
numberLinePage.steps.verifyRayOnNumberLinePreviewTab('right', range, 7);
|
177
186
|
});
|
178
187
|
|
179
|
-
it(
|
188
|
+
it(`${view} view - Number line Horizontal:When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset`, () => {
|
180
189
|
numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Reset');
|
181
190
|
numberLinePage.steps.confirmReset();
|
182
191
|
utilities.verifyElementVisibilityState(numberLinePage.numberLinePointPreviewTab(), 'notExist');
|
@@ -192,7 +201,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
192
201
|
numberLinePage.steps.verifyRayOnNumberLinePreviewTab('left', range, -5);
|
193
202
|
});
|
194
203
|
|
195
|
-
it(
|
204
|
+
it(`${view} view - Number line Horizontal: User should be able to draw a ray using the \'Right ray\' tool option`, () => {
|
196
205
|
numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Right ray');
|
197
206
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 6);
|
198
207
|
numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [6]);
|
package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js
CHANGED
@@ -13,6 +13,14 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
13
13
|
cy.loginAs('admin');
|
14
14
|
});
|
15
15
|
|
16
|
+
beforeEach(() => {
|
17
|
+
cy.startApplitools();
|
18
|
+
});
|
19
|
+
|
20
|
+
afterEach(() => {
|
21
|
+
cy.eyesClose();
|
22
|
+
});
|
23
|
+
|
16
24
|
if (!grepTags || !grepTags.includes('smoke')) {
|
17
25
|
describe('Question preview modes: Student view and Grading view', () => {
|
18
26
|
abortEarlySetup();
|
@@ -107,7 +115,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
107
115
|
});
|
108
116
|
};
|
109
117
|
|
110
|
-
it(
|
118
|
+
it(`${view}: Number line Vertical - 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
119
|
if (view === 'Grading view') {
|
112
120
|
studentViewPage.steps.submitResponse();
|
113
121
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -125,7 +133,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
125
133
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
|
126
134
|
});
|
127
135
|
|
128
|
-
it(
|
136
|
+
it(`${view}: Number line Vertical - 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
137
|
numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Segment');
|
130
138
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("vertical", range, 8);
|
131
139
|
numberLinePage.steps.verifyPointsPlottedOnVerticalNumberLinePreviewTab(range, [8, 7]);
|
@@ -148,7 +156,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
148
156
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
|
149
157
|
});
|
150
158
|
|
151
|
-
it(
|
159
|
+
it(`${view}: Number line Vertical - 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
160
|
if (view === 'Grading view') {
|
153
161
|
studentViewPage.steps.clearResponses();
|
154
162
|
}
|
@@ -172,7 +180,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
172
180
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
|
173
181
|
});
|
174
182
|
|
175
|
-
it(
|
183
|
+
it(`${view}: Number line Vertical - 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
184
|
if (view === 'Grading view') {
|
177
185
|
studentViewPage.steps.clearResponses();
|
178
186
|
}
|
@@ -204,7 +212,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
204
212
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
|
205
213
|
});
|
206
214
|
|
207
|
-
it(
|
215
|
+
it(`${view}: Number line Vertical - 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
216
|
if (view === 'Grading view') {
|
209
217
|
studentViewPage.steps.clearResponses();
|
210
218
|
}
|
@@ -230,6 +238,7 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
230
238
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLinePreviewTab(range, [{ y1: -5, y2: -4 }]);
|
231
239
|
numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
232
240
|
numberLinePage.steps.verifyCorrectAnswerSectionNotExist();
|
241
|
+
cy.eyesCheckWindow(`Number line vertical ${view} - Attempting the question correctly`);
|
233
242
|
});
|
234
243
|
});
|
235
244
|
});
|
package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js
CHANGED
@@ -17,6 +17,14 @@ describe('Create item page - Number line vertical: Grading view, Correct answer
|
|
17
17
|
cy.loginAs('admin');
|
18
18
|
});
|
19
19
|
|
20
|
+
beforeEach(() => {
|
21
|
+
cy.startApplitools();
|
22
|
+
});
|
23
|
+
|
24
|
+
afterEach(() => {
|
25
|
+
cy.eyesClose();
|
26
|
+
});
|
27
|
+
|
20
28
|
if (views.includes('Grading view')) {
|
21
29
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
22
30
|
abortEarlySetup();
|
@@ -70,13 +78,14 @@ describe('Create item page - Number line vertical: Grading view, Correct answer
|
|
70
78
|
utilities.verifyElementVisibilityState(numberLinePage.correctAnswersLabel(), 'visible');
|
71
79
|
});
|
72
80
|
|
73
|
-
it('Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
|
81
|
+
it('Number line Vertical - Correct answer along with number line attempted by the user should be displayed in the correct answer section', () => {
|
74
82
|
numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLinePreviewTab(range, [-4, -5]);
|
75
83
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLinePreviewTab(range, [{ y1: -5, y2: -4 }]);
|
76
84
|
numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [2]);
|
77
85
|
numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [-4, -5]);
|
78
86
|
numberLinePage.steps.verifyCorrectRayOnVerticalNumberLineCorrectAnswerSection('left', range, -7);
|
79
87
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
|
88
|
+
cy.eyesCheckWindow(`Number line Vertical - Grading view contents`);
|
80
89
|
});
|
81
90
|
|
82
91
|
it('Points and the total score should be displayed', () => {
|
@@ -149,10 +158,11 @@ describe('Create item page - Number line vertical: Grading view, Correct answer
|
|
149
158
|
});
|
150
159
|
});
|
151
160
|
|
152
|
-
it('The correct answer set by user should be displayed in the correct answer view', () => {
|
161
|
+
it('Number line Vertical - The correct answer set by user should be displayed in the correct answer view', () => {
|
153
162
|
numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLinePreviewTab(range, [-4, -5, 2]);
|
154
163
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLinePreviewTab(range, [{ y1: -5, y2: -4 }]);
|
155
164
|
numberLinePage.steps.verifyCorrectRayOnVerticalNumberLinePreviewTab('left', range, -7);
|
165
|
+
cy.eyesCheckWindow(`Number line Vertical - Correct answer view contents`);
|
156
166
|
});
|
157
167
|
|
158
168
|
it('The points alloted to the question should be displayed', () => {
|
package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js
CHANGED
@@ -16,6 +16,14 @@ 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
|
+
|
19
27
|
views.forEach((view) => {
|
20
28
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
21
29
|
abortEarlySetup();
|
@@ -85,10 +93,11 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
85
93
|
numberLinePage.steps.verifyToolOptionNotSelectedPreviewTab(toolOptions.splice(1, toolOptions.length));
|
86
94
|
});
|
87
95
|
|
88
|
-
it(
|
96
|
+
it(`${view} view - Number line Vertical: By default, all controls should be in disabled state`, () => {
|
89
97
|
controlOptions.forEach((controlOption) => {
|
90
98
|
utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab(controlOption));
|
91
99
|
});
|
100
|
+
cy.eyesCheckWindow(`${view} view - Number line Vertical: Preview contents`);
|
92
101
|
});
|
93
102
|
|
94
103
|
it('Accessibility of preview content', { tags: 'a11y' }, () => {
|
@@ -135,7 +144,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
135
144
|
numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('down', range, -8);
|
136
145
|
});
|
137
146
|
|
138
|
-
it(
|
147
|
+
it(`${view} view - Number line Vertical: User should be able to draw a ray wave using the \'Open right ray\' tool option`, () => {
|
139
148
|
numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Open right ray');
|
140
149
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("vertical", range, 8);
|
141
150
|
numberLinePage.steps.verifyPointsPlottedOnVerticalNumberLinePreviewTab(range, [8]);
|
@@ -177,7 +186,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
177
186
|
numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('up', range, 8);
|
178
187
|
});
|
179
188
|
|
180
|
-
it(
|
189
|
+
it(`${view} view - Number line Vertical: When the user clicks on the \'Reset\' control option then all the actions on the preview tab should be reset`, () => {
|
181
190
|
numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Reset');
|
182
191
|
numberLinePage.steps.confirmReset();
|
183
192
|
utilities.verifyElementVisibilityState(numberLinePage.numberLinePointPreviewTab(), 'notExist');
|
@@ -193,7 +202,7 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
193
202
|
numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('down', range, -6);
|
194
203
|
});
|
195
204
|
|
196
|
-
it(
|
205
|
+
it(`${view} view - Number line Vertical: User should be able to draw a ray using the \'Right ray\' tool option`, () => {
|
197
206
|
numberLinePage.steps.selectNumberLineToolOptionPreviewTab('Right ray');
|
198
207
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("vertical", range, 6);
|
199
208
|
numberLinePage.steps.verifyPointsPlottedOnVerticalNumberLinePreviewTab(range, [6]);
|