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
package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js
CHANGED
@@ -104,7 +104,8 @@ describe('Create item page: Number line label - Preview contents in all views',
|
|
104
104
|
});
|
105
105
|
});
|
106
106
|
|
107
|
-
|
107
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-4737
|
108
|
+
it.skip('Accessibility of number line label', { tags: 'a11y' }, () => {
|
108
109
|
cy.checkAccessibility(numberLineLabelPage.numberLinePreviewTab().parents('.ngie-jxgbox'));
|
109
110
|
});
|
110
111
|
});
|
@@ -257,9 +257,9 @@ describe('Create Item page - Protractor : Edit Tab', () => {
|
|
257
257
|
utilities.verifyElementVisibilityState(protractorPage.protractorVisibilityLabel(), 'visible');
|
258
258
|
});
|
259
259
|
|
260
|
-
it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be
|
260
|
+
it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be checked', () => {
|
261
261
|
protractorPage.steps.verifyAddShowHideButtonLabel();
|
262
|
-
protractorPage.steps.
|
262
|
+
protractorPage.steps.verifyAddShowHideButtonCheckboxChecked();
|
263
263
|
});
|
264
264
|
|
265
265
|
it('CSS of \'Protractor visibility\' section', { tags: 'css' }, () => {
|
@@ -286,8 +286,7 @@ describe('Create Item page - Protractor : Edit Tab', () => {
|
|
286
286
|
});
|
287
287
|
});
|
288
288
|
|
289
|
-
it('
|
290
|
-
protractorPage.steps.checkAddShowHideButtonCheckbox();
|
289
|
+
it('\'Launch the Protractor by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
|
291
290
|
protractorPage.steps.verifyLaunchToolByDefaultLabel('protractor');
|
292
291
|
protractorPage.steps.verifyLaunchToolByDefaultCheckboxUnchecked();
|
293
292
|
});
|
@@ -15,6 +15,7 @@ describe('Protractor Tool: Preview Tab', () => {
|
|
15
15
|
before(() => {
|
16
16
|
cy.log('Navigating to protractor resource tool');
|
17
17
|
protractorPage.steps.navigateToCreateResource('protractor');
|
18
|
+
protractorPage.steps.uncheckAddShowHideButtonCheckbox();
|
18
19
|
});
|
19
20
|
|
20
21
|
it(`When ${angleTypeOptions[2]} is selected for \'Angle type\' dropdown by default, then switching to the preview tab should display a protractor with both acute and obtuse degree measurements`, () => {
|
@@ -69,6 +70,7 @@ describe('Protractor Tool: Preview Tab', () => {
|
|
69
70
|
before(() => {
|
70
71
|
cy.log('Navigating to protractor resource tool');
|
71
72
|
protractorPage.steps.navigateToCreateResource('protractor');
|
73
|
+
protractorPage.steps.uncheckAddShowHideButtonCheckbox();
|
72
74
|
});
|
73
75
|
|
74
76
|
it('When user enters text in the \'Alternative text\' input field, then alternative text should be displayed in the \'Preview tab\'', () => {
|
@@ -124,6 +126,7 @@ describe('Protractor Tool: Preview Tab', () => {
|
|
124
126
|
before(() => {
|
125
127
|
cy.log('Navigating to protractor resource tool');
|
126
128
|
protractorPage.steps.navigateToCreateResource('protractor');
|
129
|
+
protractorPage.steps.uncheckAddShowHideButtonCheckbox();
|
127
130
|
});
|
128
131
|
|
129
132
|
it('When the opacity value is set to 40 percent by default, then the opacity of the protractor should be set to 40 percent in the preview tab', () => {
|
@@ -167,6 +170,7 @@ describe('Protractor Tool: Preview Tab', () => {
|
|
167
170
|
before(() => {
|
168
171
|
cy.log('Navigating to protractor resource tool');
|
169
172
|
protractorPage.steps.navigateToCreateResource('protractor');
|
173
|
+
protractorPage.steps.uncheckAddShowHideButtonCheckbox();
|
170
174
|
});
|
171
175
|
|
172
176
|
it('When \'Add show/hide button\' checkbox is unchecked in the edit tab, then \'Show protractor\' button should not be displayed in preview tab', () => {
|
@@ -494,7 +494,7 @@ describe('Create Item page - Ruler: Edit Tab', () => {
|
|
494
494
|
it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
|
495
495
|
utilities.verifyElementVisibilityState(rulerPage.addShowHideButtonCheckbox(), 'exist');
|
496
496
|
rulerPage.steps.verifyAddShowHideButtonLabel();
|
497
|
-
rulerPage.steps.
|
497
|
+
rulerPage.steps.verifyAddShowHideButtonCheckboxChecked();
|
498
498
|
});
|
499
499
|
|
500
500
|
it('CSS of \'Ruler visibility\' section', { tags: 'css' }, () => {
|
@@ -510,8 +510,7 @@ describe('Create Item page - Ruler: Edit Tab', () => {
|
|
510
510
|
});
|
511
511
|
});
|
512
512
|
|
513
|
-
it('
|
514
|
-
rulerPage.steps.checkAddShowHideButtonCheckbox();
|
513
|
+
it('\'Launch the ruler by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
|
515
514
|
utilities.verifyElementVisibilityState(rulerPage.launchToolByDefaultCheckbox(), 'exist');
|
516
515
|
rulerPage.steps.verifyLaunchToolByDefaultLabel('ruler');
|
517
516
|
rulerPage.steps.verifyLaunchToolByDefaultCheckboxUnchecked();
|
@@ -32,6 +32,7 @@ describe('Ruler: Edit tab functionality', () => {
|
|
32
32
|
before(() => {
|
33
33
|
cy.log('Navigating to ruler resource tool');
|
34
34
|
rulerPage.steps.navigateToCreateResource('ruler');
|
35
|
+
rulerPage.steps.uncheckAddShowHideButtonCheckbox();
|
35
36
|
});
|
36
37
|
|
37
38
|
rulerOptions.forEach((rulerOption)=> {
|
@@ -67,6 +68,7 @@ describe('Ruler: Edit tab functionality', () => {
|
|
67
68
|
before(() => {
|
68
69
|
cy.log('Navigating to ruler resource tool');
|
69
70
|
rulerPage.steps.navigateToCreateResource('ruler');
|
71
|
+
rulerPage.steps.uncheckAddShowHideButtonCheckbox();
|
70
72
|
});
|
71
73
|
|
72
74
|
it('When the user chooses \'Custom image\' in the \'Unit of Measurement\' dropdown and adds an image file, then switching to the preview tab should display uploaded image as ruler with same dimensions', () => {
|
@@ -120,6 +122,7 @@ describe('Ruler: Edit tab functionality', () => {
|
|
120
122
|
before(() => {
|
121
123
|
cy.log('Navigating to ruler resource tool');
|
122
124
|
rulerPage.steps.navigateToCreateResource('ruler');
|
125
|
+
rulerPage.steps.uncheckAddShowHideButtonCheckbox();
|
123
126
|
});
|
124
127
|
|
125
128
|
it('When \'Allow student to flip ruler\' checkbox is unchecked, then flip button should not be displayed on ruler in the preview tab', () => {
|
@@ -195,6 +198,7 @@ describe('Ruler: Edit tab functionality', () => {
|
|
195
198
|
before(() => {
|
196
199
|
cy.log('Navigating to \'Ruler\' resource tool');
|
197
200
|
rulerPage.steps.navigateToCreateResource('ruler');
|
201
|
+
rulerPage.steps.uncheckAddShowHideButtonCheckbox();
|
198
202
|
});
|
199
203
|
|
200
204
|
it('When the opacity value is set to 40 percent by default, then the opacity of the ruler should be set to 40 percent in the preview tab', () => {
|
@@ -246,6 +250,7 @@ describe('Ruler: Edit tab functionality', () => {
|
|
246
250
|
before(() => {
|
247
251
|
cy.log('Navigating to ruler resource tool');
|
248
252
|
rulerPage.steps.navigateToCreateResource('ruler');
|
253
|
+
rulerPage.steps.uncheckAddShowHideButtonCheckbox();
|
249
254
|
});
|
250
255
|
|
251
256
|
it('When \'Add show/hide button\' checkbox is unchecked in the edit tab, then \'Show ruler\' button should not be displayed in preview tab', () => {
|
@@ -26,7 +26,7 @@ describe('Create item page - Single selection: All or nothing with alternative a
|
|
26
26
|
it('When the user selects \'Grading\' view without attempting the question then incorrect answer border and correct answer section should be displayed and correct/incorrect icons should not be displayed', () => {
|
27
27
|
shortTextResponsePage.steps.switchToGradingView();
|
28
28
|
shortTextResponsePage.steps.verifyCorrectIncorrectIconNotVisibleGradingView();
|
29
|
-
shortTextResponsePage.steps.verifyCorrectIncorrectBorderNotExist();
|
29
|
+
// shortTextResponsePage.steps.verifyCorrectIncorrectBorderNotExist();
|
30
30
|
shortTextResponsePage.steps.verifyCorrectAnswerResponseInCorrectAnswerWrapper('Buildings');
|
31
31
|
shortTextResponsePage.steps.switchToStudentView();
|
32
32
|
});
|
@@ -20,6 +20,7 @@ describe('Simple calculator - Functionality cases, Undo/Redo Controls, Edge case
|
|
20
20
|
simpleCalculatorPage.steps.selectCustomizeCalculatorSettingsSquareRootButton();
|
21
21
|
simpleCalculatorPage.steps.selectCustomizeCalculatorSettingsExponentButton();
|
22
22
|
simpleCalculatorPage.steps.selectCustomizeCalculatorSettingsSignChangeButton();
|
23
|
+
simpleCalculatorPage.steps.uncheckAddShowHideButtonCheckbox();
|
23
24
|
simpleCalculatorPage.steps.switchToPreviewTab();
|
24
25
|
});
|
25
26
|
|
@@ -210,6 +211,7 @@ describe('Simple calculator - Functionality cases, Undo/Redo Controls, Edge case
|
|
210
211
|
abortEarlySetup();
|
211
212
|
before(() => {
|
212
213
|
simpleCalculatorPage.steps.navigateToCreateResource('simple calculator');
|
214
|
+
simpleCalculatorPage.steps.uncheckAddShowHideButtonCheckbox();
|
213
215
|
simpleCalculatorPage.steps.switchToPreviewTab();
|
214
216
|
});
|
215
217
|
|
@@ -276,6 +278,7 @@ describe('Simple calculator - Functionality cases, Undo/Redo Controls, Edge case
|
|
276
278
|
abortEarlySetup();
|
277
279
|
before(() => {
|
278
280
|
simpleCalculatorPage.steps.navigateToCreateResource('simple calculator');
|
281
|
+
simpleCalculatorPage.steps.uncheckAddShowHideButtonCheckbox();
|
279
282
|
simpleCalculatorPage.steps.switchToPreviewTab();
|
280
283
|
});
|
281
284
|
|
@@ -122,6 +122,7 @@ describe('Simple calculator - Customize calculator settings, show calculator vis
|
|
122
122
|
it('When the user modifies the options in customize calculator settings section, then the calculator buttons should be updated accordingly in the preview tab', () => {
|
123
123
|
simpleCalculatorPage.steps.deselectCustomizeCalculatorSettingsHistoryButton();
|
124
124
|
simpleCalculatorPage.steps.selectCustomizeCalculatorSettingsPercentageButton();
|
125
|
+
simpleCalculatorPage.steps.uncheckAddShowHideButtonCheckbox();
|
125
126
|
simpleCalculatorPage.steps.switchToPreviewTab();
|
126
127
|
utilities.verifyElementVisibilityState(simpleCalculatorPage.checkHistoryButton(), 'notExist');
|
127
128
|
utilities.verifyElementVisibilityState(simpleCalculatorPage.percentageButton(), 'visible');
|
@@ -138,9 +139,9 @@ describe('Simple calculator - Customize calculator settings, show calculator vis
|
|
138
139
|
utilities.verifyInnerText(simpleCalculatorPage.calculatorVisibilityLabel(), 'Simple calculator visibility');
|
139
140
|
});
|
140
141
|
|
141
|
-
it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be
|
142
|
+
it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be checked', () => {
|
142
143
|
simpleCalculatorPage.steps.verifyAddShowHideButtonLabel();
|
143
|
-
simpleCalculatorPage.steps.
|
144
|
+
simpleCalculatorPage.steps.verifyAddShowHideButtonCheckboxChecked();
|
144
145
|
});
|
145
146
|
|
146
147
|
it('CSS of \'Simple calculator visibility\' section', { tags: 'css' }, () => {
|
@@ -159,7 +160,7 @@ describe('Simple calculator - Customize calculator settings, show calculator vis
|
|
159
160
|
});
|
160
161
|
});
|
161
162
|
|
162
|
-
it('
|
163
|
+
it('\'Launch the simple calculator by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
|
163
164
|
simpleCalculatorPage.steps.checkAddShowHideButtonCheckbox();
|
164
165
|
simpleCalculatorPage.steps.verifyLaunchToolByDefaultLabel('simple calculator');
|
165
166
|
simpleCalculatorPage.steps.verifyLaunchToolByDefaultCheckboxUnchecked();
|
@@ -191,6 +192,8 @@ describe('Simple calculator - Customize calculator settings, show calculator vis
|
|
191
192
|
});
|
192
193
|
|
193
194
|
it('When \'Add show/hide button\' checkbox is unchecked in the edit tab, then \'Show simple calculator\' button should not be displayed in preview tab', () => {
|
195
|
+
simpleCalculatorPage.steps.switchToEditTab();
|
196
|
+
simpleCalculatorPage.steps.uncheckAddShowHideButtonCheckbox();
|
194
197
|
simpleCalculatorPage.steps.switchToPreviewTab();
|
195
198
|
utilities.verifyElementVisibilityState(simpleCalculatorPage.calculatorVisibilityButton(), 'notExist');
|
196
199
|
});
|
@@ -239,7 +239,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
239
239
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
240
240
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(2);
|
241
241
|
textEntryMathPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
242
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
242
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectAnswer', '2x2y2+4xy+4', '7.07e']);
|
243
243
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
244
244
|
});
|
245
245
|
});
|
@@ -236,7 +236,7 @@ describe('Create Item page - Text entry math: Preview scoring', () => {
|
|
236
236
|
textEntryMathPage.steps.verifyIncorrectResponseIcon(1);
|
237
237
|
textEntryMathPage.steps.verifyCorrectResponseIcon(2);
|
238
238
|
textEntryMathPage.steps.verifyCorrectIncorrectStatusMessageNotExists();
|
239
|
-
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['
|
239
|
+
textEntryMathPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['CorrectAnswer', '6×π', '7.07e']);
|
240
240
|
textEntryMathPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
241
241
|
});
|
242
242
|
});
|
@@ -118,7 +118,29 @@ describe('Text Entry Math - Additional settings : Grading view, ARIA label for t
|
|
118
118
|
utilities.verifyElementVisibilityState(textEntryMathPage.ariaLabelInputField(), 'visible');
|
119
119
|
});
|
120
120
|
|
121
|
-
|
121
|
+
it(`"ARIA label for text containers" label should be displayed`, () => {
|
122
|
+
utilities.verifyInnerText(textEntryMathPage.ariaLabelSectionLabel(), 'ARIA label for text containers');
|
123
|
+
utilities.verifyElementVisibilityState(textEntryMathPage.ariaLabelSectionLabel(), 'visible');
|
124
|
+
});
|
125
|
+
|
126
|
+
it('Two input fields with numeration and "Enter aria label" placeholder should be displayed by default', () => {
|
127
|
+
utilities.verifyElementCount(textEntryMathPage.ariaLabelInputField(), 2);
|
128
|
+
textEntryMathPage.steps.verifyAriaLabelTextInputFields(0);
|
129
|
+
textEntryMathPage.steps.verifyAriaLabelTextInputFields(1);
|
130
|
+
});
|
131
|
+
|
132
|
+
it(`CSS of "ARIA label for text containers" section`, { tags: 'css' }, () => {
|
133
|
+
utilities.verifyCSS(textEntryMathPage.ariaLabelSectionLabel(), {
|
134
|
+
'color': css.color.labels,
|
135
|
+
'font-size': css.fontSize.normal,
|
136
|
+
'font-weight': css.fontWeight.semibold
|
137
|
+
});
|
138
|
+
utilities.verifyCSS(textEntryMathPage.ariaLabelInputField(), {
|
139
|
+
'color': css.color.text,
|
140
|
+
'font-size': css.fontSize.default,
|
141
|
+
'font-weight': css.fontWeight.regular
|
142
|
+
});
|
143
|
+
});
|
122
144
|
|
123
145
|
it('When the users adds a new text container, the count of the aria label text input fields should update accordingly', () => {
|
124
146
|
textEntryMathPage.steps.addResponseArea();
|