itemengine-cypress-automation 1.0.471-Task-new-IEI-6684-016c0c9.0 → 1.0.471-fix-drawing-issue-f367af8.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.
@@ -209,7 +209,7 @@ describe('Drawing response - Additional settings', () => {
209
209
  });
210
210
 
211
211
  it('When all line type buttons are selected by default then all the line type options should be displayed in secondary toolbar in the preview tab', () => {
212
- drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption('Line Type');
212
+ drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption('Line type');
213
213
  lineTypeOptionsPreviewTab.forEach((lineType, index) => {
214
214
  drawingResponsePage.steps.verifySecondaryPopupLineType(lineType, index)
215
215
  });
@@ -221,7 +221,7 @@ describe('Drawing response - Additional settings', () => {
221
221
  drawingResponsePage.steps.unselectSetLineTypeOption(lineTypeOptionsEditTab[1]);
222
222
  drawingResponsePage.steps.switchToPreviewTab();
223
223
  drawingResponsePage.steps.selectPreviewTabToolbarOption('Line');
224
- drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption('Line Type');
224
+ drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption('Line type');
225
225
  //Need to add step once https://redmine.zeuslearning.com/issues/555345 is fixed
226
226
  });
227
227
  });
@@ -15,7 +15,7 @@ export const drawingToolbarOptionsAndAdditionalOptions = {
15
15
  {
16
16
  displayName: 'Line',
17
17
  additionalOptions: [' StrokeFontColor', ' StrokeFontColorPicker'],
18
- secondaryToolbarOptions: ['Stroke color', 'Stroke thickness', 'Line Type', 'Opacity'],
18
+ secondaryToolbarOptions: ['Stroke color', 'Stroke thickness', 'Line type', 'Opacity'],
19
19
  tooltipText: 'LineDraw a straight line',
20
20
  toolType: 'tool'
21
21
  },
@@ -746,7 +746,7 @@ const steps = {
746
746
  verifySecondaryPopupLineType: (lineType, index) => {
747
747
  drawingResponsePage.previewTabSecondaryOptionPopupOptions()
748
748
  .eq(index)
749
- .should('have.attr', 'aria-label', `Line Type ${lineType}`);
749
+ .should('have.attr', 'aria-label', `Line type ${lineType}`);
750
750
  },
751
751
 
752
752
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.471-Task-new-IEI-6684-016c0c9.0",
3
+ "version": "1.0.471-fix-drawing-issue-f367af8.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {