itemengine-cypress-automation 1.0.258 → 1.0.259-26thNovSmokeTestFixes-ccda226.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
- let previewContentViews = ['Question preview', 'Item view', 'Item preview', 'Student view', 'Grading view', 'Correct answer view'];
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(['Please enter all option values', 'Please set points']);
45
+ dialogBoxBase.tests.verifyRequiredFieldsWarningPopupOnClickingSaveButton();
46
46
 
47
47
  it('Validation error messages should be displayed below required input fields', () => {
48
- fillInTheGapsDragAndDropPage.steps.verifyQuestionInstructionsErrorMessageIsNotDisplayed();
49
- fillInTheGapsDragAndDropPage.steps.verifyWarningIconOnRequiredFields(['Please enter all option values', 'Please set points']);
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: 'Bullet',
2160
+ title: 'Dot Multiplier New',
2161
2161
  textElement: null,
2162
- ariaLabel: 'Bullet',
2162
+ ariaLabel: 'DotMultiplier',
2163
2163
  displayText: '•'
2164
2164
  },
2165
2165
  a: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.258",
3
+ "version": "1.0.259-26thNovSmokeTestFixes-ccda226.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {