itemengine-cypress-automation 1.0.278-revert-134-updatedRepo12thDec-5aacd81.0 → 1.0.278
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +1 -2
- package/cypress/e2e/ILC/ChartsBar/toolSettings.js +1 -1
- package/cypress/e2e/ILC/ChartsLine/toolSettings.js +1 -1
- package/cypress/e2e/ILC/Compass/compassEditTabBasicsSection.js +11 -5
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +5 -3
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +7 -5
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +6 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +8 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +6 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +4 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +2 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +2 -0
- package/cypress/e2e/ILC/EssayResponse/toolSettings.js +8 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneAlternateAnswerPopup.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/toolSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAlternateAnswerPopup.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/toolSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +17 -17
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/manuallyAndNonScored.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +20 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +9 -9
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +18 -18
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +14 -14
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +16 -16
- package/cypress/e2e/ILC/FillInTheGapsTextNew/toolSettings.js +1 -1
- package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +4 -2
- package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +1 -0
- package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +2 -1
- package/cypress/e2e/ILC/ImageHighlight/toolSettings.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +2 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +6 -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/allOrNothingScoringForAllViews.smoke.js +3 -2
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +2 -0
- package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLine/toolSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +3 -4
- package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +4 -0
- package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +2 -3
- package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +5 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +1 -1
- package/cypress/e2e/ILC/SimpleCalculator/calculatorFunctionality.js +3 -0
- package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +6 -3
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +6 -6
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +23 -1
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +476 -0
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +129 -0
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +7 -5
- package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +384 -0
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +3 -3
- package/cypress/e2e/ILC/ToolAudioPlayerNew/standardAudioPlayerStyle.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +6 -6
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +6 -6
- package/cypress/e2e/ILC/chartsDotsPlot/toolSettings.js +1 -1
- package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +84 -84
- package/cypress/pages/audioPlayerPage.js +2 -2
- package/cypress/pages/components/ariaLabelSectionComponent.js +2 -2
- package/cypress/pages/components/connectorStyleStyleAndLayoutCustomizationComponent.js +1 -1
- package/cypress/pages/components/customSettingsSeparatorsComponent.ts +19 -1
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
- package/cypress/pages/components/essayResponseCommonComponents.js +6 -5
- package/cypress/pages/components/imageCanvasComponent.js +2 -2
- package/cypress/pages/components/layoutSectionComponent.js +6 -2
- package/cypress/pages/components/numberLineCommonComponent.js +12 -5
- package/cypress/pages/components/playbackControlsBaseComponent.js +5 -0
- package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/drawingResponsePage.js +18 -1
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +3 -2
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +19 -6
- package/cypress/pages/gridFillPage.js +2 -3
- package/cypress/pages/listOrderingPage.js +19 -12
- package/cypress/pages/matchingPage.js +16 -2
- package/cypress/pages/textEntryMathPage.js +715 -3
- package/cypress/pages/textEntryMathWithImagePage.js +133 -5
- package/package.json +1 -1
@@ -108,7 +108,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
108
108
|
equationEditorFlyout.steps.clickOnOkButton();
|
109
109
|
textEntryMathPage.steps.verifyPreviewScore(14, 18);
|
110
110
|
textEntryMathPage.steps.switchToGradingView();
|
111
|
-
textEntryMathPage.steps.
|
111
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
112
112
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
113
113
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
114
114
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
@@ -124,7 +124,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
124
124
|
equationEditorFlyout.steps.clickOnOkButton();
|
125
125
|
textEntryMathPage.steps.verifyPreviewScore(10, 18);
|
126
126
|
textEntryMathPage.steps.switchToGradingView();
|
127
|
-
textEntryMathPage.steps.
|
127
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
128
128
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
129
129
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
130
130
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
@@ -142,7 +142,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
142
142
|
textEntryMathPage.steps.switchToGradingView();
|
143
143
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
144
144
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
145
|
-
textEntryMathPage.steps.
|
145
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
146
146
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
147
147
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
148
148
|
});
|
@@ -174,8 +174,8 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
174
174
|
textEntryMathPage.steps.verifyPreviewScore(8, 18);
|
175
175
|
textEntryMathPage.steps.switchToGradingView();
|
176
176
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
177
|
-
textEntryMathPage.steps.
|
178
|
-
textEntryMathPage.steps.
|
177
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
178
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
179
179
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
180
180
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
181
181
|
});
|
@@ -108,7 +108,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
108
108
|
equationEditorFlyout.steps.clickOnOkButton();
|
109
109
|
textEntryMathPage.steps.verifyPreviewScore(14, 18);
|
110
110
|
textEntryMathPage.steps.switchToGradingView();
|
111
|
-
textEntryMathPage.steps.
|
111
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
112
112
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
113
113
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
114
114
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
@@ -124,7 +124,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
124
124
|
equationEditorFlyout.steps.clickOnOkButton();
|
125
125
|
textEntryMathPage.steps.verifyPreviewScore(10, 18);
|
126
126
|
textEntryMathPage.steps.switchToGradingView();
|
127
|
-
textEntryMathPage.steps.
|
127
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
128
128
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
129
129
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
130
130
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
@@ -142,7 +142,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
142
142
|
textEntryMathPage.steps.switchToGradingView();
|
143
143
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
144
144
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
145
|
-
textEntryMathPage.steps.
|
145
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
146
146
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
147
147
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
148
148
|
});
|
@@ -174,8 +174,8 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
174
174
|
textEntryMathPage.steps.verifyPreviewScore(4, 18);
|
175
175
|
textEntryMathPage.steps.switchToGradingView();
|
176
176
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
177
|
-
textEntryMathPage.steps.
|
178
|
-
textEntryMathPage.steps.
|
177
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
178
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
179
179
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
180
180
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
181
181
|
});
|
@@ -75,7 +75,7 @@ describe('Create item page - Text Entry Math: Partial different weights', () =>
|
|
75
75
|
equationEditorFlyout.steps.clickOnOkButton();
|
76
76
|
textEntryMathPage.steps.verifyPreviewScore(9, 20);
|
77
77
|
textEntryMathPage.steps.switchToGradingView();
|
78
|
-
textEntryMathPage.steps.
|
78
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
79
79
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
80
80
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
81
81
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
@@ -92,7 +92,7 @@ describe('Create item page - Text Entry Math: Partial different weights', () =>
|
|
92
92
|
textEntryMathPage.steps.switchToGradingView();
|
93
93
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
94
94
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
95
|
-
textEntryMathPage.steps.
|
95
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
96
96
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
97
97
|
});
|
98
98
|
|
@@ -108,7 +108,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
108
108
|
equationEditorFlyout.steps.clickOnOkButton();
|
109
109
|
textEntryMathPage.steps.verifyPreviewScore(8, 18);
|
110
110
|
textEntryMathPage.steps.switchToGradingView();
|
111
|
-
textEntryMathPage.steps.
|
111
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
112
112
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
113
113
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
114
114
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '6×π', '7.07e']);
|
@@ -124,7 +124,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
124
124
|
equationEditorFlyout.steps.clickOnOkButton();
|
125
125
|
textEntryMathPage.steps.verifyPreviewScore(12, 18);
|
126
126
|
textEntryMathPage.steps.switchToGradingView();
|
127
|
-
textEntryMathPage.steps.
|
127
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
128
128
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
129
129
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
130
130
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '6×π', '7.07e']);
|
@@ -142,7 +142,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
142
142
|
textEntryMathPage.steps.switchToGradingView();
|
143
143
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
144
144
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
145
|
-
textEntryMathPage.steps.
|
145
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
146
146
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '6×π', '7.07e']);
|
147
147
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
148
148
|
});
|
@@ -174,8 +174,8 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
174
174
|
textEntryMathPage.steps.verifyPreviewScore(6, 18);
|
175
175
|
textEntryMathPage.steps.switchToGradingView();
|
176
176
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
177
|
-
textEntryMathPage.steps.
|
178
|
-
textEntryMathPage.steps.
|
177
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
178
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
179
179
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '6×π', '7.07e']);
|
180
180
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
181
181
|
});
|
@@ -236,7 +236,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
236
236
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
237
237
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
238
238
|
textEntryMathPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
239
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
239
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectAnswer', '6×π', '7.07e']);
|
240
240
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
241
241
|
});
|
242
242
|
});
|
@@ -108,7 +108,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
108
108
|
equationEditorFlyout.steps.clickOnOkButton();
|
109
109
|
textEntryMathPage.steps.verifyPreviewScore(12, 18);
|
110
110
|
textEntryMathPage.steps.switchToGradingView();
|
111
|
-
textEntryMathPage.steps.
|
111
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
112
112
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
113
113
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
114
114
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
@@ -124,7 +124,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
124
124
|
equationEditorFlyout.steps.clickOnOkButton();
|
125
125
|
textEntryMathPage.steps.verifyPreviewScore(12, 18);
|
126
126
|
textEntryMathPage.steps.switchToGradingView();
|
127
|
-
textEntryMathPage.steps.
|
127
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
128
128
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
129
129
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
130
130
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
@@ -142,7 +142,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
142
142
|
textEntryMathPage.steps.switchToGradingView();
|
143
143
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
144
144
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
145
|
-
textEntryMathPage.steps.
|
145
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
146
146
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
147
147
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
148
148
|
});
|
@@ -174,8 +174,8 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
174
174
|
textEntryMathPage.steps.verifyPreviewScore(6, 18);
|
175
175
|
textEntryMathPage.steps.switchToGradingView();
|
176
176
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
177
|
-
textEntryMathPage.steps.
|
178
|
-
textEntryMathPage.steps.
|
177
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
178
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
179
179
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
180
180
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
181
181
|
});
|
@@ -108,7 +108,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
108
108
|
equationEditorFlyout.steps.clickOnOkButton();
|
109
109
|
textEntryMathPage.steps.verifyPreviewScore(12, 18);
|
110
110
|
textEntryMathPage.steps.switchToGradingView();
|
111
|
-
textEntryMathPage.steps.
|
111
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
112
112
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
113
113
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
114
114
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
@@ -124,7 +124,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
124
124
|
equationEditorFlyout.steps.clickOnOkButton();
|
125
125
|
textEntryMathPage.steps.verifyPreviewScore(8, 18);
|
126
126
|
textEntryMathPage.steps.switchToGradingView();
|
127
|
-
textEntryMathPage.steps.
|
127
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(0);
|
128
128
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
129
129
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
130
130
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
@@ -142,7 +142,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
142
142
|
textEntryMathPage.steps.switchToGradingView();
|
143
143
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
144
144
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
145
|
-
textEntryMathPage.steps.
|
145
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
146
146
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
147
147
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
148
148
|
});
|
@@ -174,8 +174,8 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
174
174
|
textEntryMathPage.steps.verifyPreviewScore(6, 18);
|
175
175
|
textEntryMathPage.steps.switchToGradingView();
|
176
176
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
177
|
-
textEntryMathPage.steps.
|
178
|
-
textEntryMathPage.steps.
|
177
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
178
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
179
179
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct', '2x2y2+4xy+4', '9000%']);
|
180
180
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
181
181
|
});
|
@@ -96,7 +96,7 @@ describe('Create item page - Text Entry Math: Partial equal weights', () => {
|
|
96
96
|
textEntryMathPage.steps.switchToGradingView();
|
97
97
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
98
98
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
99
|
-
textEntryMathPage.steps.
|
99
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
100
100
|
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
101
101
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct1', '2x2y2+4xy+4', '6×π']);
|
102
102
|
});
|
@@ -118,7 +118,29 @@ describe('Text Entry Math - Additional settings : Grading view, ARIA label for t
|
|
118
118
|
utilities.verifyElementVisibilityState(textEntryMathPage.ariaLabelInputField(), 'visible');
|
119
119
|
});
|
120
120
|
|
121
|
-
|
121
|
+
it(`"ARIA label for text containers" label should be displayed`, () => {
|
122
|
+
utilities.verifyInnerText(textEntryMathPage.ariaLabelSectionLabel(), 'ARIA label for text containers');
|
123
|
+
utilities.verifyElementVisibilityState(textEntryMathPage.ariaLabelSectionLabel(), 'visible');
|
124
|
+
});
|
125
|
+
|
126
|
+
it('Two input fields with numeration and "Enter aria label" placeholder should be displayed by default', () => {
|
127
|
+
utilities.verifyElementCount(textEntryMathPage.ariaLabelInputField(), 2);
|
128
|
+
textEntryMathPage.steps.verifyAriaLabelTextInputFields(0);
|
129
|
+
textEntryMathPage.steps.verifyAriaLabelTextInputFields(1);
|
130
|
+
});
|
131
|
+
|
132
|
+
it(`CSS of "ARIA label for text containers" section`, { tags: 'css' }, () => {
|
133
|
+
utilities.verifyCSS(textEntryMathPage.ariaLabelSectionLabel(), {
|
134
|
+
'color': css.color.labels,
|
135
|
+
'font-size': css.fontSize.normal,
|
136
|
+
'font-weight': css.fontWeight.semibold
|
137
|
+
});
|
138
|
+
utilities.verifyCSS(textEntryMathPage.ariaLabelInputField(), {
|
139
|
+
'color': css.color.text,
|
140
|
+
'font-size': css.fontSize.default,
|
141
|
+
'font-weight': css.fontWeight.regular
|
142
|
+
});
|
143
|
+
});
|
122
144
|
|
123
145
|
it('When the users adds a new text container, the count of the aria label text input fields should update accordingly', () => {
|
124
146
|
textEntryMathPage.steps.addResponseArea();
|
@@ -223,7 +223,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
223
223
|
}
|
224
224
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
225
225
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
226
|
-
textEntryMathPage.steps.
|
226
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
227
227
|
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
228
228
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct1', '2x2y2+4xy+4', '6×π']);
|
229
229
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
|
@@ -220,7 +220,7 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
|
|
220
220
|
}
|
221
221
|
textEntryMathPage.steps.verifyCorrectResponseIcon(0);
|
222
222
|
textEntryMathPage.steps.verifyCorrectResponseIcon(1);
|
223
|
-
textEntryMathPage.steps.
|
223
|
+
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
224
224
|
textEntryMathPage.steps.verifyResponseFieldNumerationPreviewTab();
|
225
225
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Correct1', '2x2y2+4xy+4', '6×π']);
|
226
226
|
textEntryMathPage.steps.verifyCorrectAnswerResponsesAriaLabel(1, '2 x squared y squared plus 4 x y plus 4');
|