itemengine-cypress-automation 1.0.284-applitools-38637bb.0 → 1.0.285
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/Gzip/gzip.js +7 -7
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +26 -36
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +4 -14
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -10
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -10
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/allOrNothingScoringForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ChartsBar/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +8 -17
- package/cypress/e2e/ILC/ChartsLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +1 -10
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +21 -21
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +7 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +10 -9
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +11 -10
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -12
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +21 -35
- package/cypress/e2e/ILC/EditItem/editItem.ts +133 -0
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +0 -8
- package/cypress/e2e/ILC/FeedbackScaleNew/previewContentsForAllViews.smoke.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +15 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +214 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/manuallyAndNonScored.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +6 -15
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +228 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +242 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +245 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +237 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +6 -14
- package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/Graphing/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/GridFill/previewContentsForAllViews.smoke.js +1 -9
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +5 -15
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/allOrNothingForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +4 -12
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/blankResponseScoring.js +239 -0
- package/cypress/e2e/ILC/Matching/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/Matching/allOrNothingScoringForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +6 -14
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +3 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/blankResponseScoring.js +212 -0
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternatePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/MatchingDropdown/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +10 -19
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +2 -11
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/blankResponseScoring.js +366 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -14
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/NumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +6 -14
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -12
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +6 -14
- package/cypress/e2e/ILC/NumberLineLabel/gradingViewAndCorrectAnswerView.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/allOrNothingForAllViews.smoke.js +5 -5
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +16 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +6 -14
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +1 -10
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/blankResponseScoring.js +306 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +243 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +242 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +289 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +284 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +238 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +279 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +641 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +278 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +228 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +234 -0
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +237 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +134 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +138 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +263 -0
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +166 -0
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +14 -23
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +6 -5
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +193 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -2
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +8 -8
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +17 -17
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +5 -13
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +4 -13
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +6 -16
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +3 -12
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +3 -12
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -11
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +5 -14
- package/cypress/e2e/ILC/UploadResponse/thumbNail.smoke.js +6 -16
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +3 -3
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -14
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +3 -12
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +9 -18
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +2 -2
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +4 -13
- package/cypress/pages/audioPlayerPage.js +4 -4
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +17 -0
- package/cypress/pages/components/equationEditorFlyout.js +1 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -3
- package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +1 -1
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +5 -1
- package/cypress/pages/components/gridQuestionCommonComponent.js +41 -1
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/createItemPage.js +38 -1
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +45 -3
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +35 -2
- package/cypress/pages/graphingPage.js +3 -0
- package/cypress/pages/listOrderingPage.js +1 -1
- package/cypress/pages/matchingPage.js +34 -7
- package/cypress/pages/multipleSelectionPage.js +17 -2
- package/cypress/pages/numberLineLabelPage.js +3 -3
- package/cypress/pages/readingRulerPage.js +5 -3
- package/cypress/pages/singleSelectionPage.js +5 -2
- package/cypress/pages/studentViewPage.js +4 -4
- package/cypress/pages/textEntryMathPage.js +19 -5
- package/cypress/pages/textSelectionPage.js +1 -1
- package/cypress/support/commands.js +0 -11
- package/cypress/support/e2e.js +0 -1
- package/package.json +1 -4
- package/cypress/e2e/applitools.config.js +0 -14
package/cypress/e2e/Gzip/gzip.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
// Command for execution - npx cypress run --headed --browser chrome --env fileConfig=ilqa,assetVersion=1.0.409,
|
2
|
-
//assetVersion,
|
1
|
+
// Command for execution - npx cypress run --headed --browser chrome --env fileConfig=ilqa,assetVersion=1.0.409,environment=qa --spec "cypress\e2e\Gzip\gzip.js"
|
2
|
+
//assetVersion, environment should be updated according to the current version
|
3
3
|
|
4
4
|
const assetVersion = Cypress.env('assetVersion');
|
5
|
-
const
|
5
|
+
const environment = Cypress.env('environment');
|
6
6
|
|
7
7
|
describe('Assets GZIP compression', () => {
|
8
8
|
before(() => {
|
@@ -91,21 +91,21 @@ describe('CKEditor GZIP compression', () => {
|
|
91
91
|
});
|
92
92
|
|
93
93
|
it('Verifying ngckeditor/ngckeditor.js gzip', () => {
|
94
|
-
steps.verifyGzipCompression(`https://
|
94
|
+
steps.verifyGzipCompression(`https://ckeditor-assets.itemengine-${environment}.il-apps.com/ngckeditor/ngckeditor.js`);
|
95
95
|
});
|
96
96
|
|
97
97
|
//.css
|
98
98
|
it('Verifying custom_item_engine.css gzip', () => {
|
99
|
-
steps.verifyGzipCompression(`https://
|
99
|
+
steps.verifyGzipCompression(`https://ckeditor-assets.itemengine-${environment}.il-apps.com/ngckeditor/css/custom_item_engine.css`)
|
100
100
|
});
|
101
101
|
|
102
102
|
//externalPlugins
|
103
103
|
it('Verifying externalPlugins/nextGenEqnEditor/plugin.js gzip', () => {
|
104
|
-
steps.verifyGzipCompression(`https://
|
104
|
+
steps.verifyGzipCompression(`https://ckeditor-assets.itemengine-${environment}.il-apps.com/ngckeditor/externalPlugins/nextGenEqnEditor/plugin.js`)
|
105
105
|
});
|
106
106
|
|
107
107
|
it('Verifying externalPlugins/nextGenAudioPlayer/plugin.js gzip', () => {
|
108
|
-
steps.verifyGzipCompression(`https://
|
108
|
+
steps.verifyGzipCompression(`https://ckeditor-assets.itemengine-${environment}.il-apps.com/ngckeditor/externalPlugins/nextGenAudioPlayer/plugin.js`)
|
109
109
|
});
|
110
110
|
});
|
111
111
|
|
@@ -10,14 +10,6 @@ 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
|
-
|
21
13
|
describe('Preview of bar audio recorder style', { tags: 'smoke' }, () => {
|
22
14
|
abortEarlySetup();
|
23
15
|
before(() => {
|
@@ -27,7 +19,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
27
19
|
audioResponsePage.steps.switchToPreviewTab();
|
28
20
|
});
|
29
21
|
|
30
|
-
it(
|
22
|
+
it('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.', () => {
|
31
23
|
utilities.verifyInnerText(audioResponsePage.barPreviewStartRecordingButton(), 'REC');
|
32
24
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewStartRecordingButton(), 'visible');
|
33
25
|
utilities.verifyElementVisibilityState(audioResponsePage.microphoneIcon(), 'visible');
|
@@ -60,7 +52,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
60
52
|
});
|
61
53
|
});
|
62
54
|
|
63
|
-
it(
|
55
|
+
it('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.', () => {
|
64
56
|
audioResponsePage.steps.startRecordingBarPreview();
|
65
57
|
utilities.verifyInnerText(audioResponsePage.recordingStatusText(), 'Preparing to record 3');
|
66
58
|
utilities.verifyElementVisibilityState(audioResponsePage.recordingStatusIcon(), 'visible');
|
@@ -178,13 +170,13 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
178
170
|
cy.checkAccessibility(audioResponsePage.previewTabQuestionWrapper());
|
179
171
|
});
|
180
172
|
|
181
|
-
it(
|
173
|
+
it('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', () => {
|
182
174
|
audioResponsePage.steps.resumeRecordingBarPreview();
|
183
175
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewStartRecordingButton(), 'notExist');
|
184
176
|
utilities.verifyInnerText(audioResponsePage.recordingStatusText(), 'Recording...');
|
185
177
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewPauseRecordingButton(), 'visible');
|
186
178
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewStopRecordingButton(), 'visible');
|
187
|
-
audioResponsePage.steps.verifyRecordingLengthAfterResumingBarPreview();
|
179
|
+
audioResponsePage.steps.verifyRecordingLengthAfterResumingBarPreview();
|
188
180
|
});
|
189
181
|
|
190
182
|
it('When the user hovers on \'Stop recording\' button, \'Stop recording\' text should be displayed in tooltip', () => {
|
@@ -221,7 +213,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
221
213
|
cy.checkAccessibility(audioResponsePage.previewTabQuestionWrapper());
|
222
214
|
});
|
223
215
|
|
224
|
-
it(
|
216
|
+
it('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', () => {
|
225
217
|
audioResponsePage.steps.resetQuestionPreview();
|
226
218
|
audioResponsePage.steps.startRecordingBarPreview();
|
227
219
|
audioResponsePage.steps.waitForRecordingToStartBarPreview();
|
@@ -234,7 +226,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
234
226
|
audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:00', '00:04');
|
235
227
|
});
|
236
228
|
|
237
|
-
it(
|
229
|
+
it('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)\'.', () => {
|
238
230
|
audioResponsePage.steps.switchToEditTab();
|
239
231
|
audioResponsePage.steps.setMaximumRecorderLength(10);
|
240
232
|
audioResponsePage.steps.switchToPreviewTab();
|
@@ -247,7 +239,6 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
247
239
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewPlaybackTime(), 'visible');
|
248
240
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
249
241
|
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`);
|
251
242
|
});
|
252
243
|
});
|
253
244
|
|
@@ -261,7 +252,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
261
252
|
audioResponsePage.steps.recordAndSaveAudioBarPreview(5000);
|
262
253
|
});
|
263
254
|
|
264
|
-
it(
|
255
|
+
it('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', () => {
|
265
256
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewRetakeButton(), 'visible');
|
266
257
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'visible');
|
267
258
|
utilities.verifyElementVisibilityState(audioResponsePage.volumeControlButton(), 'visible');
|
@@ -269,7 +260,6 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
269
260
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
270
261
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewPlaybackTime(), 'visible');
|
271
262
|
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`);
|
273
263
|
});
|
274
264
|
|
275
265
|
it('The progress bar should have a slider so that user can click/drag to seek the audio.', () => {
|
@@ -327,23 +317,23 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
327
317
|
audioResponsePage.steps.switchToPreviewTab();
|
328
318
|
audioResponsePage.steps.recordAndSaveAudioBarPreview(10000);
|
329
319
|
});
|
330
|
-
|
320
|
+
|
331
321
|
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', () => {
|
332
322
|
audioResponsePage.playbackPlayButton()
|
333
323
|
.verifyTooltip('Play');
|
334
324
|
});
|
335
|
-
|
325
|
+
|
336
326
|
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.', () => {
|
337
327
|
audioResponsePage.steps.startPlayback();
|
338
328
|
audioResponsePage.steps.waitForPlaybackToBeginBarPreview();
|
339
329
|
audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:03', '00:10');
|
340
330
|
});
|
341
|
-
|
331
|
+
|
342
332
|
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', () => {
|
343
333
|
audioResponsePage.playbackPauseButton()
|
344
334
|
.verifyTooltip('Pause');
|
345
335
|
});
|
346
|
-
|
336
|
+
|
347
337
|
it('CSS of \'Preview\' section if playback is initiated', { tags: 'css' }, () => {
|
348
338
|
utilities.verifyCSS(audioResponsePage.barPreviewPlaybackTime(), {
|
349
339
|
'color': css.color.liText,
|
@@ -357,11 +347,11 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
357
347
|
'stroke': css.color.secondaryBtnActive
|
358
348
|
});
|
359
349
|
});
|
360
|
-
|
350
|
+
|
361
351
|
it('Accessibility of \'Preview\' section if playback is initiated', { tags: 'a11y' }, () => {
|
362
352
|
cy.checkAccessibility(audioResponsePage.barPreviewPlaybackWrapper());
|
363
353
|
});
|
364
|
-
|
354
|
+
|
365
355
|
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', () => {
|
366
356
|
audioResponsePage.steps.resetQuestionPreview();
|
367
357
|
audioResponsePage.steps.recordAndSaveAudioBarPreview(10000);
|
@@ -373,7 +363,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
373
363
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'visible');
|
374
364
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPauseButton(), 'notExist');
|
375
365
|
});
|
376
|
-
|
366
|
+
|
377
367
|
it('CSS of \'Preview\' section if playback is paused', { tags: 'css' }, () => {
|
378
368
|
utilities.verifyCSS(audioResponsePage.playbackPlayButton().find('svg rect'), {
|
379
369
|
'fill': css.color.secondaryBtnBg
|
@@ -382,36 +372,36 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
382
372
|
'stroke': css.color.secondaryBtnActive
|
383
373
|
});
|
384
374
|
});
|
385
|
-
|
375
|
+
|
386
376
|
it('Accessibility of \'Preview\' section if if playback is paused', { tags: 'a11y' }, () => {
|
387
377
|
cy.checkAccessibility(audioResponsePage.barPreviewPlaybackWrapper());
|
388
378
|
});
|
389
|
-
|
379
|
+
|
390
380
|
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.', () => {
|
391
381
|
audioResponsePage.steps.startPlayback();
|
392
382
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPauseButton(), 'visible');
|
393
383
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'notExist');
|
394
384
|
});
|
395
|
-
|
385
|
+
|
396
386
|
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', () => {
|
397
387
|
audioResponsePage.steps.seekProgressBarSliderToCenter();
|
398
388
|
audioResponsePage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
|
399
389
|
});
|
400
|
-
|
390
|
+
|
401
391
|
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', () => {
|
402
392
|
audioResponsePage.steps.pausePlayback();
|
403
393
|
audioResponsePage.steps.seekProgressBarSliderToCenter();
|
404
394
|
audioResponsePage.steps.startPlayback();
|
405
395
|
audioResponsePage.steps.verifyProgressBarSliderPosition(actualAudioSeekedInPercent);
|
406
396
|
});
|
407
|
-
|
397
|
+
|
408
398
|
it('When the audio playback is completed, the \'Pause\' button should get replaced with \'Play\' button', () => {
|
409
399
|
audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:10', '00:10');
|
410
400
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPlayButton(), 'visible');
|
411
401
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackPauseButton(), 'notExist');
|
412
402
|
audioResponsePage.steps.verifyProgressBarSliderPosition(99);
|
413
403
|
});
|
414
|
-
|
404
|
+
|
415
405
|
it('CSS of progress bar in hover state', { tags: 'css' }, () => {
|
416
406
|
audioResponsePage.steps.hoverOnProgressBarSlider();
|
417
407
|
utilities.verifyCSS(audioResponsePage.progressBarSlider().parents('span[class*="MuiSlider-thumb"]'), {
|
@@ -419,7 +409,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
419
409
|
});
|
420
410
|
});
|
421
411
|
});
|
422
|
-
|
412
|
+
|
423
413
|
describe('Playback player : Volume control', () => {
|
424
414
|
abortEarlySetup();
|
425
415
|
before(() => {
|
@@ -429,10 +419,10 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
429
419
|
audioResponsePage.steps.switchToPreviewTab();
|
430
420
|
audioResponsePage.steps.recordAndSaveAudioBarPreview(10000);
|
431
421
|
});
|
432
|
-
|
422
|
+
|
433
423
|
audioResponsePage.tests.verifyVolumeControlFunctionality();
|
434
424
|
});
|
435
|
-
|
425
|
+
|
436
426
|
describe('Playback player : Playback speed', () => {
|
437
427
|
const playbackSpeedOptions = ['1', '1.25', '1.5', '2'];
|
438
428
|
abortEarlySetup();
|
@@ -443,9 +433,9 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
443
433
|
audioResponsePage.steps.switchToPreviewTab();
|
444
434
|
audioResponsePage.steps.recordAndSaveAudioBarPreview(10000);
|
445
435
|
});
|
446
|
-
|
436
|
+
|
447
437
|
audioResponsePage.tests.verifyPlaybackSpeedContents(playbackSpeedOptions);
|
448
|
-
|
438
|
+
|
449
439
|
for (let index = 0; index < playbackSpeedOptions.length; index++) {
|
450
440
|
it(`When the user selects playback speed option ${playbackSpeedOptions[index]}x, the audio playback speed should be changed accordingly`, () => {
|
451
441
|
audioResponsePage.steps.resetQuestionPreview();
|
@@ -460,7 +450,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
460
450
|
});
|
461
451
|
};
|
462
452
|
});
|
463
|
-
|
453
|
+
|
464
454
|
describe('Playback player : Retake my audio response', () => {
|
465
455
|
abortEarlySetup();
|
466
456
|
before(() => {
|
@@ -10,14 +10,6 @@ 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
|
-
|
21
13
|
describe('Preview of Compact audio recorder style', { tags: 'smoke' }, () => {
|
22
14
|
abortEarlySetup();
|
23
15
|
before(() => {
|
@@ -27,7 +19,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
27
19
|
audioResponsePage.steps.switchToPreviewTab();
|
28
20
|
});
|
29
21
|
|
30
|
-
it(
|
22
|
+
it('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', () => {
|
31
23
|
utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewRecordButton(), 'visible');
|
32
24
|
utilities.verifyInnerText(audioResponsePage.compactPreviewRecordButton(), 'Record');
|
33
25
|
utilities.verifyInnerText(audioResponsePage.compactPreviewRecordingHelpText(), 'Click the button to start recording...');
|
@@ -148,7 +140,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
148
140
|
cy.checkAccessibility(audioResponsePage.previewTabQuestionWrapper());
|
149
141
|
});
|
150
142
|
|
151
|
-
it(
|
143
|
+
it('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.', () => {
|
152
144
|
audioResponsePage.steps.resumeRecordingCompactPreview();
|
153
145
|
utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewResumeRecordingButton(), 'notExist');
|
154
146
|
utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewPauseRecordingButton(), 'visible');
|
@@ -193,7 +185,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
193
185
|
cy.checkAccessibility(audioResponsePage.previewTabQuestionWrapper());
|
194
186
|
});
|
195
187
|
|
196
|
-
it(
|
188
|
+
it('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', () => {
|
197
189
|
cy.log('Pre-step: Resetting question preview and start recording again')
|
198
190
|
audioResponsePage.steps.resetQuestionPreview();
|
199
191
|
audioResponsePage.steps.startRecordingCompactPreview();
|
@@ -223,7 +215,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
223
215
|
utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewPlaybackPlayButton(), 'visible');
|
224
216
|
});
|
225
217
|
|
226
|
-
it(
|
218
|
+
it('When the user updates maximum recorder length the recording should stop at the updated recorder length', () => {
|
227
219
|
cy.log('Pre-step : Switching to edit tab, updating maximum recorder length and switching back to preview tab to reset the recording');
|
228
220
|
audioResponsePage.steps.switchToEditTab();
|
229
221
|
audioResponsePage.steps.setMaximumRecorderLength(5);
|
@@ -235,7 +227,6 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
235
227
|
audioResponsePage.steps.verifyPlaybackTimeCompactPreview('00:00', '00:05')
|
236
228
|
cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
|
237
229
|
audioResponsePage.steps.switchToEditTab();
|
238
|
-
cy.eyesCheckWindow(`Audio response - Verify recording stops at the updated maximum recorder length.`);
|
239
230
|
});
|
240
231
|
});
|
241
232
|
|
@@ -258,7 +249,6 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
258
249
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
259
250
|
utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewPlaybackTime(), 'visible');
|
260
251
|
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`);
|
262
252
|
});
|
263
253
|
|
264
254
|
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,14 +11,6 @@ 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
|
-
|
22
14
|
if (views.includes('Grading view')) {
|
23
15
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
24
16
|
let actualAudioSeekedInPercent = 50
|
@@ -82,9 +74,8 @@ describe('Create item page - audio response: Grading view, Correct answer view c
|
|
82
74
|
audioResponsePage.steps.verifyProgressBarSliderPosition(99);
|
83
75
|
});
|
84
76
|
|
85
|
-
it('
|
77
|
+
it('A download button should be displayed in the playback player', () => {
|
86
78
|
utilities.verifyElementVisibilityState(audioResponsePage.downloadAudioButton(), 'visible');
|
87
|
-
cy.eyesCheckWindow(`Audio response: Grading view - Verify download button is displayed in the playback player.`);
|
88
79
|
});
|
89
80
|
|
90
81
|
it('Empty score input field and total score should be displayed', () => {
|
@@ -134,9 +125,8 @@ describe('Create item page - audio response: Grading view, Correct answer view c
|
|
134
125
|
|
135
126
|
correctAnswerViewPage.tests.verifyManualScoredQuestionHelpTextCorrectAnswerPage();
|
136
127
|
|
137
|
-
it('
|
128
|
+
it('The points alloted to the question should be displayed', () => {
|
138
129
|
correctAnswerViewPage.steps.verifyAvailablePoints(10);
|
139
|
-
cy.eyesCheckWindow('Audio response: Correct answer view contents');
|
140
130
|
});
|
141
131
|
});
|
142
132
|
}
|
@@ -11,14 +11,6 @@ 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
|
-
|
22
14
|
views.forEach((view) => {
|
23
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
24
16
|
abortEarlySetup();
|
@@ -57,7 +49,7 @@ describe('Create item page - Audio response: Preview contents', () => {
|
|
57
49
|
utilities.verifyElementVisibilityState(audioResponsePage.questionInstructionsText(), 'visible');
|
58
50
|
});
|
59
51
|
|
60
|
-
it(
|
52
|
+
it('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.', () => {
|
61
53
|
utilities.verifyInnerText(audioResponsePage.standardPreviewRecorderHelpText(), 'Click the button to start recording...');
|
62
54
|
utilities.verifyElementVisibilityState(audioResponsePage.standardPreviewRecorderHelpText(), 'visible');
|
63
55
|
utilities.verifyInnerText(audioResponsePage.standardPreviewStartRecordingButton(), 'REC');
|
@@ -114,7 +106,7 @@ describe('Create item page - Audio response: Preview contents', () => {
|
|
114
106
|
utilities.verifyElementVisibilityState(audioResponsePage.previewVolumeMeter(), 'visible');
|
115
107
|
});
|
116
108
|
|
117
|
-
it(
|
109
|
+
it('When the user clicks on the stop recording button, the recording should stop and the recording should get saved', () => {
|
118
110
|
audioResponsePage.steps.stopRecordingStandardPreview();
|
119
111
|
utilities.verifyInnerText(audioResponsePage.savingStatusText(), 'Saving');
|
120
112
|
utilities.verifyElementVisibilityState(audioResponsePage.savingStatusText(), 'visible');
|
@@ -124,7 +116,6 @@ describe('Create item page - Audio response: Preview contents', () => {
|
|
124
116
|
utilities.verifyElementVisibilityState(audioResponsePage.previewVolumeMeter(), 'visible');
|
125
117
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
126
118
|
audioResponsePage.steps.verifyResponseIsRecordedHelpText();
|
127
|
-
cy.eyesCheckWindow(`${view} - Audio response - Verify recording stops and is saved when the Stop recording button is clicked`);
|
128
119
|
});
|
129
120
|
});
|
130
121
|
});
|
package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js
CHANGED
@@ -10,14 +10,6 @@ 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
|
-
});
|
21
13
|
|
22
14
|
if (views.includes('Grading view')) {
|
23
15
|
//Failing due to https://redmine.zeuslearning.com/issues/583133
|
@@ -54,7 +46,6 @@ describe('Create item page - Brainingcamp manipulative: Grading view, Correct an
|
|
54
46
|
|
55
47
|
it('Empty score input field and total score should be displayed', () => {
|
56
48
|
gradingViewPage.steps.verifyGradingViewScore('', 10);
|
57
|
-
cy.eyesCheckWindow(`Brainingcamp manipulative: Grading view contents`);
|
58
49
|
});
|
59
50
|
|
60
51
|
it('Accessibility of contents in preview tab', { tags: 'a11y' }, () => {
|
@@ -96,7 +87,6 @@ describe('Create item page - Brainingcamp manipulative: Grading view, Correct an
|
|
96
87
|
|
97
88
|
it('The points alloted to the question should be displayed', () => {
|
98
89
|
correctAnswerViewPage.steps.verifyAvailablePoints(10);
|
99
|
-
cy.eyesCheckWindow(`Brainingcamp manipulative: Correct answer view contents`);
|
100
90
|
});
|
101
91
|
|
102
92
|
//Need to add CSS and A11y here once updated designs are available for correct answer
|
@@ -11,14 +11,6 @@ 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
|
-
|
22
14
|
views.forEach((view) => {
|
23
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
24
16
|
abortEarlySetup();
|
@@ -60,9 +52,8 @@ describe('Create item page - Brainingcamp manipulative: Preview contents', () =>
|
|
60
52
|
utilities.verifyElementVisibilityState(brainingCampManipulativePage.questionInstructionsText(), 'visible');
|
61
53
|
});
|
62
54
|
|
63
|
-
it(
|
55
|
+
it('The brainingcamp manipulative resource should be displayed', () => {
|
64
56
|
utilities.verifyElementVisibilityState(brainingCampManipulativePage.previewTabCanvas(), 'visible');
|
65
|
-
cy.eyesCheckWindow(`${view} view: Brainingcamp manipulative - Preview contents`);
|
66
57
|
});
|
67
58
|
|
68
59
|
it('CSS of preview tab contents', { tags: 'css' }, () => {
|
@@ -11,14 +11,6 @@ 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
|
-
|
22
14
|
if (!grepTags || !grepTags.includes('smoke')) {
|
23
15
|
describe('Question preview modes: Student view and Grading view', () => {
|
24
16
|
abortEarlySetup();
|
@@ -115,7 +107,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
115
107
|
};
|
116
108
|
|
117
109
|
//Need to remove skip once https://redmine.zeuslearning.com/issues/577535, https://redmine.zeuslearning.com/issues/577716 is resolved
|
118
|
-
it.skip(
|
110
|
+
it.skip('When the user selects \'Grading\' view without attempting the question, the correct answer should be displayed in the correct answer section graph and your answer is incorrect status message should be displayed', () => {
|
119
111
|
if (view === 'Grading view') {
|
120
112
|
studentViewPage.steps.submitResponse();
|
121
113
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'visible');
|
@@ -138,7 +130,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
138
130
|
});
|
139
131
|
|
140
132
|
//Fully incorrect case
|
141
|
-
it(
|
133
|
+
it('When the user incorrectly sets a bar which was correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
|
142
134
|
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value: 5, range: 10 }, 'horizontal');
|
143
135
|
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 4, value: 2, range: 10 }, 'horizontal');
|
144
136
|
if (view === 'Grading view') {
|
@@ -164,7 +156,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
164
156
|
});
|
165
157
|
|
166
158
|
//Partially correct cases
|
167
|
-
it(
|
159
|
+
it('When the user incorrectly sets a bar which was set to 0 and correct by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
|
168
160
|
if (view === 'Grading view') {
|
169
161
|
studentViewPage.steps.clearResponses();
|
170
162
|
}
|
@@ -191,7 +183,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
191
183
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
192
184
|
});
|
193
185
|
|
194
|
-
it(
|
186
|
+
it('When the user attempts the question partially correct by incorrectly setting a bar which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
|
195
187
|
if (view === 'Grading view') {
|
196
188
|
studentViewPage.steps.clearResponses();
|
197
189
|
}
|
@@ -218,7 +210,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
218
210
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
219
211
|
});
|
220
212
|
|
221
|
-
it(
|
213
|
+
it('When the user attempts the question partially correct by incorrectly setting a bar to zero which was incorrect by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
|
222
214
|
if (view === 'Grading view') {
|
223
215
|
studentViewPage.steps.clearResponses();
|
224
216
|
}
|
@@ -245,7 +237,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
245
237
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
246
238
|
});
|
247
239
|
|
248
|
-
it(
|
240
|
+
it('When the user attempts the question partially correct by incorrectly setting a bar which was set to zero by default, then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars, incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
|
249
241
|
if (view === 'Grading view') {
|
250
242
|
studentViewPage.steps.clearResponses();
|
251
243
|
}
|
@@ -272,7 +264,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
272
264
|
chartsBarPage.steps.verifyBarInCorrectAnswerSection({ barIndex: 4, barValue: 0, range: 10 });
|
273
265
|
});
|
274
266
|
|
275
|
-
it(
|
267
|
+
it('When the user attempts the question partially correct by setting all bars correctly except 1 then the user should be awarded with 0 points and on switching to grading view \'Your answer is incorrect\' should be displayed, correct icons should be displayed on the correctly attempted bars and incorrect icons should be displayed on the incorrectly attempted bars and correct answer section should be displayed with the correct answers', () => {
|
276
268
|
if (view === 'Grading view') {
|
277
269
|
studentViewPage.steps.clearResponses();
|
278
270
|
}
|
@@ -300,7 +292,7 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
300
292
|
});
|
301
293
|
|
302
294
|
//Fully correct
|
303
|
-
it(
|
295
|
+
it('When the user attempts the question correctly then the user should be awarded with full points and on switching to grading view \'Your answer is correct\' should be displayed, correct icons should be displayed on the correctly attempted bars and the correct answer section graph should not be displayed', () => {
|
304
296
|
if (view === 'Grading view') {
|
305
297
|
studentViewPage.steps.clearResponses();
|
306
298
|
}
|
@@ -322,7 +314,6 @@ describe('Create item page - Charts - Bar horizontal orientation: All or nothing
|
|
322
314
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
|
323
315
|
chartsBarPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
324
316
|
chartsBarPage.steps.verifyCorrectAnswerSectionNotExist();
|
325
|
-
cy.eyesCheckWindow(`${view} - Fully correct case`);
|
326
317
|
});
|
327
318
|
});
|
328
319
|
});
|
@@ -14,14 +14,6 @@ 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
|
-
|
25
17
|
if (views.includes('Grading view')) {
|
26
18
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -116,7 +108,7 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
116
108
|
utilities.verifyElementVisibilityState(chartsBarPage.correctAnswersLabel(), 'visible');
|
117
109
|
});
|
118
110
|
|
119
|
-
it('
|
111
|
+
it('Correct answer should be displayed in the correct answer section', () => {
|
120
112
|
chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 0, barValue: 2, range: 20 });
|
121
113
|
chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 1, barValue: 2, range: 20 });
|
122
114
|
chartsBarPage.steps.verifyBarHeightInCorrectAnswerSection({ barIndex: 2, barValue: 5, range: 20 });
|
@@ -130,7 +122,6 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
130
122
|
chartsBarPage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
|
131
123
|
chartsBarPage.steps.verifyXAxisLabelInCorrectAnswerSection('Profit');
|
132
124
|
chartsBarPage.steps.verifyYAxisLabelInCorrectAnswerSection('Year');
|
133
|
-
cy.eyesCheckWindow('Charts bar: Horizontal - Grading view contents')
|
134
125
|
});
|
135
126
|
|
136
127
|
it('Points and the total score should be displayed', () => {
|
@@ -231,7 +222,7 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
231
222
|
utilities.verifyElementVisibilityState(chartsBarPage.previewTabToolBarWrapper(), 'notExist');
|
232
223
|
});
|
233
224
|
|
234
|
-
it('
|
225
|
+
it('The correct answer set by user should be displayed in the correct answer view', () => {
|
235
226
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue: 2, range: 20 });
|
236
227
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 20 });
|
237
228
|
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 5, range: 20 });
|
@@ -243,7 +234,6 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
243
234
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
|
244
235
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
|
245
236
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
|
246
|
-
cy.eyesCheckWindow('Charts bar: Horizontal -Correct answer view contents')
|
247
237
|
});
|
248
238
|
|
249
239
|
it('The points alloted to the question should be displayed', () => {
|