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
@@ -90,6 +90,10 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
90
90
|
});
|
91
91
|
});
|
92
92
|
|
93
|
+
it('Accessibility of preview content', { tags: 'a11y' }, () => {
|
94
|
+
cy.checkAccessibility(numberLinePage.numberLinePreviewTab().parents('[class*="question-preview-wrapper"]'));
|
95
|
+
});
|
96
|
+
|
93
97
|
it('User should be able to plot point using the \'Point\' tool options', () => {
|
94
98
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("horizontal", range, 0);
|
95
99
|
numberLinePage.steps.verifyPointsPlottedOnNumberLinePreviewTab(range, [0]);
|
@@ -167,10 +171,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
167
171
|
});
|
168
172
|
});
|
169
173
|
|
170
|
-
it('Accessibility of preview content', { tags: 'a11y' }, () => {
|
171
|
-
cy.checkAccessibility(numberLinePage.numberLinePreviewTab().parents('[class*="question-preview-wrapper"]'));
|
172
|
-
});
|
173
|
-
|
174
174
|
it('When the user clicks on the \'Redo\' control option then the latest action should be displayed again and the button should be disabled again', () => {
|
175
175
|
numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Redo');
|
176
176
|
numberLinePage.steps.verifyRayOnNumberLinePreviewTab('right', range, 7);
|
@@ -40,7 +40,7 @@ describe('Create Item page: Tool settings', () => {
|
|
40
40
|
rulerPage.steps.enterInputToOpacityInputField(60);
|
41
41
|
rulerPage.steps.expandRotationDropdown();
|
42
42
|
rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
|
43
|
-
rulerPage.steps.
|
43
|
+
rulerPage.steps.checkAddShowHideButtonCheckbox();
|
44
44
|
toolSettingsComponent.steps.clickOnOkButton();
|
45
45
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
|
46
46
|
toolSettingsComponent.steps.verifyToolSelectedState(0);
|
package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js
CHANGED
@@ -91,6 +91,10 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
91
91
|
});
|
92
92
|
});
|
93
93
|
|
94
|
+
it('Accessibility of preview content', { tags: 'a11y' }, () => {
|
95
|
+
cy.checkAccessibility(numberLinePage.numberLinePreviewTab().parents('[class*="question-preview-wrapper"]'));
|
96
|
+
});
|
97
|
+
|
94
98
|
it('User should be able to plot point using the \'Point\' tool options', () => {
|
95
99
|
numberLinePage.steps.plotPointOnNumberLinePreviewTab("vertical", range, 0);
|
96
100
|
numberLinePage.steps.verifyPointsPlottedOnVerticalNumberLinePreviewTab(range, [0]);
|
@@ -168,10 +172,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
168
172
|
});
|
169
173
|
});
|
170
174
|
|
171
|
-
it('Accessibility of preview content', { tags: 'a11y' }, () => {
|
172
|
-
cy.checkAccessibility(numberLinePage.numberLinePreviewTab().parents('[class*="question-preview-wrapper"]'));
|
173
|
-
});
|
174
|
-
|
175
175
|
it('When the user clicks on the \'Redo\' control option then the latest action should be displayed again and the button should be disabled again', () => {
|
176
176
|
numberLinePage.steps.selectNumberLineControlOptionPreviewTab('Redo');
|
177
177
|
numberLinePage.steps.verifyRayOnVerticalNumberLinePreviewTab('up', range, 8);
|
@@ -113,8 +113,7 @@ describe('Create item page: Number line label - Preview contents in all views',
|
|
113
113
|
});
|
114
114
|
});
|
115
115
|
|
116
|
-
|
117
|
-
it.skip('Accessibility of number line label', { tags: 'a11y' }, () => {
|
116
|
+
it('Accessibility of number line label', { tags: 'a11y' }, () => {
|
118
117
|
cy.checkAccessibility(numberLineLabelPage.numberLinePreviewTab().parents('.ngie-jxgbox'));
|
119
118
|
});
|
120
119
|
});
|
@@ -42,7 +42,7 @@ describe('Create Item page: Tool settings', () => {
|
|
42
42
|
rulerPage.steps.enterInputToOpacityInputField(60);
|
43
43
|
rulerPage.steps.expandRotationDropdown();
|
44
44
|
rulerPage.steps.selectOptionFromRotationDropdown('Allow rotation and display angle');
|
45
|
-
rulerPage.steps.
|
45
|
+
rulerPage.steps.checkAddShowHideButtonCheckbox();
|
46
46
|
toolSettingsComponent.steps.clickOnOkButton();
|
47
47
|
utilities.verifyElementVisibilityState(dialogBoxBase.dialogBox(), 'notExist');
|
48
48
|
toolSettingsComponent.steps.verifyToolSelectedState(0);
|
package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/previewContentsForAllViews.smoke.js
CHANGED
@@ -104,8 +104,7 @@ describe('Create item page: Number line label - Preview contents in all views',
|
|
104
104
|
});
|
105
105
|
});
|
106
106
|
|
107
|
-
|
108
|
-
it.skip('Accessibility of number line label', { tags: 'a11y' }, () => {
|
107
|
+
it('Accessibility of number line label', { tags: 'a11y' }, () => {
|
109
108
|
cy.checkAccessibility(numberLineLabelPage.numberLinePreviewTab().parents('.ngie-jxgbox'));
|
110
109
|
});
|
111
110
|
});
|
@@ -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 unchecked', () => {
|
261
261
|
protractorPage.steps.verifyAddShowHideButtonLabel();
|
262
|
-
protractorPage.steps.
|
262
|
+
protractorPage.steps.verifyAddShowHideButtonCheckboxUnchecked();
|
263
263
|
});
|
264
264
|
|
265
265
|
it('CSS of \'Protractor visibility\' section', { tags: 'css' }, () => {
|
@@ -286,7 +286,8 @@ describe('Create Item page - Protractor : Edit Tab', () => {
|
|
286
286
|
});
|
287
287
|
});
|
288
288
|
|
289
|
-
it('\'Launch the Protractor by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
|
289
|
+
it('When user checks \'Add show/hide button\' checkbox, then \'Launch the Protractor by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
|
290
|
+
protractorPage.steps.checkAddShowHideButtonCheckbox();
|
290
291
|
protractorPage.steps.verifyLaunchToolByDefaultLabel('protractor');
|
291
292
|
protractorPage.steps.verifyLaunchToolByDefaultCheckboxUnchecked();
|
292
293
|
});
|
@@ -15,7 +15,6 @@ 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();
|
19
18
|
});
|
20
19
|
|
21
20
|
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`, () => {
|
@@ -70,7 +69,6 @@ describe('Protractor Tool: Preview Tab', () => {
|
|
70
69
|
before(() => {
|
71
70
|
cy.log('Navigating to protractor resource tool');
|
72
71
|
protractorPage.steps.navigateToCreateResource('protractor');
|
73
|
-
protractorPage.steps.uncheckAddShowHideButtonCheckbox();
|
74
72
|
});
|
75
73
|
|
76
74
|
it('When user enters text in the \'Alternative text\' input field, then alternative text should be displayed in the \'Preview tab\'', () => {
|
@@ -126,7 +124,6 @@ describe('Protractor Tool: Preview Tab', () => {
|
|
126
124
|
before(() => {
|
127
125
|
cy.log('Navigating to protractor resource tool');
|
128
126
|
protractorPage.steps.navigateToCreateResource('protractor');
|
129
|
-
protractorPage.steps.uncheckAddShowHideButtonCheckbox();
|
130
127
|
});
|
131
128
|
|
132
129
|
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', () => {
|
@@ -170,7 +167,6 @@ describe('Protractor Tool: Preview Tab', () => {
|
|
170
167
|
before(() => {
|
171
168
|
cy.log('Navigating to protractor resource tool');
|
172
169
|
protractorPage.steps.navigateToCreateResource('protractor');
|
173
|
-
protractorPage.steps.uncheckAddShowHideButtonCheckbox();
|
174
170
|
});
|
175
171
|
|
176
172
|
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.verifyAddShowHideButtonCheckboxUnchecked();
|
498
498
|
});
|
499
499
|
|
500
500
|
it('CSS of \'Ruler visibility\' section', { tags: 'css' }, () => {
|
@@ -510,7 +510,8 @@ describe('Create Item page - Ruler: Edit Tab', () => {
|
|
510
510
|
});
|
511
511
|
});
|
512
512
|
|
513
|
-
it('\'Launch the ruler by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
|
513
|
+
it('When user checks \'Add show/hide button\' checkbox, then \'Launch the ruler by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
|
514
|
+
rulerPage.steps.checkAddShowHideButtonCheckbox();
|
514
515
|
utilities.verifyElementVisibilityState(rulerPage.launchToolByDefaultCheckbox(), 'exist');
|
515
516
|
rulerPage.steps.verifyLaunchToolByDefaultLabel('ruler');
|
516
517
|
rulerPage.steps.verifyLaunchToolByDefaultCheckboxUnchecked();
|
@@ -32,7 +32,6 @@ 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();
|
36
35
|
});
|
37
36
|
|
38
37
|
rulerOptions.forEach((rulerOption)=> {
|
@@ -68,7 +67,6 @@ describe('Ruler: Edit tab functionality', () => {
|
|
68
67
|
before(() => {
|
69
68
|
cy.log('Navigating to ruler resource tool');
|
70
69
|
rulerPage.steps.navigateToCreateResource('ruler');
|
71
|
-
rulerPage.steps.uncheckAddShowHideButtonCheckbox();
|
72
70
|
});
|
73
71
|
|
74
72
|
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', () => {
|
@@ -122,7 +120,6 @@ describe('Ruler: Edit tab functionality', () => {
|
|
122
120
|
before(() => {
|
123
121
|
cy.log('Navigating to ruler resource tool');
|
124
122
|
rulerPage.steps.navigateToCreateResource('ruler');
|
125
|
-
rulerPage.steps.uncheckAddShowHideButtonCheckbox();
|
126
123
|
});
|
127
124
|
|
128
125
|
it('When \'Allow student to flip ruler\' checkbox is unchecked, then flip button should not be displayed on ruler in the preview tab', () => {
|
@@ -198,7 +195,6 @@ describe('Ruler: Edit tab functionality', () => {
|
|
198
195
|
before(() => {
|
199
196
|
cy.log('Navigating to \'Ruler\' resource tool');
|
200
197
|
rulerPage.steps.navigateToCreateResource('ruler');
|
201
|
-
rulerPage.steps.uncheckAddShowHideButtonCheckbox();
|
202
198
|
});
|
203
199
|
|
204
200
|
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', () => {
|
@@ -250,7 +246,6 @@ describe('Ruler: Edit tab functionality', () => {
|
|
250
246
|
before(() => {
|
251
247
|
cy.log('Navigating to ruler resource tool');
|
252
248
|
rulerPage.steps.navigateToCreateResource('ruler');
|
253
|
-
rulerPage.steps.uncheckAddShowHideButtonCheckbox();
|
254
249
|
});
|
255
250
|
|
256
251
|
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
|
-
|
29
|
+
shortTextResponsePage.steps.verifyCorrectIncorrectBorderNotExist();
|
30
30
|
shortTextResponsePage.steps.verifyCorrectAnswerResponseInCorrectAnswerWrapper('Buildings');
|
31
31
|
shortTextResponsePage.steps.switchToStudentView();
|
32
32
|
});
|
@@ -20,7 +20,6 @@ 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();
|
24
23
|
simpleCalculatorPage.steps.switchToPreviewTab();
|
25
24
|
});
|
26
25
|
|
@@ -211,7 +210,6 @@ describe('Simple calculator - Functionality cases, Undo/Redo Controls, Edge case
|
|
211
210
|
abortEarlySetup();
|
212
211
|
before(() => {
|
213
212
|
simpleCalculatorPage.steps.navigateToCreateResource('simple calculator');
|
214
|
-
simpleCalculatorPage.steps.uncheckAddShowHideButtonCheckbox();
|
215
213
|
simpleCalculatorPage.steps.switchToPreviewTab();
|
216
214
|
});
|
217
215
|
|
@@ -278,7 +276,6 @@ describe('Simple calculator - Functionality cases, Undo/Redo Controls, Edge case
|
|
278
276
|
abortEarlySetup();
|
279
277
|
before(() => {
|
280
278
|
simpleCalculatorPage.steps.navigateToCreateResource('simple calculator');
|
281
|
-
simpleCalculatorPage.steps.uncheckAddShowHideButtonCheckbox();
|
282
279
|
simpleCalculatorPage.steps.switchToPreviewTab();
|
283
280
|
});
|
284
281
|
|
@@ -122,7 +122,6 @@ 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();
|
126
125
|
simpleCalculatorPage.steps.switchToPreviewTab();
|
127
126
|
utilities.verifyElementVisibilityState(simpleCalculatorPage.checkHistoryButton(), 'notExist');
|
128
127
|
utilities.verifyElementVisibilityState(simpleCalculatorPage.percentageButton(), 'visible');
|
@@ -139,9 +138,9 @@ describe('Simple calculator - Customize calculator settings, show calculator vis
|
|
139
138
|
utilities.verifyInnerText(simpleCalculatorPage.calculatorVisibilityLabel(), 'Simple calculator visibility');
|
140
139
|
});
|
141
140
|
|
142
|
-
it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be
|
141
|
+
it('\'Add show/hide button\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
|
143
142
|
simpleCalculatorPage.steps.verifyAddShowHideButtonLabel();
|
144
|
-
simpleCalculatorPage.steps.
|
143
|
+
simpleCalculatorPage.steps.verifyAddShowHideButtonCheckboxUnchecked();
|
145
144
|
});
|
146
145
|
|
147
146
|
it('CSS of \'Simple calculator visibility\' section', { tags: 'css' }, () => {
|
@@ -160,7 +159,7 @@ describe('Simple calculator - Customize calculator settings, show calculator vis
|
|
160
159
|
});
|
161
160
|
});
|
162
161
|
|
163
|
-
it('\'Launch the simple calculator by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
|
162
|
+
it('When user checks \'Add show/hide button\' checkbox, then \'Launch the simple calculator by default\' label and checkbox should be displayed and by default the checkbox should be unchecked', () => {
|
164
163
|
simpleCalculatorPage.steps.checkAddShowHideButtonCheckbox();
|
165
164
|
simpleCalculatorPage.steps.verifyLaunchToolByDefaultLabel('simple calculator');
|
166
165
|
simpleCalculatorPage.steps.verifyLaunchToolByDefaultCheckboxUnchecked();
|
@@ -192,8 +191,6 @@ describe('Simple calculator - Customize calculator settings, show calculator vis
|
|
192
191
|
});
|
193
192
|
|
194
193
|
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();
|
197
194
|
simpleCalculatorPage.steps.switchToPreviewTab();
|
198
195
|
utilities.verifyElementVisibilityState(simpleCalculatorPage.calculatorVisibilityButton(), 'notExist');
|
199
196
|
});
|
@@ -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,29 +118,7 @@ describe('Text Entry Math - Additional settings : Grading view, ARIA label for t
|
|
118
118
|
utilities.verifyElementVisibilityState(textEntryMathPage.ariaLabelInputField(), 'visible');
|
119
119
|
});
|
120
120
|
|
121
|
-
|
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
|
-
});
|
121
|
+
textEntryMathPage.tests.verifyAriaLabelSectionContents('text containers');
|
144
122
|
|
145
123
|
it('When the users adds a new text container, the count of the aria label text input fields should update accordingly', () => {
|
146
124
|
textEntryMathPage.steps.addResponseArea();
|