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
@@ -10,6 +10,14 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
10
10
|
cy.loginAs('admin');
|
11
11
|
});
|
12
12
|
|
13
|
+
beforeEach(() => {
|
14
|
+
cy.startApplitools();
|
15
|
+
});
|
16
|
+
|
17
|
+
afterEach(() => {
|
18
|
+
cy.eyesClose();
|
19
|
+
});
|
20
|
+
|
13
21
|
describe('Preview of bar audio recorder style', { tags: 'smoke' }, () => {
|
14
22
|
abortEarlySetup();
|
15
23
|
before(() => {
|
@@ -19,7 +27,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
19
27
|
audioResponsePage.steps.switchToPreviewTab();
|
20
28
|
});
|
21
29
|
|
22
|
-
it(
|
30
|
+
it(`Audio response - By default: Mic icon, \'Allow microphone access\' help text should be displayed in \'bar audio recorder\'. Maximum recording length should be displayed in minutes(mm:ss) format.`, () => {
|
23
31
|
utilities.verifyInnerText(audioResponsePage.barPreviewStartRecordingButton(), 'REC');
|
24
32
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewStartRecordingButton(), 'visible');
|
25
33
|
utilities.verifyElementVisibilityState(audioResponsePage.microphoneIcon(), 'visible');
|
@@ -52,7 +60,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
52
60
|
});
|
53
61
|
});
|
54
62
|
|
55
|
-
it(
|
63
|
+
it(`Audio response - When the user clicks on the \'Start recording\' button, a countdown should begin and help text "Preparing to record" should be displayed. The recording should start after the countdown, a beep sound should play and the help text should change to "Recording...". User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs / min:sec)\'. Pause recording and Stop recording buttons should be displayed in record player. Start recording button should not be displayed.`, () => {
|
56
64
|
audioResponsePage.steps.startRecordingBarPreview();
|
57
65
|
utilities.verifyInnerText(audioResponsePage.recordingStatusText(), 'Preparing to record 3');
|
58
66
|
utilities.verifyElementVisibilityState(audioResponsePage.recordingStatusIcon(), 'visible');
|
@@ -170,13 +178,13 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
170
178
|
cy.checkAccessibility(audioResponsePage.previewTabQuestionWrapper());
|
171
179
|
});
|
172
180
|
|
173
|
-
it(
|
181
|
+
it(`Audio response -When the recorder is in paused state and the user clicks on the \'Resume recording\' button, recording should get resumed. The help text should update to "Recording...". Progress bar should display the elapsed time and the remaining time until recording is in progress. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs / min:sec)\'. Pause recording and stop recording icon should be displayed. Start recording button should not be displayed`, () => {
|
174
182
|
audioResponsePage.steps.resumeRecordingBarPreview();
|
175
183
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewStartRecordingButton(), 'notExist');
|
176
184
|
utilities.verifyInnerText(audioResponsePage.recordingStatusText(), 'Recording...');
|
177
185
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewPauseRecordingButton(), 'visible');
|
178
186
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewStopRecordingButton(), 'visible');
|
179
|
-
audioResponsePage.steps.verifyRecordingLengthAfterResumingBarPreview();
|
187
|
+
audioResponsePage.steps.verifyRecordingLengthAfterResumingBarPreview();
|
180
188
|
});
|
181
189
|
|
182
190
|
it('When the user hovers on \'Stop recording\' button, \'Stop recording\' text should be displayed in tooltip', () => {
|
@@ -213,7 +221,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
213
221
|
cy.checkAccessibility(audioResponsePage.previewTabQuestionWrapper());
|
214
222
|
});
|
215
223
|
|
216
|
-
it(
|
224
|
+
it(`Audio response -When the user stops paused recording, recording should stop, recorded audio response should be saved. Progress bar and start recording button should be displayed on bar player. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs)\'. Play button should be displayed. Stop recording button should not be displayed`, () => {
|
217
225
|
audioResponsePage.steps.resetQuestionPreview();
|
218
226
|
audioResponsePage.steps.startRecordingBarPreview();
|
219
227
|
audioResponsePage.steps.waitForRecordingToStartBarPreview();
|
@@ -226,7 +234,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
226
234
|
audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:00', '00:04');
|
227
235
|
});
|
228
236
|
|
229
|
-
it(
|
237
|
+
it(`Audio response -When recording is inprogress and user has reached maximum recorder length, Retake and Play icon should be displayed along with progress bar. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs)\'.`, () => {
|
230
238
|
audioResponsePage.steps.switchToEditTab();
|
231
239
|
audioResponsePage.steps.setMaximumRecorderLength(10);
|
232
240
|
audioResponsePage.steps.switchToPreviewTab();
|
@@ -239,6 +247,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
239
247
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewPlaybackTime(), 'visible');
|
240
248
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
241
249
|
audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:00', '00:10');
|
250
|
+
cy.eyesCheckWindow(`Audio response - Verify Retake, Play icons, progress bar, and recorded duration '(min:secs)' when recording reaches max length`);
|
242
251
|
});
|
243
252
|
});
|
244
253
|
|
@@ -252,7 +261,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
252
261
|
audioResponsePage.steps.recordAndSaveAudioBarPreview(5000);
|
253
262
|
});
|
254
263
|
|
255
|
-
it(
|
264
|
+
it(`Audio response -A playback player with audio wave form, Volume meter, Retake recording and Play buttons, Volume control and playback speed buttons, Progress bar and time in (mm:ss / mm:ss) format should be displayed`, () => {
|
256
265
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewRetakeButton(), 'visible');
|
257
266
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'visible');
|
258
267
|
utilities.verifyElementVisibilityState(audioResponsePage.volumeControlButton(), 'visible');
|
@@ -260,6 +269,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
260
269
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
261
270
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewPlaybackTime(), 'visible');
|
262
271
|
audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:00', '00:05');
|
272
|
+
cy.eyesCheckWindow(`Audio response - Audio wave form, Volume meter, Retake recording and Play buttons, Volume control and playback speed buttons, Progress bar and time`);
|
263
273
|
});
|
264
274
|
|
265
275
|
it('The progress bar should have a slider so that user can click/drag to seek the audio.', () => {
|
@@ -317,23 +327,23 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
317
327
|
audioResponsePage.steps.switchToPreviewTab();
|
318
328
|
audioResponsePage.steps.recordAndSaveAudioBarPreview(10000);
|
319
329
|
});
|
320
|
-
|
330
|
+
|
321
331
|
it('When the user hovers over the \'Play\' button, a tooltip \'Play\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
|
322
332
|
audioResponsePage.playbackPlayButton()
|
323
333
|
.verifyTooltip('Play');
|
324
334
|
});
|
325
|
-
|
335
|
+
|
326
336
|
it('When the user clicks on \'Play\' button, then the audio should start playing. Timer should display the amount of audio that has been played and the total audio length in (mm:ss)/(mm:ss) format.', () => {
|
327
337
|
audioResponsePage.steps.startPlayback();
|
328
338
|
audioResponsePage.steps.waitForPlaybackToBeginBarPreview();
|
329
339
|
audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:03', '00:10');
|
330
340
|
});
|
331
|
-
|
341
|
+
|
332
342
|
it('When the user hovers over the \'Pause\' button, a tooltip \'Pause\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
|
333
343
|
audioResponsePage.playbackPauseButton()
|
334
344
|
.verifyTooltip('Pause');
|
335
345
|
});
|
336
|
-
|
346
|
+
|
337
347
|
it('CSS of \'Preview\' section if playback is initiated', { tags: 'css' }, () => {
|
338
348
|
utilities.verifyCSS(audioResponsePage.barPreviewPlaybackTime(), {
|
339
349
|
'color': css.color.liText,
|
@@ -347,11 +357,11 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
347
357
|
'stroke': css.color.secondaryBtnActive
|
348
358
|
});
|
349
359
|
});
|
350
|
-
|
360
|
+
|
351
361
|
it('Accessibility of \'Preview\' section if playback is initiated', { tags: 'a11y' }, () => {
|
352
362
|
cy.checkAccessibility(audioResponsePage.barPreviewPlaybackWrapper());
|
353
363
|
});
|
354
|
-
|
364
|
+
|
355
365
|
it('When the audio player is in playback state and the user clicks on \'Pause\' button, then playback should get paused. Progress bar and timer should not update further and the \'Pause\' button should get replaced with \'Play\' button', () => {
|
356
366
|
audioResponsePage.steps.resetQuestionPreview();
|
357
367
|
audioResponsePage.steps.recordAndSaveAudioBarPreview(10000);
|
@@ -363,7 +373,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
363
373
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'visible');
|
364
374
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPauseButton(), 'notExist');
|
365
375
|
});
|
366
|
-
|
376
|
+
|
367
377
|
it('CSS of \'Preview\' section if playback is paused', { tags: 'css' }, () => {
|
368
378
|
utilities.verifyCSS(audioResponsePage.playbackPlayButton().find('svg rect'), {
|
369
379
|
'fill': css.color.secondaryBtnBg
|
@@ -372,36 +382,36 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
372
382
|
'stroke': css.color.secondaryBtnActive
|
373
383
|
});
|
374
384
|
});
|
375
|
-
|
385
|
+
|
376
386
|
it('Accessibility of \'Preview\' section if if playback is paused', { tags: 'a11y' }, () => {
|
377
387
|
cy.checkAccessibility(audioResponsePage.barPreviewPlaybackWrapper());
|
378
388
|
});
|
379
|
-
|
389
|
+
|
380
390
|
it('When audio player is in paused state and user clicks on \'Play\' button, then playback should get resumed and \'Play\' button should get replaced with \'Pause\' button.', () => {
|
381
391
|
audioResponsePage.steps.startPlayback();
|
382
392
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPauseButton(), 'visible');
|
383
393
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'notExist');
|
384
394
|
});
|
385
|
-
|
395
|
+
|
386
396
|
it('When the user seeks the progress bar slider while the audio is playing, then the audio should continue to play from the position where the slider is seeked', () => {
|
387
397
|
audioResponsePage.steps.seekProgressBarSliderToCenter();
|
388
398
|
audioResponsePage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
|
389
399
|
});
|
390
|
-
|
400
|
+
|
391
401
|
it('When the user seeks the progress bar slider while the audio is paused, then the audio playback should be in paused state and on playing the audio, then the audio should play from the position where the slider is seeked', () => {
|
392
402
|
audioResponsePage.steps.pausePlayback();
|
393
403
|
audioResponsePage.steps.seekProgressBarSliderToCenter();
|
394
404
|
audioResponsePage.steps.startPlayback();
|
395
405
|
audioResponsePage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
|
396
406
|
});
|
397
|
-
|
407
|
+
|
398
408
|
it('When the audio playback is completed, the \'Pause\' button should get replaced with \'Play\' button', () => {
|
399
409
|
audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:10', '00:10');
|
400
410
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'visible');
|
401
411
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPauseButton(), 'notExist');
|
402
412
|
audioResponsePage.steps.verifyProgressBarSliderPosition(99);
|
403
413
|
});
|
404
|
-
|
414
|
+
|
405
415
|
it('CSS of progress bar in hover state', { tags: 'css' }, () => {
|
406
416
|
audioResponsePage.steps.hoverOnProgressBarSlider();
|
407
417
|
utilities.verifyCSS(audioResponsePage.progressBarSlider().parents('span[class*="MuiSlider-thumb"]'), {
|
@@ -409,7 +419,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
409
419
|
});
|
410
420
|
});
|
411
421
|
});
|
412
|
-
|
422
|
+
|
413
423
|
describe('Playback player : Volume control', () => {
|
414
424
|
abortEarlySetup();
|
415
425
|
before(() => {
|
@@ -419,10 +429,10 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
419
429
|
audioResponsePage.steps.switchToPreviewTab();
|
420
430
|
audioResponsePage.steps.recordAndSaveAudioBarPreview(10000);
|
421
431
|
});
|
422
|
-
|
432
|
+
|
423
433
|
audioResponsePage.tests.verifyVolumeControlFunctionality();
|
424
434
|
});
|
425
|
-
|
435
|
+
|
426
436
|
describe('Playback player : Playback speed', () => {
|
427
437
|
const playbackSpeedOptions = ['1', '1.25', '1.5', '2'];
|
428
438
|
abortEarlySetup();
|
@@ -433,9 +443,9 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
433
443
|
audioResponsePage.steps.switchToPreviewTab();
|
434
444
|
audioResponsePage.steps.recordAndSaveAudioBarPreview(10000);
|
435
445
|
});
|
436
|
-
|
446
|
+
|
437
447
|
audioResponsePage.tests.verifyPlaybackSpeedContents(playbackSpeedOptions);
|
438
|
-
|
448
|
+
|
439
449
|
for (let index = 0; index < playbackSpeedOptions.length; index++) {
|
440
450
|
it(`When the user selects playback speed option ${playbackSpeedOptions[index]}x, the audio playback speed should be changed accordingly`, () => {
|
441
451
|
audioResponsePage.steps.resetQuestionPreview();
|
@@ -450,7 +460,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
450
460
|
});
|
451
461
|
};
|
452
462
|
});
|
453
|
-
|
463
|
+
|
454
464
|
describe('Playback player : Retake my audio response', () => {
|
455
465
|
abortEarlySetup();
|
456
466
|
before(() => {
|
@@ -10,6 +10,14 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
10
10
|
cy.loginAs('admin');
|
11
11
|
});
|
12
12
|
|
13
|
+
beforeEach(() => {
|
14
|
+
cy.startApplitools();
|
15
|
+
});
|
16
|
+
|
17
|
+
afterEach(() => {
|
18
|
+
cy.eyesClose();
|
19
|
+
});
|
20
|
+
|
13
21
|
describe('Preview of Compact audio recorder style', { tags: 'smoke' }, () => {
|
14
22
|
abortEarlySetup();
|
15
23
|
before(() => {
|
@@ -19,7 +27,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
19
27
|
audioResponsePage.steps.switchToPreviewTab();
|
20
28
|
});
|
21
29
|
|
22
|
-
it(
|
30
|
+
it(`Audio response - If user selects \'Compact\' option from \'Audio recorder style\' toggle buttons, then \'Record\' button and \'Click the button to start recording...\' help text should be displayed in the preview tab`, () => {
|
23
31
|
utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewRecordButton(), 'visible');
|
24
32
|
utilities.verifyInnerText(audioResponsePage.compactPreviewRecordButton(), 'Record');
|
25
33
|
utilities.verifyInnerText(audioResponsePage.compactPreviewRecordingHelpText(), 'Click the button to start recording...');
|
@@ -140,7 +148,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
140
148
|
cy.checkAccessibility(audioResponsePage.previewTabQuestionWrapper());
|
141
149
|
});
|
142
150
|
|
143
|
-
it(
|
151
|
+
it(`Audio response - When the recorder is in paused state and the user clicks on the \'Resume recording\' button the recording should get resumed from where it was paused. Resume recording button should update to Pause button and the help text should update to "Recording...". The volume meter should also detect the sound levels during recording. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs / min:sec)\'. Stop button should be displayed in preview tab.`, () => {
|
144
152
|
audioResponsePage.steps.resumeRecordingCompactPreview();
|
145
153
|
utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewResumeRecordingButton(), 'notExist');
|
146
154
|
utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewPauseRecordingButton(), 'visible');
|
@@ -185,7 +193,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
185
193
|
cy.checkAccessibility(audioResponsePage.previewTabQuestionWrapper());
|
186
194
|
});
|
187
195
|
|
188
|
-
it(
|
196
|
+
it(`Audio response - When recording is paused and the user clicks on \'Stop\' button, recording should stop and \'Your response has been recorded\' help text message should be displayed in preview. Stop button should get replaced with Playback button and Playback button should be enabled. Overlay should not be displayed in player`, () => {
|
189
197
|
cy.log('Pre-step: Resetting question preview and start recording again')
|
190
198
|
audioResponsePage.steps.resetQuestionPreview();
|
191
199
|
audioResponsePage.steps.startRecordingCompactPreview();
|
@@ -215,7 +223,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
215
223
|
utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewPlaybackPlayButton(), 'visible');
|
216
224
|
});
|
217
225
|
|
218
|
-
it(
|
226
|
+
it(`Audio response - When the user updates maximum recorder length the recording should stop at the updated recorder length`, () => {
|
219
227
|
cy.log('Pre-step : Switching to edit tab, updating maximum recorder length and switching back to preview tab to reset the recording');
|
220
228
|
audioResponsePage.steps.switchToEditTab();
|
221
229
|
audioResponsePage.steps.setMaximumRecorderLength(5);
|
@@ -227,6 +235,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
227
235
|
audioResponsePage.steps.verifyPlaybackTimeCompactPreview('00:00', '00:05')
|
228
236
|
cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
|
229
237
|
audioResponsePage.steps.switchToEditTab();
|
238
|
+
cy.eyesCheckWindow(`Audio response - Verify recording stops at the updated maximum recorder length.`);
|
230
239
|
});
|
231
240
|
});
|
232
241
|
|
@@ -249,6 +258,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
249
258
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
250
259
|
utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewPlaybackTime(), 'visible');
|
251
260
|
audioResponsePage.steps.verifyPlaybackTimeCompactPreview('00:00', '00:05');
|
261
|
+
cy.eyesCheckWindow(`Audio response - Audio wave form, Volume meter, Retake recording and Play buttons, Volume control and playback speed buttons, Progress bar and time in (mm:ss / mm:ss) format`);
|
252
262
|
});
|
253
263
|
|
254
264
|
it('The progress bar should have a slider so that user can click/drag to seek the audio. When the user hovers on the waveform, a black cursor should be display on the waveform', () => {
|
@@ -11,6 +11,14 @@ describe('Create item page - audio response: Grading view, Correct answer view c
|
|
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 (views.includes('Grading view')) {
|
15
23
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
16
24
|
let actualAudioSeekedInPercent = 50
|
@@ -74,8 +82,9 @@ describe('Create item page - audio response: Grading view, Correct answer view c
|
|
74
82
|
audioResponsePage.steps.verifyProgressBarSliderPosition(99);
|
75
83
|
});
|
76
84
|
|
77
|
-
it('A download button should be displayed in the playback player', () => {
|
85
|
+
it('Audio response - A download button should be displayed in the playback player', () => {
|
78
86
|
utilities.verifyElementVisibilityState(audioResponsePage.downloadAudioButton(), 'visible');
|
87
|
+
cy.eyesCheckWindow(`Audio response: Grading view - Verify download button is displayed in the playback player.`);
|
79
88
|
});
|
80
89
|
|
81
90
|
it('Empty score input field and total score should be displayed', () => {
|
@@ -125,8 +134,9 @@ describe('Create item page - audio response: Grading view, Correct answer view c
|
|
125
134
|
|
126
135
|
correctAnswerViewPage.tests.verifyManualScoredQuestionHelpTextCorrectAnswerPage();
|
127
136
|
|
128
|
-
it('The points alloted to the question should be displayed', () => {
|
137
|
+
it('Audio response: The points alloted to the question should be displayed', () => {
|
129
138
|
correctAnswerViewPage.steps.verifyAvailablePoints(10);
|
139
|
+
cy.eyesCheckWindow('Audio response: Correct answer view contents');
|
130
140
|
});
|
131
141
|
});
|
132
142
|
}
|
@@ -11,6 +11,14 @@ describe('Create item page - Audio response: Preview contents', () => {
|
|
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();
|
@@ -49,7 +57,7 @@ describe('Create item page - Audio response: Preview contents', () => {
|
|
49
57
|
utilities.verifyElementVisibilityState(audioResponsePage.questionInstructionsText(), 'visible');
|
50
58
|
});
|
51
59
|
|
52
|
-
it(
|
60
|
+
it(`${view} - Audio response - When the user switches to preview tab, \'Click the button to start recording...\' help text message, rec button, mic icon, \'Allow microphone access\' help text should be displayed in \'Standard audio recorder\'. Maximum recording length should be displayed in minutes(mm:ss) format.`, () => {
|
53
61
|
utilities.verifyInnerText(audioResponsePage.standardPreviewRecorderHelpText(), 'Click the button to start recording...');
|
54
62
|
utilities.verifyElementVisibilityState(audioResponsePage.standardPreviewRecorderHelpText(), 'visible');
|
55
63
|
utilities.verifyInnerText(audioResponsePage.standardPreviewStartRecordingButton(), 'REC');
|
@@ -106,7 +114,7 @@ describe('Create item page - Audio response: Preview contents', () => {
|
|
106
114
|
utilities.verifyElementVisibilityState(audioResponsePage.previewVolumeMeter(), 'visible');
|
107
115
|
});
|
108
116
|
|
109
|
-
it(
|
117
|
+
it(`${view} - Audio response - When the user clicks on the stop recording button, the recording should stop and the recording should get saved`, () => {
|
110
118
|
audioResponsePage.steps.stopRecordingStandardPreview();
|
111
119
|
utilities.verifyInnerText(audioResponsePage.savingStatusText(), 'Saving');
|
112
120
|
utilities.verifyElementVisibilityState(audioResponsePage.savingStatusText(), 'visible');
|
@@ -116,6 +124,7 @@ describe('Create item page - Audio response: Preview contents', () => {
|
|
116
124
|
utilities.verifyElementVisibilityState(audioResponsePage.previewVolumeMeter(), 'visible');
|
117
125
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
118
126
|
audioResponsePage.steps.verifyResponseIsRecordedHelpText();
|
127
|
+
cy.eyesCheckWindow(`${view} - Audio response - Verify recording stops and is saved when the Stop recording button is clicked`);
|
119
128
|
});
|
120
129
|
});
|
121
130
|
});
|
package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js
CHANGED
@@ -10,6 +10,14 @@ describe('Create item page - Brainingcamp manipulative: Grading view, Correct an
|
|
10
10
|
before(() => {
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
|
+
|
14
|
+
beforeEach(() => {
|
15
|
+
cy.startApplitools();
|
16
|
+
});
|
17
|
+
|
18
|
+
afterEach(() => {
|
19
|
+
cy.eyesClose();
|
20
|
+
});
|
13
21
|
|
14
22
|
if (views.includes('Grading view')) {
|
15
23
|
//Failing due to https://redmine.zeuslearning.com/issues/583133
|
@@ -46,6 +54,7 @@ describe('Create item page - Brainingcamp manipulative: Grading view, Correct an
|
|
46
54
|
|
47
55
|
it('Empty score input field and total score should be displayed', () => {
|
48
56
|
gradingViewPage.steps.verifyGradingViewScore('', 10);
|
57
|
+
cy.eyesCheckWindow(`Brainingcamp manipulative: Grading view contents`);
|
49
58
|
});
|
50
59
|
|
51
60
|
it('Accessibility of contents in preview tab', { tags: 'a11y' }, () => {
|
@@ -87,6 +96,7 @@ describe('Create item page - Brainingcamp manipulative: Grading view, Correct an
|
|
87
96
|
|
88
97
|
it('The points alloted to the question should be displayed', () => {
|
89
98
|
correctAnswerViewPage.steps.verifyAvailablePoints(10);
|
99
|
+
cy.eyesCheckWindow(`Brainingcamp manipulative: Correct answer view contents`);
|
90
100
|
});
|
91
101
|
|
92
102
|
//Need to add CSS and A11y here once updated designs are available for correct answer
|
@@ -11,6 +11,14 @@ describe('Create item page - Brainingcamp manipulative: Preview contents', () =>
|
|
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();
|
@@ -52,8 +60,9 @@ describe('Create item page - Brainingcamp manipulative: Preview contents', () =>
|
|
52
60
|
utilities.verifyElementVisibilityState(brainingCampManipulativePage.questionInstructionsText(), 'visible');
|
53
61
|
});
|
54
62
|
|
55
|
-
it(
|
63
|
+
it(`${view} view: Brainingcamp manipulative - The brainingcamp manipulative resource should be displayed`, () => {
|
56
64
|
utilities.verifyElementVisibilityState(brainingCampManipulativePage.previewTabCanvas(), 'visible');
|
65
|
+
cy.eyesCheckWindow(`${view} view: Brainingcamp manipulative - Preview contents`);
|
57
66
|
});
|
58
67
|
|
59
68
|
it('CSS of preview tab contents', { tags: 'css' }, () => {
|
@@ -11,6 +11,14 @@ describe('Create item page - Charts - Bar horizontal orientation: 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();
|
@@ -107,7 +115,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
107
115
|
};
|
108
116
|
|
109
117
|
//Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
|
110
|
-
it.skip(
|
118
|
+
it.skip(`${view} - Charts bar: Horizontal - 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');
|
@@ -130,7 +138,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
130
138
|
});
|
131
139
|
|
132
140
|
//Fully incorrect case
|
133
|
-
it(
|
141
|
+
it(`${view} - Charts bar: Horizontal - When the user incorrectly sets a bar which was correct by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
|
134
142
|
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value: 5, range: 10 }, 'horizontal');
|
135
143
|
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 4, value: 2, range: 10 }, 'horizontal');
|
136
144
|
if (view === 'Grading view') {
|
@@ -156,7 +164,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
156
164
|
});
|
157
165
|
|
158
166
|
//Partially correct cases
|
159
|
-
it(
|
167
|
+
it(`${view} - Charts bar: Horizontal - When the user incorrectly sets a bar which was set to 0 and correct by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
|
160
168
|
if (view === 'Grading view') {
|
161
169
|
studentViewPage.steps.clearResponses();
|
162
170
|
}
|
@@ -183,7 +191,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
183
191
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
184
192
|
});
|
185
193
|
|
186
|
-
it(
|
194
|
+
it(`${view} - Charts bar: Horizontal - When the user attempts the question partially correct by incorrectly setting a bar which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
|
187
195
|
if (view === 'Grading view') {
|
188
196
|
studentViewPage.steps.clearResponses();
|
189
197
|
}
|
@@ -210,7 +218,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
210
218
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
211
219
|
});
|
212
220
|
|
213
|
-
it(
|
221
|
+
it(`${view} - Charts bar: Horizontal - When the user attempts the question partially correct by incorrectly setting a bar to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
|
214
222
|
if (view === 'Grading view') {
|
215
223
|
studentViewPage.steps.clearResponses();
|
216
224
|
}
|
@@ -237,7 +245,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
237
245
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
238
246
|
});
|
239
247
|
|
240
|
-
it(
|
248
|
+
it(`${view} - Charts bar: Horizontal - When the user attempts the question partially correct by incorrectly setting a bar which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
|
241
249
|
if (view === 'Grading view') {
|
242
250
|
studentViewPage.steps.clearResponses();
|
243
251
|
}
|
@@ -264,7 +272,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
264
272
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
265
273
|
});
|
266
274
|
|
267
|
-
it(
|
275
|
+
it(`${view} - Charts bar: Horizontal - When the user attempts the question partially correct by setting all bars correctly except 1 then the user should be awarded with 0 points and on switching to grading view 'Your answer is incorrect' should be displayed, correct icons should be displayed on the correctly attempted bars and incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers`, () => {
|
268
276
|
if (view === 'Grading view') {
|
269
277
|
studentViewPage.steps.clearResponses();
|
270
278
|
}
|
@@ -292,7 +300,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
292
300
|
});
|
293
301
|
|
294
302
|
//Fully correct
|
295
|
-
it(
|
303
|
+
it(`${view} - Charts bar: 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, correct icons should be displayed on the correctly attempted bars and the correct answer section graph should not be displayed`, () => {
|
296
304
|
if (view === 'Grading view') {
|
297
305
|
studentViewPage.steps.clearResponses();
|
298
306
|
}
|
@@ -314,6 +322,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
314
322
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
|
315
323
|
chartsBarPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
316
324
|
chartsBarPage.steps.verifyCorrectAnswerSectionNotExist();
|
325
|
+
cy.eyesCheckWindow(`${view} - Fully correct case`);
|
317
326
|
});
|
318
327
|
});
|
319
328
|
});
|
@@ -14,6 +14,14 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
+
beforeEach(() => {
|
18
|
+
cy.startApplitools();
|
19
|
+
});
|
20
|
+
|
21
|
+
afterEach(() => {
|
22
|
+
cy.eyesClose();
|
23
|
+
});
|
24
|
+
|
17
25
|
if (views.includes('Grading view')) {
|
18
26
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
19
27
|
abortEarlySetup();
|
@@ -108,7 +116,7 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
108
116
|
utilities.verifyElementVisibilityState(chartsBarPage.correctAnswersLabel(), 'visible');
|
109
117
|
});
|
110
118
|
|
111
|
-
it('Correct answer should be displayed in the correct answer section', () => {
|
119
|
+
it('Charts bar: Horizontal - Correct answer should be displayed in the correct answer section', () => {
|
112
120
|
chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 0, barValue: 2, range: 20 });
|
113
121
|
chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 20 });
|
114
122
|
chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 20 });
|
@@ -122,6 +130,7 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
122
130
|
chartsBarPage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
|
123
131
|
chartsBarPage.steps.verifyXAxisLabelInCorrectAnswerSection('Profit');
|
124
132
|
chartsBarPage.steps.verifyYAxisLabelInCorrectAnswerSection('Year');
|
133
|
+
cy.eyesCheckWindow('Charts bar: Horizontal - Grading view contents')
|
125
134
|
});
|
126
135
|
|
127
136
|
it('Points and the total score should be displayed', () => {
|
@@ -222,7 +231,7 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
222
231
|
utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolBarWrapper(), 'notExist');
|
223
232
|
});
|
224
233
|
|
225
|
-
it('The correct answer set by user should be displayed in the correct answer view', () => {
|
234
|
+
it('Charts bar: Horizontal - The correct answer set by user should be displayed in the correct answer view', () => {
|
226
235
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue: 2, range: 20 });
|
227
236
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 20 });
|
228
237
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 5, range: 20 });
|
@@ -234,6 +243,7 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
234
243
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
|
235
244
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
|
236
245
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
|
246
|
+
cy.eyesCheckWindow('Charts bar: Horizontal -Correct answer view contents')
|
237
247
|
});
|
238
248
|
|
239
249
|
it('The points alloted to the question should be displayed', () => {
|