itemengine-cypress-automation 1.0.276-updatedRepo12thDec-303c8a0.0 → 1.0.277
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +2 -1
- 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 +5 -11
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/additionalSettings.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +5 -7
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +0 -8
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +0 -8
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +0 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +0 -2
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +0 -2
- package/cypress/e2e/ILC/EssayResponse/toolSettings.js +2 -8
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneAlternateAnswerPopup.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +0 -2
- 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 +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -2
- 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 +2 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +1 -2
- 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/gradingViewAndCorrectAnswerView.smoke.js +4 -2
- package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +2 -4
- package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +0 -1
- package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +1 -2
- package/cypress/e2e/ILC/ImageHighlight/toolSettings.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +0 -2
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/editTabScoring.js +0 -6
- 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 +2 -3
- package/cypress/e2e/ILC/Matching/previewTabContentsForAllViews.smoke.js +0 -2
- package/cypress/e2e/ILC/Matching/toolSettings.js +1 -1
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/NumberLine/toolSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +4 -4
- package/cypress/e2e/ILC/NumberLineLabel/previewContentsForAllViews.smoke.js +1 -2
- package/cypress/e2e/ILC/NumberLineLabel/toolSettings.js +1 -1
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js +1 -2
- package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +4 -3
- package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +0 -4
- package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +3 -2
- package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +0 -5
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +1 -1
- package/cypress/e2e/ILC/SimpleCalculator/calculatorFunctionality.js +0 -3
- package/cypress/e2e/ILC/SimpleCalculator/editTabFunctionality.js +3 -6
- 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 +1 -23
- package/cypress/e2e/ILC/TextEntryMath/customSettingsSeparators.ts +0 -476
- package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +5 -7
- 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 +1 -19
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +1 -1
- package/cypress/pages/components/essayResponseCommonComponents.js +5 -6
- package/cypress/pages/components/imageCanvasComponent.js +2 -2
- package/cypress/pages/components/layoutSectionComponent.js +2 -6
- package/cypress/pages/components/numberLineCommonComponent.js +5 -12
- package/cypress/pages/components/playbackControlsBaseComponent.js +0 -5
- package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -3
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/drawingResponsePage.js +1 -18
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +2 -3
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +6 -19
- package/cypress/pages/gridFillPage.js +3 -2
- package/cypress/pages/listOrderingPage.js +12 -19
- package/cypress/pages/matchingPage.js +2 -16
- package/cypress/pages/textEntryMathPage.js +4 -716
- package/cypress/pages/textEntryMathWithImagePage.js +5 -133
- package/package.json +1 -1
- package/cypress/e2e/ILC/TextEntryMath/styleAndLayoutCustomization.js +0 -129
- package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +0 -384
@@ -284,7 +284,7 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
|
|
284
284
|
utilities.triggerMouseover(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[0]));
|
285
285
|
utilities.verifyCSS(chartsDotPlotPage.tooltipText(), {
|
286
286
|
'color': css.color.whiteText,
|
287
|
-
'font-size': css.fontSize.
|
287
|
+
'font-size': css.fontSize.normal,
|
288
288
|
'font-weight': css.fontWeight.regular,
|
289
289
|
'background-color': css.color.tooltipBg
|
290
290
|
});
|
@@ -292,7 +292,7 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
|
|
292
292
|
utilities.triggerMouseover(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[2]));
|
293
293
|
utilities.verifyCSS(chartsDotPlotPage.tooltipText(), {
|
294
294
|
'color': css.color.whiteText,
|
295
|
-
'font-size': css.fontSize.
|
295
|
+
'font-size': css.fontSize.normal,
|
296
296
|
'font-weight': css.fontWeight.regular,
|
297
297
|
'background-color': css.color.tooltipBg
|
298
298
|
});
|
@@ -302,12 +302,12 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
|
|
302
302
|
it('Accessibility of the tooltip text', { tags: 'a11y' }, () => {
|
303
303
|
utilities.triggerMouseover(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[0]));
|
304
304
|
utilities.verifyElementVisibilityState(chartsDotPlotPage.tooltipText(), 'visible');
|
305
|
-
cy.checkAccessibility(chartsDotPlotPage.tooltipText()
|
305
|
+
cy.checkAccessibility(chartsDotPlotPage.tooltipText());
|
306
306
|
utilities.triggerMouseout(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[0]));
|
307
307
|
utilities.verifyElementVisibilityState(chartsDotPlotPage.tooltipText(), 'notExist');
|
308
308
|
utilities.triggerMouseover(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[2]));
|
309
309
|
utilities.verifyElementVisibilityState(chartsDotPlotPage.tooltipText(), 'visible');
|
310
|
-
cy.checkAccessibility(chartsDotPlotPage.tooltipText()
|
310
|
+
cy.checkAccessibility(chartsDotPlotPage.tooltipText());
|
311
311
|
utilities.triggerMouseout(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[2]));
|
312
312
|
utilities.verifyElementVisibilityState(chartsDotPlotPage.tooltipText(), 'notExist');
|
313
313
|
});
|
@@ -330,7 +330,7 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
|
|
330
330
|
utilities.triggerMouseover(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[1]));
|
331
331
|
utilities.verifyCSS(chartsDotPlotPage.tooltipText(), {
|
332
332
|
'color': css.color.whiteText,
|
333
|
-
'font-size': css.fontSize.
|
333
|
+
'font-size': css.fontSize.normal,
|
334
334
|
'font-weight': css.fontWeight.regular,
|
335
335
|
'background-color': css.color.tooltipBg
|
336
336
|
});
|
@@ -340,7 +340,7 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
|
|
340
340
|
it('Accessibility of the tooltip text', { tags: 'a11y' }, () => {
|
341
341
|
utilities.triggerMouseover(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[1]));
|
342
342
|
utilities.verifyElementVisibilityState(chartsDotPlotPage.tooltipText(), 'visible');
|
343
|
-
cy.checkAccessibility(chartsDotPlotPage.tooltipText()
|
343
|
+
cy.checkAccessibility(chartsDotPlotPage.tooltipText());
|
344
344
|
utilities.triggerMouseout(chartsDotPlotPage.controlOptionsPreviewTab(controlOptions[1]));
|
345
345
|
utilities.verifyElementVisibilityState(chartsDotPlotPage.tooltipText(), 'notExist');
|
346
346
|
});
|
@@ -41,7 +41,7 @@ describe('Create Item page: Tool settings', () => {
|
|
41
41
|
rulerPage.steps.expandRotationDropdown();
|
42
42
|
rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
|
43
43
|
rulerPage.steps.enterInputToOpacityInputField(60);
|
44
|
-
rulerPage.steps.
|
44
|
+
rulerPage.steps.checkAddShowHideButtonCheckbox();
|
45
45
|
toolSettingsComponent.steps.clickOnOkButton();
|
46
46
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
|
47
47
|
toolSettingsComponent.steps.verifyToolSelectedState(0);
|
@@ -1478,12 +1478,6 @@ 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
|
-
},
|
1487
1481
|
sec: {
|
1488
1482
|
title: 'sec',
|
1489
1483
|
textElement: null,
|
@@ -1496,6 +1490,12 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1496
1490
|
ariaLabel: 'Cosec',
|
1497
1491
|
displayText: 'cosec'
|
1498
1492
|
},
|
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,12 +1514,6 @@ 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
|
-
},
|
1523
1517
|
secInverse: {
|
1524
1518
|
title: 'sec inverse',
|
1525
1519
|
textElement: null,
|
@@ -1531,6 +1525,12 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1531
1525
|
textElement: null,
|
1532
1526
|
ariaLabel: 'CosecInverse',
|
1533
1527
|
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,11 +1754,17 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1754
1754
|
measurement: {
|
1755
1755
|
displayName: 'Measurement',
|
1756
1756
|
symbols: {
|
1757
|
-
|
1758
|
-
title: '
|
1757
|
+
gram: {
|
1758
|
+
title: 'Gram',
|
1759
1759
|
textElement: null,
|
1760
|
-
ariaLabel: '
|
1761
|
-
displayText: '
|
1760
|
+
ariaLabel: 'Gram',
|
1761
|
+
displayText: 'g'
|
1762
|
+
},
|
1763
|
+
meter: {
|
1764
|
+
title: 'Meter',
|
1765
|
+
textElement: null,
|
1766
|
+
ariaLabel: 'Meter',
|
1767
|
+
displayText: 'm'
|
1762
1768
|
},
|
1763
1769
|
litre: {
|
1764
1770
|
title: 'Litre',
|
@@ -1766,29 +1772,35 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1766
1772
|
ariaLabel: 'Litre',
|
1767
1773
|
displayText: 'L'
|
1768
1774
|
},
|
1769
|
-
|
1770
|
-
title: '
|
1775
|
+
second: {
|
1776
|
+
title: 'Second',
|
1771
1777
|
textElement: null,
|
1772
|
-
ariaLabel: '
|
1773
|
-
displayText: '
|
1778
|
+
ariaLabel: 'Second',
|
1779
|
+
displayText: 's'
|
1774
1780
|
},
|
1775
|
-
|
1776
|
-
title: '
|
1781
|
+
kilogram: {
|
1782
|
+
title: 'Kilogram',
|
1777
1783
|
textElement: null,
|
1778
|
-
ariaLabel: '
|
1779
|
-
displayText: '
|
1784
|
+
ariaLabel: 'Kilogram',
|
1785
|
+
displayText: 'kg'
|
1780
1786
|
},
|
1781
|
-
|
1782
|
-
title: '
|
1787
|
+
milligram: {
|
1788
|
+
title: 'Milligram',
|
1783
1789
|
textElement: null,
|
1784
|
-
ariaLabel: '
|
1785
|
-
displayText: '
|
1790
|
+
ariaLabel: 'Milligram',
|
1791
|
+
displayText: 'mg'
|
1786
1792
|
},
|
1787
|
-
|
1788
|
-
title: '
|
1793
|
+
microgram: {
|
1794
|
+
title: 'Microgram',
|
1789
1795
|
textElement: null,
|
1790
|
-
ariaLabel: '
|
1791
|
-
displayText: '
|
1796
|
+
ariaLabel: 'Microgram',
|
1797
|
+
displayText: 'µg'
|
1798
|
+
},
|
1799
|
+
kilometer: {
|
1800
|
+
title: 'Kilometer',
|
1801
|
+
textElement: null,
|
1802
|
+
ariaLabel: 'Kilometer',
|
1803
|
+
displayText: 'km'
|
1792
1804
|
},
|
1793
1805
|
centimeter: {
|
1794
1806
|
title: 'Centimeter',
|
@@ -1796,17 +1808,35 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1796
1808
|
ariaLabel: 'Centimeter',
|
1797
1809
|
displayText: 'cm'
|
1798
1810
|
},
|
1799
|
-
|
1800
|
-
title: '
|
1811
|
+
millimeter: {
|
1812
|
+
title: 'Millimeter',
|
1801
1813
|
textElement: null,
|
1802
|
-
ariaLabel: '
|
1803
|
-
displayText: '
|
1814
|
+
ariaLabel: 'Millimeter',
|
1815
|
+
displayText: 'mm'
|
1804
1816
|
},
|
1805
|
-
|
1806
|
-
title: '
|
1817
|
+
millilitre: {
|
1818
|
+
title: 'Millilitre',
|
1807
1819
|
textElement: null,
|
1808
|
-
ariaLabel: '
|
1809
|
-
displayText: '
|
1820
|
+
ariaLabel: 'Millilitre',
|
1821
|
+
displayText: 'mL'
|
1822
|
+
},
|
1823
|
+
millisecond: {
|
1824
|
+
title: 'Millisecond',
|
1825
|
+
textElement: null,
|
1826
|
+
ariaLabel: 'Millisecond',
|
1827
|
+
displayText: 'ms'
|
1828
|
+
},
|
1829
|
+
ounce: {
|
1830
|
+
title: 'Ounce',
|
1831
|
+
textElement: null,
|
1832
|
+
ariaLabel: 'Ounce',
|
1833
|
+
displayText: 'oz'
|
1834
|
+
},
|
1835
|
+
Pound: {
|
1836
|
+
title: 'Pound',
|
1837
|
+
textElement: null,
|
1838
|
+
ariaLabel: 'Pound',
|
1839
|
+
displayText: 'lb'
|
1810
1840
|
},
|
1811
1841
|
inch: {
|
1812
1842
|
title: 'Inch',
|
@@ -1826,54 +1856,24 @@ export const equationEditorCategoriesAndSymbols = {
|
|
1826
1856
|
ariaLabel: 'Mile',
|
1827
1857
|
displayText: 'mi'
|
1828
1858
|
},
|
1829
|
-
|
1830
|
-
title: '
|
1831
|
-
textElement: null,
|
1832
|
-
ariaLabel: 'Microgram',
|
1833
|
-
displayText: 'µg'
|
1834
|
-
},
|
1835
|
-
milligram: {
|
1836
|
-
title: 'Milligram',
|
1837
|
-
textElement: null,
|
1838
|
-
ariaLabel: 'Milligram',
|
1839
|
-
displayText: 'mg'
|
1840
|
-
},
|
1841
|
-
gram: {
|
1842
|
-
title: 'Gram',
|
1843
|
-
textElement: null,
|
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',
|
1859
|
+
fluidOunce: {
|
1860
|
+
title: 'Fluid Ounce',
|
1861
1861
|
textElement: null,
|
1862
|
-
ariaLabel: '
|
1863
|
-
displayText: '
|
1862
|
+
ariaLabel: 'FluidOunce',
|
1863
|
+
displayText: 'fl oz'
|
1864
1864
|
},
|
1865
|
-
|
1866
|
-
title: '
|
1865
|
+
pint: {
|
1866
|
+
title: 'Pint',
|
1867
1867
|
textElement: null,
|
1868
|
-
ariaLabel: '
|
1869
|
-
displayText: '
|
1868
|
+
ariaLabel: 'Pint',
|
1869
|
+
displayText: 'pt'
|
1870
1870
|
},
|
1871
|
-
|
1872
|
-
title: '
|
1871
|
+
gallon: {
|
1872
|
+
title: 'Gallon',
|
1873
1873
|
textElement: null,
|
1874
|
-
ariaLabel: '
|
1875
|
-
displayText: '
|
1876
|
-
}
|
1874
|
+
ariaLabel: 'Gallon',
|
1875
|
+
displayText: 'gal'
|
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 New',
|
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-resource-preview-wrapper-without-print .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-resource-preview-wrapper-without-print 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'),
|
7
|
+
ariaLabelSectionLabel: () => cy.get('[class*="AriaLabel"][class*="__LabelWrapper"]'),
|
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(`.dropzone-connector-option 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*="
|
6
|
+
return cy.get(`.single-select-toggle-group button[aria-label*="${ariaLabel}"]`);
|
7
7
|
} else {
|
8
8
|
return cy.get('.single-select-toggle-group button');
|
9
9
|
}
|
@@ -88,24 +88,6 @@ 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');
|
109
91
|
}
|
110
92
|
}
|
111
93
|
|
@@ -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,7 +76,6 @@ 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."]'),
|
80
79
|
gradingViewResponseField: () => cy.get('[class*="EssayResponseGradingViewstyle__GradingViewWrapper"] [data-testid*="question-instruction-element"]'),
|
81
80
|
|
82
81
|
//Additional settings, These are old selectors. Need to update them along with additional settings file revamp
|
@@ -611,7 +610,7 @@ const steps = {
|
|
611
610
|
* @param {string} color - The color option number.
|
612
611
|
*/
|
613
612
|
verifyResponseFieldTextColor: (color) => {
|
614
|
-
utilities.verifyCSS(essayResponseCommonComponents.
|
613
|
+
utilities.verifyCSS(essayResponseCommonComponents.responseFieldText().find('span'), {
|
615
614
|
'color': color
|
616
615
|
});
|
617
616
|
},
|
@@ -621,7 +620,7 @@ const steps = {
|
|
621
620
|
* @param {number} size - The font size.
|
622
621
|
*/
|
623
622
|
verifyResponseFieldTextFontSize: (size) => {
|
624
|
-
utilities.verifyCSS(essayResponseCommonComponents.
|
623
|
+
utilities.verifyCSS(essayResponseCommonComponents.responseFieldText().find('span'), {
|
625
624
|
'font-size': `${size}px`
|
626
625
|
});
|
627
626
|
},
|
@@ -631,7 +630,7 @@ const steps = {
|
|
631
630
|
* @param {number} size - The font size.
|
632
631
|
*/
|
633
632
|
verifyResponseFieldTextFontSizeNew: (size) => {
|
634
|
-
utilities.verifyCSS(essayResponseCommonComponents.
|
633
|
+
utilities.verifyCSS(essayResponseCommonComponents.responseFieldText(), {
|
635
634
|
'font-size': `${size}px`
|
636
635
|
});
|
637
636
|
},
|
@@ -642,7 +641,7 @@ const steps = {
|
|
642
641
|
* @param {string} text -response field text
|
643
642
|
*/
|
644
643
|
verifyResponseFieldTextIsHighlighted: (color, text) => {
|
645
|
-
utilities.verifyCSS(essayResponseCommonComponents.
|
644
|
+
utilities.verifyCSS(essayResponseCommonComponents.responseFieldText().find('span').contains(text), {
|
646
645
|
'background-color': color
|
647
646
|
});
|
648
647
|
},
|
@@ -702,7 +701,7 @@ const steps = {
|
|
702
701
|
* @param {string} color - The color option number.
|
703
702
|
*/
|
704
703
|
verifyResponseFieldTextNewColor: (color) => {
|
705
|
-
utilities.verifyCSS(essayResponseCommonComponents.
|
704
|
+
utilities.verifyCSS(essayResponseCommonComponents.responseFieldText(), {
|
706
705
|
'color': color
|
707
706
|
});
|
708
707
|
},
|
@@ -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', '1px');
|
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', '1px');
|
154
154
|
},
|
155
155
|
|
156
156
|
verifyCanvasImageTopRightAligned: () => {
|
@@ -501,9 +501,7 @@ const steps = {
|
|
501
501
|
}
|
502
502
|
else if (visibility === 'hidden') {
|
503
503
|
layoutSectionComponent.numberLineAxisNumberLineSection()
|
504
|
-
.should('
|
505
|
-
.invoke('attr', 'marker-start')
|
506
|
-
.should('eq', 'null');
|
504
|
+
.should('not.have.attr', 'marker-start');
|
507
505
|
}
|
508
506
|
else {
|
509
507
|
throw new Error('invalid state string');
|
@@ -522,9 +520,7 @@ const steps = {
|
|
522
520
|
}
|
523
521
|
else if (visibility === 'hidden') {
|
524
522
|
layoutSectionComponent.numberLineAxisNumberLineSection()
|
525
|
-
.should('
|
526
|
-
.invoke('attr', 'marker-end')
|
527
|
-
.should('eq', 'null');
|
523
|
+
.should('not.have.attr', 'marker-end');
|
528
524
|
}
|
529
525
|
else {
|
530
526
|
throw new Error('invalid state string');
|
@@ -95,9 +95,7 @@ const steps = {
|
|
95
95
|
}
|
96
96
|
else if (visibility === 'hidden') {
|
97
97
|
numberLineCommonComponent.numberLineAxisSpecifyCorrectAnswer()
|
98
|
-
.should('
|
99
|
-
.invoke('attr', 'marker-start')
|
100
|
-
.should('eq', 'null');
|
98
|
+
.should('not.have.attr', 'marker-start');
|
101
99
|
}
|
102
100
|
else {
|
103
101
|
throw new Error('invalid state string');
|
@@ -116,9 +114,7 @@ const steps = {
|
|
116
114
|
}
|
117
115
|
else if (visibility === 'hidden') {
|
118
116
|
numberLineCommonComponent.numberLineAxisSpecifyCorrectAnswer()
|
119
|
-
.should('
|
120
|
-
.invoke('attr', 'marker-end')
|
121
|
-
.should('eq', 'null');
|
117
|
+
.should('not.have.attr', 'marker-end');
|
122
118
|
}
|
123
119
|
else {
|
124
120
|
throw new Error('invalid state string');
|
@@ -205,9 +201,7 @@ const steps = {
|
|
205
201
|
}
|
206
202
|
else if (visibility === 'hidden') {
|
207
203
|
numberLineCommonComponent.numberLineAxisPreviewTab()
|
208
|
-
.should('
|
209
|
-
.invoke('attr', 'marker-end')
|
210
|
-
.should('eq', 'null');
|
204
|
+
.should('not.have.attr', 'marker-start');
|
211
205
|
}
|
212
206
|
else {
|
213
207
|
throw new Error('invalid state string');
|
@@ -226,9 +220,7 @@ const steps = {
|
|
226
220
|
}
|
227
221
|
else if (visibility === 'hidden') {
|
228
222
|
numberLineCommonComponent.numberLineAxisPreviewTab()
|
229
|
-
.should('
|
230
|
-
.invoke('attr', 'marker-end')
|
231
|
-
.should('eq', 'null');
|
223
|
+
.should('not.have.attr', 'marker-end');
|
232
224
|
}
|
233
225
|
else {
|
234
226
|
throw new Error('invalid state string');
|
@@ -450,6 +442,7 @@ const tests = {
|
|
450
442
|
numberLineCommonComponent.steps.checkCheckbox('Display minor nodes');
|
451
443
|
numberLineCommonComponent.steps.enterTextInAnnotateEveryInputField(1);
|
452
444
|
});
|
445
|
+
|
453
446
|
},
|
454
447
|
|
455
448
|
/**
|
@@ -38,11 +38,6 @@ const steps = {
|
|
38
38
|
.realHover({ position: 'top' });
|
39
39
|
},
|
40
40
|
|
41
|
-
hoverOnMuteUnmuteButton: () => {
|
42
|
-
playbackControlsBaseComponent.volumeControlButton()
|
43
|
-
.trigger('mouseover')
|
44
|
-
},
|
45
|
-
|
46
41
|
hoverOnVolumeControlSlider: () => {
|
47
42
|
playbackControlsBaseComponent.volumeControlSlider()
|
48
43
|
.trigger('mouseover')
|
@@ -65,10 +65,9 @@ const steps = {
|
|
65
65
|
},
|
66
66
|
|
67
67
|
expandScoringTypeDropdown: () => {
|
68
|
-
utilities.scrollIntoView(scoringSectionBaseEditTab.scoringTypeDropdown());
|
69
68
|
scoringSectionBaseEditTab.scoringTypeDropdown()
|
70
69
|
.click();
|
71
|
-
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), '
|
70
|
+
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'visible');
|
72
71
|
},
|
73
72
|
|
74
73
|
/**
|
@@ -195,7 +194,8 @@ const tests = {
|
|
195
194
|
it(`Clicking on Scoring Type dropdown should open a list of scoring types - ${scoringTypeArray}`, () => {
|
196
195
|
scoringSectionBaseEditTab.scoringTypeDropdown()
|
197
196
|
.click();
|
198
|
-
|
197
|
+
cy.wait(1000);
|
198
|
+
utilities.verifyElementVisibilityState(commonComponents.dropdownList(), 'visible');
|
199
199
|
scoringTypeArray.forEach((option, count) => {
|
200
200
|
utilities.verifyInnerText(utilities.getNthElement(scoringSectionBaseEditTab.scoringTypeDropdownListOptions(), count), option);
|
201
201
|
});
|
@@ -214,9 +214,8 @@ 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"]'),
|
219
217
|
studentViewLowerCanvas: () => cy.get('.lower-canvas'),
|
218
|
+
gradingViewPlayFeatureButton: () => cy.get('[class*="DrawingResponsePreviewstyles__PlayBtnWrapper"] button')
|
220
219
|
}
|
221
220
|
|
222
221
|
const steps = {
|
@@ -273,17 +272,6 @@ const steps = {
|
|
273
272
|
});
|
274
273
|
},
|
275
274
|
|
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
|
-
|
287
275
|
/**
|
288
276
|
* @param {string} title title of secondary popup
|
289
277
|
* @description this function verifies title of the secondary option popup
|
@@ -795,11 +783,6 @@ const steps = {
|
|
795
783
|
utilities.hoverAwayFromElement(drawingResponsePage.colorPickerBlock().last());
|
796
784
|
},
|
797
785
|
|
798
|
-
hoverOutFromStrokeColorButton: () => {
|
799
|
-
utilities.hoverOverElement(drawingResponsePage.strokeFontColorButton());
|
800
|
-
utilities.hoverAwayFromElement(drawingResponsePage.strokeFontColorButton());
|
801
|
-
},
|
802
|
-
|
803
786
|
/**
|
804
787
|
* @param {number} opacityValue value of opacity on the opacity slider
|
805
788
|
* @description this function is used to verify the opacity value on the opacity slider
|
@@ -46,7 +46,6 @@ 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'),
|
50
49
|
//Preview tab
|
51
50
|
questionBorderPreviewTab: () => cy.get('[class*="ClozeWithDragAndDropstyles__WrapperDiv"]'),
|
52
51
|
optionPreviewTab: () => cy.get('.draggable-selected-item'),
|
@@ -929,7 +928,7 @@ const steps = {
|
|
929
928
|
.should('have.class', 'drag-arrows-icon');
|
930
929
|
break;
|
931
930
|
case 'None':
|
932
|
-
utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.
|
931
|
+
utilities.verifyElementVisibilityState(fillInTheGapsDragAndDropPage.dragHandle(), 'notExist');
|
933
932
|
break;
|
934
933
|
default:
|
935
934
|
throw new Error('Incorrect drag icon');
|
@@ -1010,7 +1009,7 @@ const tests = {
|
|
1010
1009
|
* @param {{'Correct' | 'Alternative'}} accordionName - The name of the accordion to be used in the validation.
|
1011
1010
|
* @example - verifySpecifyCorrectAnswerAccordionContentsAndFunctionality('Correct');
|
1012
1011
|
*/
|
1013
|
-
|
1012
|
+
zverifySpecifyCorrectAnswerAccordionContentsAndFunctionality: (accordionName) => {
|
1014
1013
|
it(`The user should be able to drop option in the dropzone in the ${accordionName} accordion`, () => {
|
1015
1014
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0 });
|
1016
1015
|
});
|