itemengine-cypress-automation 1.0.244 → 1.0.245
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/BrainingCampManipulative/editTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/headerSection.js +1 -16
- package/cypress/e2e/ILC/ChartsLine/headerSection.js +1 -18
- package/cypress/e2e/ILC/ContentBlocks/editTabBasics.js +3 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +4 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +4 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +5 -2
- package/cypress/e2e/ILC/EssayResponse/equationEditor.smoke.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/clickAndDrop.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/draggableOptions.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/editTabBasicSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +5 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/headerSection.js +5 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/clickAndDrop.js +6 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/draggableOptions.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +8 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownOptionsSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +2 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +6 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/supportedFileTypes.js +3 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +2 -3
- package/cypress/e2e/ILC/FillInTheGapsTextNew/headerSection.js +3 -2
- package/cypress/e2e/ILC/Graphing/headerSection.js +3 -2
- package/cypress/e2e/ILC/GridFill/headerSection.js +3 -1
- package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +3 -3
- package/cypress/e2e/ILC/ImageHighlight/additionalSettingsBasic.js +2 -0
- package/cypress/e2e/ILC/ImageHighlight/headerSection.js +4 -2
- package/cypress/e2e/ILC/ListOrderingDropdown/specifyCorrectAnswerSection.js +8 -6
- package/cypress/e2e/ILC/ListOrderingNew/headerSection.js +8 -2
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +225 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/partialDifferentWeightsBasic.js +89 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +225 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +225 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +405 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +201 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/partialEqualWeightsBasic.js +147 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +171 -0
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +203 -0
- package/cypress/e2e/ILC/Matching/clickAndDrop.js +5 -3
- package/cypress/e2e/ILC/Matching/headerSection.js +10 -2
- package/cypress/e2e/ILC/Matching/questionInstructionsAndPromptSection.js +17 -4
- package/cypress/e2e/ILC/Matching/styleAndLayoutCustomizationDropzoneBorderStyleProperties.js +113 -0
- package/cypress/e2e/ILC/Matching/styleAndLayoutCustomizationDropzoneProperties.js +251 -0
- package/cypress/e2e/ILC/Matching/styleAndLayoutCustomizationLayoutProperties.js +227 -0
- package/cypress/e2e/ILC/MultipleSelection/headerSection.js +5 -2
- package/cypress/e2e/ILC/MultipleSelectionGridNew/headerSection.js +9 -2
- package/cypress/e2e/ILC/NumberLine/headerSection.js +3 -2
- package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +4 -3
- package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +4 -2
- package/cypress/e2e/ILC/SingleSelection/headerSection.js +5 -2
- package/cypress/e2e/ILC/SingleSelectionGridNew/headerSection.js +9 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/editTabScoringSection.js +6 -6
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +10 -10
- package/cypress/e2e/ILC/TextEntryMath/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/TextSelection/headerSection.js +5 -2
- package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.js +2 -1
- package/cypress/e2e/ILC/ToolAudioPlayerNew/headerSection.js +2 -3
- package/cypress/e2e/ILC/UploadResponse/editTabBasicSection.js +2 -1
- package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +2 -2
- package/cypress/pages/components/autoScoredSetCorrectAnswerSection.js +11 -0
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +27 -9
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -2
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +2 -1
- package/cypress/pages/components/optionsWrapperComponent.js +2 -2
- package/cypress/pages/components/scoringSectionBaseEditTab.js +2 -2
- package/cypress/pages/createItemPage.js +1 -1
- package/cypress/pages/dialogBoxBase.js +7 -13
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +5 -4
- package/cypress/pages/graphingPage.js +7 -4
- package/cypress/pages/gridFillPage.js +16 -15
- package/cypress/pages/matchingPage.js +613 -6
- package/cypress/pages/multipleSelectionGridPage.js +5 -4
- package/cypress/pages/multipleSelectionPage.js +5 -4
- package/cypress/pages/numberLinePage.js +13 -2
- package/cypress/pages/shortTextResponsePage.js +3 -2
- package/cypress/pages/textEntryMathPage.js +7 -0
- package/package.json +1 -1
@@ -189,18 +189,19 @@ const tests = {
|
|
189
189
|
gridQuestionCommonComponent.steps.setAnswerInSpecifyCorrectAnswerSection({ row: 1, column: 0 });
|
190
190
|
});
|
191
191
|
|
192
|
-
it(`When the user has unchecked all the options in the ${accordionName} accordion, \'Error: Please set a correct answer.\' error message should
|
192
|
+
it(`When the user has unchecked all the options in the ${accordionName} accordion, \'Error: Please set a correct answer.\' error message should be thrown along with an error icon on the \'${accordionName}\' accordion`, () => {
|
193
193
|
gridQuestionCommonComponent.steps.uncheckOptionInSpecifyCorrectAnswerSection({ row: 1, column: 0 });
|
194
|
-
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), '
|
194
|
+
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible')
|
195
|
+
utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Please set a correct answer.');
|
195
196
|
if (accordionName == 'Correct') {
|
196
197
|
autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
|
197
198
|
.within(() => {
|
198
|
-
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), '
|
199
|
+
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
|
199
200
|
});
|
200
201
|
} else {
|
201
202
|
autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
|
202
203
|
.within(() => {
|
203
|
-
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), '
|
204
|
+
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
|
204
205
|
});
|
205
206
|
};
|
206
207
|
});
|
@@ -867,17 +867,18 @@ const tests = {
|
|
867
867
|
multipleSelectionPage.steps.uncheckOptionsCheckboxInSpecifyCorrectAnswerSection(1);
|
868
868
|
});
|
869
869
|
|
870
|
-
it(`When the user has unchecked all selected options in the ${accordionName} accordion, \'Error: Please set a correct answer.\' error message should
|
871
|
-
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), '
|
870
|
+
it(`When the user has unchecked all selected options in the ${accordionName} accordion, \'Error: Please set a correct answer.\' error message should be thrown along with an error icon on the \'${accordionName}\' accordion`, () => {
|
871
|
+
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible')
|
872
|
+
utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Please set a correct answer.');
|
872
873
|
if (accordionName == 'Correct') {
|
873
874
|
autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
|
874
875
|
.within(() => {
|
875
|
-
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), '
|
876
|
+
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
|
876
877
|
});
|
877
878
|
} else {
|
878
879
|
autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
|
879
880
|
.within(() => {
|
880
|
-
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), '
|
881
|
+
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
|
881
882
|
});
|
882
883
|
};
|
883
884
|
});
|
@@ -1452,8 +1452,19 @@ const tests = {
|
|
1452
1452
|
it(`When the user resets the number line in the ${accordionName} accordion, \'Error: Please set a correct answer.\' error message should be thrown along with an error icon on the \'${accordionName}\' accordion`, () => {
|
1453
1453
|
numberLinePage.steps.selectNumberLineControlOptionSpecifyCorrectAnswerSection('Reset');
|
1454
1454
|
numberLinePage.steps.confirmReset();
|
1455
|
-
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), '
|
1456
|
-
utilities.
|
1455
|
+
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible');
|
1456
|
+
utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Please set a correct answer.');
|
1457
|
+
if (accordionName == 'Correct') {
|
1458
|
+
autoScoredSpecifyCorrectAnswerSection.correctAnswerAccordion()
|
1459
|
+
.within(() => {
|
1460
|
+
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
|
1461
|
+
});
|
1462
|
+
} else {
|
1463
|
+
autoScoredSpecifyCorrectAnswerSection.alternativeAnswerAccordion()
|
1464
|
+
.within(() => {
|
1465
|
+
utilities.verifyElementVisibilityState(autoScoredSpecifyCorrectAnswerSection.specifyCorrectAnswerErrorIcon(), 'visible');
|
1466
|
+
});
|
1467
|
+
};
|
1457
1468
|
});
|
1458
1469
|
|
1459
1470
|
autoScoredSpecifyCorrectAnswerSection.tests.verifyAutoScoredCorrectAnswerErrorMessageCSSAndA11y();
|
@@ -924,9 +924,10 @@ const tests = {
|
|
924
924
|
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Petals');
|
925
925
|
});
|
926
926
|
|
927
|
-
it('When user focuses in and out of the response accordion \'Answer\' input field, \'Error: Answer is required.\' error message should
|
927
|
+
it('When user focuses in and out of the response accordion \'Answer\' input field, \'Error: Answer is required.\' error message should be displayed', () => {
|
928
928
|
shortTextResponsePage.steps.clearAndFocusOutOfSpecifyCorrectAnswerInputField();
|
929
|
-
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), '
|
929
|
+
utilities.verifyElementVisibilityState(commonComponents.errorMessage(), 'visible');
|
930
|
+
utilities.verifyInnerText(commonComponents.errorMessage(), 'Error: Answer is required.');
|
930
931
|
});
|
931
932
|
|
932
933
|
autoScoredSpecifyCorrectAnswerSection.tests.verifyAutoScoredCorrectAnswerErrorMessageCSSAndA11y();
|
@@ -128,6 +128,13 @@ const steps = {
|
|
128
128
|
...ckEditorToolbar.steps,
|
129
129
|
...colorPopupComponent.steps,
|
130
130
|
|
131
|
+
switchToGradingView: () => {
|
132
|
+
autoScoredScoringPreviewTab.gradingViewRadioButton()
|
133
|
+
.click()
|
134
|
+
.should('be.checked');
|
135
|
+
cy.wait(1000);
|
136
|
+
},
|
137
|
+
|
131
138
|
verifyAddStructureTabIsSelected: () => {
|
132
139
|
textEntryMathPage.addStructureTab()
|
133
140
|
.should('have.attr', 'aria-selected', 'true');
|