itemengine-cypress-automation 1.0.258 → 1.0.259-26thNovSmokeTestFixes-ccda226.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +2 -1
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +5 -3
- package/cypress/fixtures/equationEditorCategoriesAndSymbols .js +2 -2
- package/package.json +1 -1
- /package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/{checkAnswerFunctionalityForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.js} +0 -0
@@ -2,7 +2,8 @@ import { contentBlocksPage, itemPreviewPage, studentViewPage } from "../../../pa
|
|
2
2
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
3
|
import utilities from "../../../support/helpers/utilities";
|
4
4
|
const css = Cypress.env('css');
|
5
|
-
|
5
|
+
//Failing due to https://redmine.zeuslearning.com/issues/583133 , add grading view once it is resolved 'Grading view'
|
6
|
+
let previewContentViews = ['Question preview', 'Item view', 'Item preview', 'Student view', 'Correct answer view'];
|
6
7
|
const views = utilities.getViews(previewContentViews);
|
7
8
|
let itemReferenceID = "";
|
8
9
|
|
@@ -160,6 +160,7 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
160
160
|
});
|
161
161
|
|
162
162
|
it('User should be able to attach multiple files at once among the supported file types', () => {
|
163
|
+
drawingResponsePage.steps.resetQuestionPreview();
|
163
164
|
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
|
164
165
|
drawingResponsePage.steps.uploadFile(['uploads/sample.jpg', 'uploads/sample.gif']);
|
165
166
|
drawingResponsePage.steps.verifyInsertImageContainerNotExist();
|
@@ -42,11 +42,13 @@ describe('Create item page - Fill in the gaps drag and drop: Header section and
|
|
42
42
|
});
|
43
43
|
|
44
44
|
describe('Validation error messages', () => {
|
45
|
-
dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton(
|
45
|
+
dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton();
|
46
46
|
|
47
47
|
it('Validation error messages should be displayed below required input fields', () => {
|
48
|
-
fillInTheGapsDragAndDropPage.steps.
|
49
|
-
fillInTheGapsDragAndDropPage.steps.
|
48
|
+
fillInTheGapsDragAndDropPage.steps.verifyOptionsInputFieldErrorMessage(0);
|
49
|
+
fillInTheGapsDragAndDropPage.steps.verifyOptionsInputFieldErrorMessage(1);
|
50
|
+
fillInTheGapsDragAndDropPage.steps.verifySpecifyCorrectAnswerErrorIconIsVisible();
|
51
|
+
fillInTheGapsDragAndDropPage.steps.verifySpecifyCorrectAnswerErrorMessage();
|
50
52
|
});
|
51
53
|
|
52
54
|
it('Validation error messages should disappear when required input fields are filled', () => {
|
@@ -2157,9 +2157,9 @@ export const equationEditorCategoriesAndSymbols = {
|
|
2157
2157
|
displayText: '∝'
|
2158
2158
|
},
|
2159
2159
|
bullet: {
|
2160
|
-
title: '
|
2160
|
+
title: 'Dot Multiplier New',
|
2161
2161
|
textElement: null,
|
2162
|
-
ariaLabel: '
|
2162
|
+
ariaLabel: 'DotMultiplier',
|
2163
2163
|
displayText: '•'
|
2164
2164
|
},
|
2165
2165
|
a: {
|
package/package.json
CHANGED