itemengine-cypress-automation 1.0.275-cssUpdates12Dec-bbaeace.0 → 1.0.276-updatedRepo12thDec-303c8a0.0
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 +1 -0
- 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 +8 -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/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/additionalSettingsForAnswerInputFields.js +23 -1
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +476 -0
- package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +129 -0
- 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 +716 -4
- package/cypress/pages/textEntryMathWithImagePage.js +133 -5
- package/package.json +1 -1
@@ -174,7 +174,7 @@ const selectors = {
|
|
174
174
|
correctAnswerLabel: () => cy.get('[class*="GridFillResponsestyles__CorrectAnswerLabel"]'),
|
175
175
|
warningMessageContainer: () => cy.get('.disabled-wrapper-cls'),
|
176
176
|
warningMessage: () => cy.get('.disabled-wrapper-cls [class*="DisabledTextWrapper"]'),
|
177
|
-
resetButton: () => cy.get('[class*="reset-color-wrapper"] button')
|
177
|
+
resetButton: () => cy.get('[class*="reset-color-wrapper"] button')
|
178
178
|
}
|
179
179
|
|
180
180
|
const steps = {
|
@@ -2849,8 +2849,7 @@ const steps = {
|
|
2849
2849
|
scoringSectionBaseEditTab.pointsInputField()
|
2850
2850
|
.eq(0)
|
2851
2851
|
.should('have.value', points)
|
2852
|
-
|
2853
|
-
},
|
2852
|
+
}
|
2854
2853
|
}
|
2855
2854
|
|
2856
2855
|
const tests = {
|
@@ -125,6 +125,8 @@ const selectors = {
|
|
125
125
|
leftToggleButton: () => cy.get('[data-ngie-testid="left-toggle-button"]'),
|
126
126
|
rightToggleButton: () => cy.get('[data-ngie-testid="right-toggle-button"]'),
|
127
127
|
pannelPlacementRightToggle: () => cy.get('.panel-placement-reversed-cls'),
|
128
|
+
correctIconNew: () => cy.get('[class*="ClozeWithDragAndDropstyles__TickIconWrapper"].icon-correct'),
|
129
|
+
incorrectIconNew: () => cy.get('[class*="ClozeWithDragAndDropstyles__TickIconWrapper"].icon-incorrect'),
|
128
130
|
}
|
129
131
|
|
130
132
|
const steps = {
|
@@ -244,7 +246,7 @@ const steps = {
|
|
244
246
|
break;
|
245
247
|
case 'none':
|
246
248
|
dragIcon
|
247
|
-
.should('not.
|
249
|
+
.should('not.be.visible');
|
248
250
|
break;
|
249
251
|
default:
|
250
252
|
throw new Error('Invalid drag handle option');
|
@@ -294,7 +296,7 @@ const steps = {
|
|
294
296
|
utilities.verifyElementVisibilityState(listOrderingPage.connectorIcon().eq(connector), 'visible');
|
295
297
|
}
|
296
298
|
},
|
297
|
-
|
299
|
+
|
298
300
|
/**
|
299
301
|
* Verifies the connector.
|
300
302
|
* @param {string} connectorName - name of the connector
|
@@ -405,7 +407,7 @@ const steps = {
|
|
405
407
|
.eq(optionIndex)
|
406
408
|
.find('[role="math"]')
|
407
409
|
.should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
|
408
|
-
|
410
|
+
// .contains(constants.CKEditorInputFieldEnteredEquationText);
|
409
411
|
},
|
410
412
|
|
411
413
|
/**
|
@@ -500,7 +502,7 @@ const steps = {
|
|
500
502
|
.eq(optionIndex)
|
501
503
|
.find('[role="math"]')
|
502
504
|
.should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
|
503
|
-
|
505
|
+
// .contains(constants.CKEditorInputFieldEnteredEquationText);
|
504
506
|
},
|
505
507
|
|
506
508
|
/**
|
@@ -686,7 +688,7 @@ const steps = {
|
|
686
688
|
utilities.getNthElement(listOrderingPage.optionSpecifyCorrectAnswerSection(), index)
|
687
689
|
.find('[role="math"]')
|
688
690
|
.should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
|
689
|
-
|
691
|
+
// .contains(constants.CKEditorInputFieldEnteredEquationText);
|
690
692
|
},
|
691
693
|
|
692
694
|
/**
|
@@ -871,7 +873,7 @@ const steps = {
|
|
871
873
|
.eq(optionIndex)
|
872
874
|
.find('[role="math"]')
|
873
875
|
.should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
|
874
|
-
|
876
|
+
// .contains(constants.CKEditorInputFieldEnteredEquationText);
|
875
877
|
},
|
876
878
|
|
877
879
|
/**
|
@@ -1228,7 +1230,7 @@ const steps = {
|
|
1228
1230
|
.eq(optionIndex)
|
1229
1231
|
.find('[role="math"]')
|
1230
1232
|
.should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
|
1231
|
-
|
1233
|
+
// .contains(constants.CKEditorInputFieldEnteredEquationText);
|
1232
1234
|
},
|
1233
1235
|
|
1234
1236
|
/**
|
@@ -1272,7 +1274,7 @@ const steps = {
|
|
1272
1274
|
.eq(optionIndex)
|
1273
1275
|
.find('[role="math"]')
|
1274
1276
|
.should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
|
1275
|
-
|
1277
|
+
// .contains(constants.CKEditorInputFieldEnteredEquationText);
|
1276
1278
|
},
|
1277
1279
|
|
1278
1280
|
/**
|
@@ -1547,7 +1549,7 @@ const steps = {
|
|
1547
1549
|
.eq(optionIndex)
|
1548
1550
|
.find('[role="math"]')
|
1549
1551
|
.should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
|
1550
|
-
|
1552
|
+
// .contains(constants.CKEditorInputFieldEnteredEquationText);
|
1551
1553
|
},
|
1552
1554
|
|
1553
1555
|
/**
|
@@ -1559,7 +1561,7 @@ const steps = {
|
|
1559
1561
|
.eq(optionIndex)
|
1560
1562
|
.find('[role="math"]')
|
1561
1563
|
.should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
|
1562
|
-
|
1564
|
+
// .contains(constants.CKEditorInputFieldEnteredEquationText);
|
1563
1565
|
},
|
1564
1566
|
|
1565
1567
|
/**
|
@@ -1571,7 +1573,7 @@ const steps = {
|
|
1571
1573
|
.eq(optionIndex)
|
1572
1574
|
.find('[role="math"]')
|
1573
1575
|
.should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
|
1574
|
-
|
1576
|
+
// .contains(constants.CKEditorInputFieldEnteredEquationText);
|
1575
1577
|
},
|
1576
1578
|
|
1577
1579
|
/**
|
@@ -1583,7 +1585,7 @@ const steps = {
|
|
1583
1585
|
.eq(optionIndex)
|
1584
1586
|
.find('[role="math"]')
|
1585
1587
|
.should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
|
1586
|
-
|
1588
|
+
// .contains(constants.CKEditorInputFieldEnteredEquationText);
|
1587
1589
|
},
|
1588
1590
|
|
1589
1591
|
/**
|
@@ -1713,6 +1715,11 @@ const steps = {
|
|
1713
1715
|
.should('have.css', 'pointer-events', 'none');
|
1714
1716
|
});
|
1715
1717
|
},
|
1718
|
+
|
1719
|
+
verifyCorrectIncorrectIconsNotExistListOrderingReorderAsSeparate: () => {
|
1720
|
+
utilities.verifyElementVisibilityState(listOrderingPage.correctIconNew(), 'notExist');
|
1721
|
+
utilities.verifyElementVisibilityState(listOrderingPage.incorrectIconNew(), 'notExist');
|
1722
|
+
}
|
1716
1723
|
}
|
1717
1724
|
|
1718
1725
|
const tests = {
|
@@ -167,6 +167,7 @@ const selectors = {
|
|
167
167
|
draggableOptionsLabel: () => cy.get('.draggable-options-label'),
|
168
168
|
dragHandleIconLabel: () => cy.get('[class*="__SubSectionLabel"]').eq(3),
|
169
169
|
dragHandle: () => cy.get('[class*="DraggableItemstyle__ItemWrapper"] [class*="drag"]'),
|
170
|
+
dragHandleNew: () => cy.get('[class*="DraggableItemstyle__ItemContainer"] .drag-icon-button'),
|
170
171
|
dragHandleOptions: () => cy.get('.drag-handle-icon-block'),
|
171
172
|
draggableOptionPanelPlacementLabel: () => cy.get('.draggable-option-panel-label'),
|
172
173
|
panelPlacementLabel: () => cy.get('.panel-placement-style .options-label'),
|
@@ -893,6 +894,19 @@ const steps = {
|
|
893
894
|
});
|
894
895
|
},
|
895
896
|
|
897
|
+
/**
|
898
|
+
* @description Verifies the incorrect option icon for a specified dropzone in the Preview Tab.
|
899
|
+
* @param {number} dropzoneIndex - The index of the dropzone to verify.
|
900
|
+
* @param {number} optionIndex - The index of the option to verify.
|
901
|
+
*/
|
902
|
+
verifyIncorrectOptionIconForEmptyOption: (dropzoneIndex) => {
|
903
|
+
matchingPage.dropzonePreviewTab()
|
904
|
+
.eq(dropzoneIndex)
|
905
|
+
.within(() => {
|
906
|
+
utilities.verifyElementVisibilityState(autoScoredScoringPreviewTab.incorrectIcon(), 'exist');
|
907
|
+
});
|
908
|
+
},
|
909
|
+
|
896
910
|
/**
|
897
911
|
* @description Verifies the absence of a correct/incorrect option icon for a specified option in the Preview Tab.
|
898
912
|
* @param {number} optionIndex - The index of the option to verify.
|
@@ -2299,7 +2313,7 @@ const steps = {
|
|
2299
2313
|
.should('have.class', 'drag-arrows-icon');
|
2300
2314
|
break;
|
2301
2315
|
case 'none':
|
2302
|
-
matchingPage.
|
2316
|
+
matchingPage.dragHandleNew()
|
2303
2317
|
.should('not.exist');
|
2304
2318
|
break;
|
2305
2319
|
}
|
@@ -2338,7 +2352,7 @@ const steps = {
|
|
2338
2352
|
case 'none':
|
2339
2353
|
matchingPage.previewTabQuestionWrapper()
|
2340
2354
|
.within(() => {
|
2341
|
-
matchingPage.
|
2355
|
+
matchingPage.dragHandleNew()
|
2342
2356
|
.should('not.exist');
|
2343
2357
|
});
|
2344
2358
|
break;
|