itemengine-cypress-automation 1.0.275-cssUpdates12Dec-bbaeace.0 → 1.0.275
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
@@ -1478,6 +1478,12 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1478
1478
|
ariaLabel: 'TangentT',
|
1479
1479
|
displayText: 'tan'
|
1480
1480
|
},
|
1481
|
+
cot: {
|
1482
|
+
title: 'cot',
|
1483
|
+
textElement: null,
|
1484
|
+
ariaLabel: 'Cot',
|
1485
|
+
displayText: 'cot'
|
1486
|
+
},
|
1481
1487
|
sec: {
|
1482
1488
|
title: 'sec',
|
1483
1489
|
textElement: null,
|
@@ -1490,12 +1496,6 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1490
1496
|
ariaLabel: 'Cosec',
|
1491
1497
|
displayText: 'cosec'
|
1492
1498
|
},
|
1493
|
-
cot: {
|
1494
|
-
title: 'cot',
|
1495
|
-
textElement: null,
|
1496
|
-
ariaLabel: 'Cot',
|
1497
|
-
displayText: 'cot'
|
1498
|
-
},
|
1499
1499
|
sinInverse: {
|
1500
1500
|
title: 'sin inverse',
|
1501
1501
|
textElement: null,
|
@@ -1514,6 +1514,12 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1514
1514
|
ariaLabel: 'TanInverse',
|
1515
1515
|
displayText: 'tan−1'
|
1516
1516
|
},
|
1517
|
+
cotInverse: {
|
1518
|
+
title: 'cot inverse',
|
1519
|
+
textElement: null,
|
1520
|
+
ariaLabel: 'CotInverse',
|
1521
|
+
displayText: 'cot−1'
|
1522
|
+
},
|
1517
1523
|
secInverse: {
|
1518
1524
|
title: 'sec inverse',
|
1519
1525
|
textElement: null,
|
@@ -1525,12 +1531,6 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1525
1531
|
textElement: null,
|
1526
1532
|
ariaLabel: 'CosecInverse',
|
1527
1533
|
displayText: 'csc−1'
|
1528
|
-
},
|
1529
|
-
cotInverse: {
|
1530
|
-
title: 'cot inverse',
|
1531
|
-
textElement: null,
|
1532
|
-
ariaLabel: 'CotInverse',
|
1533
|
-
displayText: 'cot−1'
|
1534
1534
|
}
|
1535
1535
|
}
|
1536
1536
|
},
|
@@ -1754,17 +1754,11 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1754
1754
|
measurement: {
|
1755
1755
|
displayName: 'Measurement',
|
1756
1756
|
symbols: {
|
1757
|
-
|
1758
|
-
title: '
|
1759
|
-
textElement: null,
|
1760
|
-
ariaLabel: 'Gram',
|
1761
|
-
displayText: 'g'
|
1762
|
-
},
|
1763
|
-
meter: {
|
1764
|
-
title: 'Meter',
|
1757
|
+
millilitre: {
|
1758
|
+
title: 'Millilitre',
|
1765
1759
|
textElement: null,
|
1766
|
-
ariaLabel: '
|
1767
|
-
displayText: '
|
1760
|
+
ariaLabel: 'Millilitre',
|
1761
|
+
displayText: 'mL'
|
1768
1762
|
},
|
1769
1763
|
litre: {
|
1770
1764
|
title: 'Litre',
|
@@ -1772,41 +1766,23 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1772
1766
|
ariaLabel: 'Litre',
|
1773
1767
|
displayText: 'L'
|
1774
1768
|
},
|
1775
|
-
|
1776
|
-
title: '
|
1777
|
-
textElement: null,
|
1778
|
-
ariaLabel: 'Second',
|
1779
|
-
displayText: 's'
|
1780
|
-
},
|
1781
|
-
kilogram: {
|
1782
|
-
title: 'Kilogram',
|
1783
|
-
textElement: null,
|
1784
|
-
ariaLabel: 'Kilogram',
|
1785
|
-
displayText: 'kg'
|
1786
|
-
},
|
1787
|
-
milligram: {
|
1788
|
-
title: 'Milligram',
|
1789
|
-
textElement: null,
|
1790
|
-
ariaLabel: 'Milligram',
|
1791
|
-
displayText: 'mg'
|
1792
|
-
},
|
1793
|
-
microgram: {
|
1794
|
-
title: 'Microgram',
|
1769
|
+
fluidOunce: {
|
1770
|
+
title: 'Fluid Ounce',
|
1795
1771
|
textElement: null,
|
1796
|
-
ariaLabel: '
|
1797
|
-
displayText: '
|
1772
|
+
ariaLabel: 'FluidOunce',
|
1773
|
+
displayText: 'fl oz'
|
1798
1774
|
},
|
1799
|
-
|
1800
|
-
title: '
|
1775
|
+
pint: {
|
1776
|
+
title: 'Pint',
|
1801
1777
|
textElement: null,
|
1802
|
-
ariaLabel: '
|
1803
|
-
displayText: '
|
1778
|
+
ariaLabel: 'Pint',
|
1779
|
+
displayText: 'pt'
|
1804
1780
|
},
|
1805
|
-
|
1806
|
-
title: '
|
1781
|
+
gallon: {
|
1782
|
+
title: 'Gallon',
|
1807
1783
|
textElement: null,
|
1808
|
-
ariaLabel: '
|
1809
|
-
displayText: '
|
1784
|
+
ariaLabel: 'Gallon',
|
1785
|
+
displayText: 'gal'
|
1810
1786
|
},
|
1811
1787
|
millimeter: {
|
1812
1788
|
title: 'Millimeter',
|
@@ -1814,29 +1790,23 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1814
1790
|
ariaLabel: 'Millimeter',
|
1815
1791
|
displayText: 'mm'
|
1816
1792
|
},
|
1817
|
-
|
1818
|
-
title: '
|
1819
|
-
textElement: null,
|
1820
|
-
ariaLabel: 'Millilitre',
|
1821
|
-
displayText: 'mL'
|
1822
|
-
},
|
1823
|
-
millisecond: {
|
1824
|
-
title: 'Millisecond',
|
1793
|
+
centimeter: {
|
1794
|
+
title: 'Centimeter',
|
1825
1795
|
textElement: null,
|
1826
|
-
ariaLabel: '
|
1827
|
-
displayText: '
|
1796
|
+
ariaLabel: 'Centimeter',
|
1797
|
+
displayText: 'cm'
|
1828
1798
|
},
|
1829
|
-
|
1830
|
-
title: '
|
1799
|
+
meter: {
|
1800
|
+
title: 'Meter',
|
1831
1801
|
textElement: null,
|
1832
|
-
ariaLabel: '
|
1833
|
-
displayText: '
|
1802
|
+
ariaLabel: 'Meter',
|
1803
|
+
displayText: 'm'
|
1834
1804
|
},
|
1835
|
-
|
1836
|
-
title: '
|
1805
|
+
kilometer: {
|
1806
|
+
title: 'Kilometer',
|
1837
1807
|
textElement: null,
|
1838
|
-
ariaLabel: '
|
1839
|
-
displayText: '
|
1808
|
+
ariaLabel: 'Kilometer',
|
1809
|
+
displayText: 'km'
|
1840
1810
|
},
|
1841
1811
|
inch: {
|
1842
1812
|
title: 'Inch',
|
@@ -1856,24 +1826,54 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1856
1826
|
ariaLabel: 'Mile',
|
1857
1827
|
displayText: 'mi'
|
1858
1828
|
},
|
1859
|
-
|
1860
|
-
title: '
|
1829
|
+
microgram: {
|
1830
|
+
title: 'Microgram',
|
1861
1831
|
textElement: null,
|
1862
|
-
ariaLabel: '
|
1863
|
-
displayText: '
|
1832
|
+
ariaLabel: 'Microgram',
|
1833
|
+
displayText: 'µg'
|
1864
1834
|
},
|
1865
|
-
|
1866
|
-
title: '
|
1835
|
+
milligram: {
|
1836
|
+
title: 'Milligram',
|
1867
1837
|
textElement: null,
|
1868
|
-
ariaLabel: '
|
1869
|
-
displayText: '
|
1838
|
+
ariaLabel: 'Milligram',
|
1839
|
+
displayText: 'mg'
|
1870
1840
|
},
|
1871
|
-
|
1872
|
-
title: '
|
1841
|
+
gram: {
|
1842
|
+
title: 'Gram',
|
1873
1843
|
textElement: null,
|
1874
|
-
ariaLabel: '
|
1875
|
-
displayText: '
|
1876
|
-
}
|
1844
|
+
ariaLabel: 'Gram',
|
1845
|
+
displayText: 'g'
|
1846
|
+
},
|
1847
|
+
kilogram: {
|
1848
|
+
title: 'Kilogram',
|
1849
|
+
textElement: null,
|
1850
|
+
ariaLabel: 'Kilogram',
|
1851
|
+
displayText: 'kg'
|
1852
|
+
},
|
1853
|
+
ounce: {
|
1854
|
+
title: 'Ounce',
|
1855
|
+
textElement: null,
|
1856
|
+
ariaLabel: 'Ounce',
|
1857
|
+
displayText: 'oz'
|
1858
|
+
},
|
1859
|
+
Pound: {
|
1860
|
+
title: 'Pound',
|
1861
|
+
textElement: null,
|
1862
|
+
ariaLabel: 'Pound',
|
1863
|
+
displayText: 'lb'
|
1864
|
+
},
|
1865
|
+
millisecond: {
|
1866
|
+
title: 'Millisecond',
|
1867
|
+
textElement: null,
|
1868
|
+
ariaLabel: 'Millisecond',
|
1869
|
+
displayText: 'ms'
|
1870
|
+
},
|
1871
|
+
second: {
|
1872
|
+
title: 'Second',
|
1873
|
+
textElement: null,
|
1874
|
+
ariaLabel: 'Second',
|
1875
|
+
displayText: 's'
|
1876
|
+
}
|
1877
1877
|
}
|
1878
1878
|
},
|
1879
1879
|
|
@@ -2157,7 +2157,7 @@ export const equationEditorCategoriesAndSymbols = {
|
|
2157
2157
|
displayText: '∝'
|
2158
2158
|
},
|
2159
2159
|
bullet: {
|
2160
|
-
title: 'Dot Multiplier
|
2160
|
+
title: 'Dot Multiplier',
|
2161
2161
|
textElement: null,
|
2162
2162
|
ariaLabel: 'DotMultiplier',
|
2163
2163
|
displayText: '•'
|
@@ -71,9 +71,9 @@ const selectors = {
|
|
71
71
|
deleteTranscriptButton: () => cy.get('[aria-label*="Delete"]'),
|
72
72
|
|
73
73
|
//Preview tab
|
74
|
-
volumeControlButton: () => cy.get('.audio-
|
74
|
+
volumeControlButton: () => cy.get('.audio-player-volume-wrapper .audio-player-icon'),
|
75
75
|
playbackPlayButton: () => cy.get('.audio-resource-preview-wrapper-without-print button[aria-label="Play"]'),
|
76
|
-
playbackPauseButton: () => cy.get('.audio-
|
76
|
+
playbackPauseButton: () => cy.get('.audio-player-play-pause-btn button[aria-label="Pause"]'),
|
77
77
|
backwardButton: () => cy.get('.forward-backward-buttons-wrapper [aria-label*="Backward"]'),
|
78
78
|
forwardButton: () => cy.get('.forward-backward-buttons-wrapper [aria-label*="Forward"]'),
|
79
79
|
playbackTime: () => cy.get('.audio-player-current-time'),
|
@@ -3,8 +3,8 @@ const css = Cypress.env('css');
|
|
3
3
|
|
4
4
|
const selectors = {
|
5
5
|
ariaLabelInputField: () => cy.get('[aria-label*="Enter ARIA label"]'),
|
6
|
-
inputFieldNumeration: () => cy.get('.MuiInputAdornment-root'),
|
7
|
-
ariaLabelSectionLabel: () => cy.get('[class*="AriaLabel"][class*="__LabelWrapper"]'),
|
6
|
+
inputFieldNumeration: () => cy.get('.MuiInputAdornment-root,[class*="ClozeMathstyle__Numeration"]'),
|
7
|
+
ariaLabelSectionLabel: () => cy.get('[class*="AriaLabel"][class*="__LabelWrapper"],[class*="ClozeMathstyle__AriaLabelText"]'),
|
8
8
|
}
|
9
9
|
|
10
10
|
const steps = {
|
@@ -5,7 +5,7 @@ const selectors = {
|
|
5
5
|
diamondEndPointShapeButton: () => cy.get('button[aria-label="diamond connector end point shape"]'),
|
6
6
|
noneEndPointShapeButton: () => cy.get('button[aria-label="none connector end point shape"]'),
|
7
7
|
connectorEndPointShapeLabel: () => cy.get('[class*="__SubSectionLabel"]').eq(2),
|
8
|
-
connectorEndPointShapeOptions: (shapeOption) => cy.get(
|
8
|
+
connectorEndPointShapeOptions: (shapeOption) => cy.get(`button[aria-label*="${shapeOption}"]`),
|
9
9
|
connectorLineTypeOptionsWrapper: () => cy.get('.dropzone-connector-option button'),
|
10
10
|
}
|
11
11
|
|
@@ -3,7 +3,7 @@ const selectors = {
|
|
3
3
|
thousandSeparatorLabel: () => cy.get('.single-select-toggle-group-title').eq(1),
|
4
4
|
decimalSeparatorToggleOptions: (ariaLabel: string | null = null) => {
|
5
5
|
if (ariaLabel) {
|
6
|
-
return cy.get(`.single-select-toggle-group button[aria-label*="${ariaLabel}"]`);
|
6
|
+
return cy.get(`.single-select-toggle-group button[aria-label*="Decimal separator ${ariaLabel}"]`);
|
7
7
|
} else {
|
8
8
|
return cy.get('.single-select-toggle-group button');
|
9
9
|
}
|
@@ -88,6 +88,24 @@ const steps = {
|
|
88
88
|
.should('have.text', 'Tolerance');
|
89
89
|
customSettingsSeparatorComponent.toleranceInputField()
|
90
90
|
.should('be.visible');
|
91
|
+
},
|
92
|
+
|
93
|
+
/**
|
94
|
+
* Verifies the selected state of decimal separator toggle options.
|
95
|
+
* @param {string} option - The aria-label of the option to be verified.
|
96
|
+
*/
|
97
|
+
verifySelectedStateOfDecimalSeparator: (option: string) => {
|
98
|
+
customSettingsSeparatorComponent.decimalSeparatorToggleOptions(option)
|
99
|
+
.should('have.class', 'single-select-toggle-button-selected');
|
100
|
+
},
|
101
|
+
|
102
|
+
/**
|
103
|
+
* Verifies the selected state of thousands separator toggle options.
|
104
|
+
* @param {string} option - The aria-label of the option to be verified.
|
105
|
+
*/
|
106
|
+
verifySelectedStateOfThousandsSeparator: (option: string) => {
|
107
|
+
customSettingsSeparatorComponent.thousandSeparatorToggleOptions(option)
|
108
|
+
.should('have.class', 'single-select-toggle-button-selected');
|
91
109
|
}
|
92
110
|
}
|
93
111
|
|
@@ -345,7 +345,7 @@ const tests = {
|
|
345
345
|
equationEditorSectionCommonComponent.steps.verifyResponseFieldEquationText(0, 'x+5×0');
|
346
346
|
}
|
347
347
|
else {
|
348
|
-
equationEditorSectionCommonComponent.steps.verifyResponseFieldEquationTextNew(0, 'x+5×0
|
348
|
+
equationEditorSectionCommonComponent.steps.verifyResponseFieldEquationTextNew(0, 'x+5×0');
|
349
349
|
}
|
350
350
|
});
|
351
351
|
},
|
@@ -76,6 +76,7 @@ const selectors = {
|
|
76
76
|
responseFieldWordCount: () => cy.get('[class*="InputLimitLabelWrapper"]'),
|
77
77
|
responseFieldEquation: () => cy.get('.cke_widget_element'),
|
78
78
|
responseFieldText: () => cy.get('[class*="EssayResponseGradingViewstyle__GradingViewWrapper"] .question-text-wrapper'),
|
79
|
+
responseFieldTextNew: () => cy.get('[title*="Enter your response to the question here."]'),
|
79
80
|
gradingViewResponseField: () => cy.get('[class*="EssayResponseGradingViewstyle__GradingViewWrapper"] [data-testid*="question-instruction-element"]'),
|
80
81
|
|
81
82
|
//Additional settings, These are old selectors. Need to update them along with additional settings file revamp
|
@@ -610,7 +611,7 @@ const steps = {
|
|
610
611
|
* @param {string} color - The color option number.
|
611
612
|
*/
|
612
613
|
verifyResponseFieldTextColor: (color) => {
|
613
|
-
utilities.verifyCSS(essayResponseCommonComponents.
|
614
|
+
utilities.verifyCSS(essayResponseCommonComponents.responseFieldTextNew().find('span'), {
|
614
615
|
'color': color
|
615
616
|
});
|
616
617
|
},
|
@@ -620,7 +621,7 @@ const steps = {
|
|
620
621
|
* @param {number} size - The font size.
|
621
622
|
*/
|
622
623
|
verifyResponseFieldTextFontSize: (size) => {
|
623
|
-
utilities.verifyCSS(essayResponseCommonComponents.
|
624
|
+
utilities.verifyCSS(essayResponseCommonComponents.responseFieldTextNew().find('span'), {
|
624
625
|
'font-size': `${size}px`
|
625
626
|
});
|
626
627
|
},
|
@@ -630,7 +631,7 @@ const steps = {
|
|
630
631
|
* @param {number} size - The font size.
|
631
632
|
*/
|
632
633
|
verifyResponseFieldTextFontSizeNew: (size) => {
|
633
|
-
utilities.verifyCSS(essayResponseCommonComponents.
|
634
|
+
utilities.verifyCSS(essayResponseCommonComponents.responseFieldTextNew(), {
|
634
635
|
'font-size': `${size}px`
|
635
636
|
});
|
636
637
|
},
|
@@ -641,7 +642,7 @@ const steps = {
|
|
641
642
|
* @param {string} text -response field text
|
642
643
|
*/
|
643
644
|
verifyResponseFieldTextIsHighlighted: (color, text) => {
|
644
|
-
utilities.verifyCSS(essayResponseCommonComponents.
|
645
|
+
utilities.verifyCSS(essayResponseCommonComponents.responseFieldTextNew().find('span').contains(text), {
|
645
646
|
'background-color': color
|
646
647
|
});
|
647
648
|
},
|
@@ -701,7 +702,7 @@ const steps = {
|
|
701
702
|
* @param {string} color - The color option number.
|
702
703
|
*/
|
703
704
|
verifyResponseFieldTextNewColor: (color) => {
|
704
|
-
utilities.verifyCSS(essayResponseCommonComponents.
|
705
|
+
utilities.verifyCSS(essayResponseCommonComponents.responseFieldTextNew().find('p'), {
|
705
706
|
'color': color
|
706
707
|
});
|
707
708
|
},
|
@@ -144,13 +144,13 @@ const steps = {
|
|
144
144
|
verifyCanvasImageTopLeftAligned: () => {
|
145
145
|
imageCanvasComponent.canvasImage()
|
146
146
|
.should('have.css', 'top', '0px')
|
147
|
-
.and('have.css', 'left', '
|
147
|
+
.and('have.css', 'left', '0px');
|
148
148
|
},
|
149
149
|
|
150
150
|
verifyCanvasImageTopLeftAlignedInPreviewTab: () => {
|
151
151
|
imageCanvasComponent.canvasImageInPreviewTab()
|
152
152
|
.should('have.css', 'top', '0px')
|
153
|
-
.and('have.css', 'left', '
|
153
|
+
.and('have.css', 'left', '0px');
|
154
154
|
},
|
155
155
|
|
156
156
|
verifyCanvasImageTopRightAligned: () => {
|
@@ -501,7 +501,9 @@ const steps = {
|
|
501
501
|
}
|
502
502
|
else if (visibility === 'hidden') {
|
503
503
|
layoutSectionComponent.numberLineAxisNumberLineSection()
|
504
|
-
.should('
|
504
|
+
.should('exist')
|
505
|
+
.invoke('attr', 'marker-start')
|
506
|
+
.should('eq', 'null');
|
505
507
|
}
|
506
508
|
else {
|
507
509
|
throw new Error('invalid state string');
|
@@ -520,7 +522,9 @@ const steps = {
|
|
520
522
|
}
|
521
523
|
else if (visibility === 'hidden') {
|
522
524
|
layoutSectionComponent.numberLineAxisNumberLineSection()
|
523
|
-
.should('
|
525
|
+
.should('exist')
|
526
|
+
.invoke('attr', 'marker-end')
|
527
|
+
.should('eq', 'null');
|
524
528
|
}
|
525
529
|
else {
|
526
530
|
throw new Error('invalid state string');
|
@@ -95,7 +95,9 @@ const steps = {
|
|
95
95
|
}
|
96
96
|
else if (visibility === 'hidden') {
|
97
97
|
numberLineCommonComponent.numberLineAxisSpecifyCorrectAnswer()
|
98
|
-
.should('
|
98
|
+
.should('exist')
|
99
|
+
.invoke('attr', 'marker-start')
|
100
|
+
.should('eq', 'null');
|
99
101
|
}
|
100
102
|
else {
|
101
103
|
throw new Error('invalid state string');
|
@@ -114,7 +116,9 @@ const steps = {
|
|
114
116
|
}
|
115
117
|
else if (visibility === 'hidden') {
|
116
118
|
numberLineCommonComponent.numberLineAxisSpecifyCorrectAnswer()
|
117
|
-
.should('
|
119
|
+
.should('exist')
|
120
|
+
.invoke('attr', 'marker-end')
|
121
|
+
.should('eq', 'null');
|
118
122
|
}
|
119
123
|
else {
|
120
124
|
throw new Error('invalid state string');
|
@@ -201,7 +205,9 @@ const steps = {
|
|
201
205
|
}
|
202
206
|
else if (visibility === 'hidden') {
|
203
207
|
numberLineCommonComponent.numberLineAxisPreviewTab()
|
204
|
-
.should('
|
208
|
+
.should('exist')
|
209
|
+
.invoke('attr', 'marker-end')
|
210
|
+
.should('eq', 'null');
|
205
211
|
}
|
206
212
|
else {
|
207
213
|
throw new Error('invalid state string');
|
@@ -220,7 +226,9 @@ const steps = {
|
|
220
226
|
}
|
221
227
|
else if (visibility === 'hidden') {
|
222
228
|
numberLineCommonComponent.numberLineAxisPreviewTab()
|
223
|
-
.should('
|
229
|
+
.should('exist')
|
230
|
+
.invoke('attr', 'marker-end')
|
231
|
+
.should('eq', 'null');
|
224
232
|
}
|
225
233
|
else {
|
226
234
|
throw new Error('invalid state string');
|
@@ -442,7 +450,6 @@ const tests = {
|
|
442
450
|
numberLineCommonComponent.steps.checkCheckbox('Display minor nodes');
|
443
451
|
numberLineCommonComponent.steps.enterTextInAnnotateEveryInputField(1);
|
444
452
|
});
|
445
|
-
|
446
453
|
},
|
447
454
|
|
448
455
|
/**
|
@@ -38,6 +38,11 @@ const steps = {
|
|
38
38
|
.realHover({ position: 'top' });
|
39
39
|
},
|
40
40
|
|
41
|
+
hoverOnMuteUnmuteButton: () => {
|
42
|
+
playbackControlsBaseComponent.volumeControlButton()
|
43
|
+
.trigger('mouseover')
|
44
|
+
},
|
45
|
+
|
41
46
|
hoverOnVolumeControlSlider: () => {
|
42
47
|
playbackControlsBaseComponent.volumeControlSlider()
|
43
48
|
.trigger('mouseover')
|
@@ -65,9 +65,10 @@ const steps = {
|
|
65
65
|
},
|
66
66
|
|
67
67
|
expandScoringTypeDropdown: () => {
|
68
|
+
utilities.scrollIntoView(scoringSectionBaseEditTab.scoringTypeDropdown());
|
68
69
|
scoringSectionBaseEditTab.scoringTypeDropdown()
|
69
70
|
.click();
|
70
|
-
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), '
|
71
|
+
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'exist');
|
71
72
|
},
|
72
73
|
|
73
74
|
/**
|
@@ -194,8 +195,7 @@ const tests = {
|
|
194
195
|
it(`Clicking on Scoring Type dropdown should open a list of scoring types - ${scoringTypeArray}`, () => {
|
195
196
|
scoringSectionBaseEditTab.scoringTypeDropdown()
|
196
197
|
.click();
|
197
|
-
|
198
|
-
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'visible');
|
198
|
+
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'exist');
|
199
199
|
scoringTypeArray.forEach((option, count) => {
|
200
200
|
utilities.verifyInnerText(utilities.getNthElement(scoringSectionBaseEditTab.scoringTypeDropdownListOptions(), count), option);
|
201
201
|
});
|
@@ -214,8 +214,9 @@ const selectors = {
|
|
214
214
|
}
|
215
215
|
},
|
216
216
|
studentViewUpperCanvas: () => cy.get('.upper-canvas').eq(0),
|
217
|
+
gradingViewPlayFeatureButton: () => cy.get('[class*="DrawingResponsePreviewstyles__PlayBtnWrapper"] button'),
|
218
|
+
strokeFontColorButton: () => cy.get('button[aria-label=" StrokeFontColor"]'),
|
217
219
|
studentViewLowerCanvas: () => cy.get('.lower-canvas'),
|
218
|
-
gradingViewPlayFeatureButton: () => cy.get('[class*="DrawingResponsePreviewstyles__PlayBtnWrapper"] button')
|
219
220
|
}
|
220
221
|
|
221
222
|
const steps = {
|
@@ -272,6 +273,17 @@ const steps = {
|
|
272
273
|
});
|
273
274
|
},
|
274
275
|
|
276
|
+
/**
|
277
|
+
* @description deSelect toolbar options in edit tab
|
278
|
+
* @param {string[]} arrayOfToolbarOptions Array of option tiles to be selected
|
279
|
+
*/
|
280
|
+
deselectOptionsTiles: (arrayOfToolbarOptions) => {
|
281
|
+
arrayOfToolbarOptions.forEach((arialabel) => {
|
282
|
+
drawingResponsePage.additionalOptionsTiles(arialabel)
|
283
|
+
.click()
|
284
|
+
});
|
285
|
+
},
|
286
|
+
|
275
287
|
/**
|
276
288
|
* @param {string} title title of secondary popup
|
277
289
|
* @description this function verifies title of the secondary option popup
|
@@ -783,6 +795,11 @@ const steps = {
|
|
783
795
|
utilities.hoverAwayFromElement(drawingResponsePage.colorPickerBlock().last());
|
784
796
|
},
|
785
797
|
|
798
|
+
hoverOutFromStrokeColorButton: () => {
|
799
|
+
utilities.hoverOverElement(drawingResponsePage.strokeFontColorButton());
|
800
|
+
utilities.hoverAwayFromElement(drawingResponsePage.strokeFontColorButton());
|
801
|
+
},
|
802
|
+
|
786
803
|
/**
|
787
804
|
* @param {number} opacityValue value of opacity on the opacity slider
|
788
805
|
* @description this function is used to verify the opacity value on the opacity slider
|
@@ -46,6 +46,7 @@ const selectors = {
|
|
46
46
|
partialEqualWeightsPointsPerResponseScore: () => cy.get('.alternate-points-points-per-value-span'),
|
47
47
|
pointsLabel: () => cy.get('.cloze-with-dropdown-partial-points-per-response-label'),
|
48
48
|
dragHandle: () => cy.get('[class*="drag"]'),
|
49
|
+
optionDragHandleNew: () => cy.get('.options-flex-wrapper [class*="drag"] svg'),
|
49
50
|
//Preview tab
|
50
51
|
questionBorderPreviewTab: () => cy.get('[class*="ClozeWithDragAndDropstyles__WrapperDiv"]'),
|
51
52
|
optionPreviewTab: () => cy.get('.draggable-selected-item'),
|
@@ -928,7 +929,7 @@ const steps = {
|
|
928
929
|
.should('have.class', 'drag-arrows-icon');
|
929
930
|
break;
|
930
931
|
case 'None':
|
931
|
-
utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.
|
932
|
+
utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.optionDragHandleNew(), 'notExist');
|
932
933
|
break;
|
933
934
|
default:
|
934
935
|
throw new Error('Incorrect drag icon');
|
@@ -1009,7 +1010,7 @@ const tests = {
|
|
1009
1010
|
* @param {{'Correct' | 'Alternative'}} accordionName - The name of the accordion to be used in the validation.
|
1010
1011
|
* @example - verifySpecifyCorrectAnswerAccordionContentsAndFunctionality('Correct');
|
1011
1012
|
*/
|
1012
|
-
|
1013
|
+
verifySpecifyCorrectAnswerAccordionContentsAndFunctionality: (accordionName) => {
|
1013
1014
|
it(`The user should be able to drop option in the dropzone in the ${accordionName} accordion`, () => {
|
1014
1015
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0 });
|
1015
1016
|
});
|
@@ -94,6 +94,7 @@ const selectors = {
|
|
94
94
|
correctAnswerSectionWithoutEnumerationWrapper: () => cy.get('[class*="Canvasstyle__DragAndDropCanvas"] .drag-and-drop-canvas'),
|
95
95
|
dropzoneNumerationBox: () => cy.get('.answer-numeration-number-box'),
|
96
96
|
correctAnswerResponseWrapperWithoutEnumeration: () => cy.get('.dnd-correct-answer-wrapper [class*="ResponseDropZonestyles__ResponseWrapper"]'),
|
97
|
+
responseAreaPreviewTab: () => cy.get('[class*="ResponseDropZonestyles__ResponseWrapper"] .cell'),
|
97
98
|
}
|
98
99
|
|
99
100
|
const steps = {
|
@@ -335,7 +336,7 @@ const steps = {
|
|
335
336
|
fillInTheGapsOverImageDragAndDropPage.optionContainerOptionsPreviewTab()
|
336
337
|
.find('[role="math"]')
|
337
338
|
.should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
|
338
|
-
|
339
|
+
// .contains(constants.CKEditorInputFieldEnteredEquationText); ;
|
339
340
|
utilities.verifyElementVisibilityState(utilities.getNthElement(draggableOptionContainer.draggableOptionDragIcon(), optionIndex), 'exist');
|
340
341
|
},
|
341
342
|
|
@@ -360,7 +361,7 @@ const steps = {
|
|
360
361
|
.eq(optionIndex)
|
361
362
|
.find('[role="math"]')
|
362
363
|
.should('have.attr', 'aria-label', constants.CKEditorInputFieldEnteredEquationAriaLabel)
|
363
|
-
|
364
|
+
// .contains(constants.CKEditorInputFieldEnteredEquationText); ;
|
364
365
|
},
|
365
366
|
|
366
367
|
/**
|
@@ -703,13 +704,13 @@ const steps = {
|
|
703
704
|
verifyOptionInDropzoneNotWrapped: () => {
|
704
705
|
fillInTheGapsOverImageDragAndDropPage.dropzoneOptionSpecifyCorrectAnswerSection()
|
705
706
|
.eq(0)
|
706
|
-
.should('have.css', 'height', '
|
707
|
+
.should('have.css', 'height', '22px');
|
707
708
|
},
|
708
709
|
|
709
710
|
verifyOptionInDropzoneWrapped: () => {
|
710
711
|
fillInTheGapsOverImageDragAndDropPage.dropzoneOptionSpecifyCorrectAnswerSection()
|
711
712
|
.eq(0)
|
712
|
-
.should('have.css', 'height', '
|
713
|
+
.should('have.css', 'height', '66px');
|
713
714
|
},
|
714
715
|
|
715
716
|
expandOptionInDropzone: () => {
|
@@ -993,13 +994,13 @@ const steps = {
|
|
993
994
|
break;
|
994
995
|
case 'Left':
|
995
996
|
fillInTheGapsOverImageDragAndDropPage.optionPanelWrapper()
|
996
|
-
.should('have.css', 'width', '
|
997
|
+
.should('have.css', 'width', '143.84375px')
|
997
998
|
.and('have.css', 'padding-right', '24px')
|
998
999
|
.and('have.css', 'padding-left', '8px')
|
999
1000
|
break;
|
1000
1001
|
case 'Right':
|
1001
1002
|
fillInTheGapsOverImageDragAndDropPage.optionPanelWrapper()
|
1002
|
-
.should('have.css', 'width', '
|
1003
|
+
.should('have.css', 'width', '143.84375px')
|
1003
1004
|
.and('have.css', 'padding-right', '8px')
|
1004
1005
|
.and('have.css', 'padding-left', '24px')
|
1005
1006
|
break;
|
@@ -1180,6 +1181,18 @@ const steps = {
|
|
1180
1181
|
});
|
1181
1182
|
});
|
1182
1183
|
},
|
1184
|
+
|
1185
|
+
/**
|
1186
|
+
* Verifies the border style of a response area element.
|
1187
|
+
* @param {number} responseAreaIndex - The index of the response area to verify.
|
1188
|
+
* @param {string} borderStyle - The expected border style value.
|
1189
|
+
*/
|
1190
|
+
verifyResponseAreaOverImageBorderStyle: (responseAreaIndex, borderStyle) => {
|
1191
|
+
const styleName = borderStyle.toLowerCase();
|
1192
|
+
utilities.verifyCSS(utilities.getNthElement(fillInTheGapsOverImageDragAndDropPage.responseAreaPreviewTab(), responseAreaIndex), {
|
1193
|
+
'border-style': styleName
|
1194
|
+
});
|
1195
|
+
},
|
1183
1196
|
}
|
1184
1197
|
|
1185
1198
|
const tests = {
|