itemengine-cypress-automation 1.0.453-IEI-6713-temValidationTests-260aeee.0 → 1.0.453-task-IEI-6684-f7a615c.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.
@@ -4,18 +4,18 @@ import abortEarlySetup from "../../../support/helpers/abortEarly";
4
4
  import utilities from "../../../support/helpers/utilities";
5
5
  const css = Cypress.env('css');
6
6
  const canvasTools = [
7
- 'Text', 'Pen', 'Highlighter', 'Image', 'Shapes',
8
- 'Stamps', 'Unifix Cube', 'Diagrams', 'Array',
9
- 'Number line', 'Fraction bars', 'Protractor', 'Table', 'Grids',
10
- 'Equation editor', 'Algebra tiles', 'Point eraser', 'Item eraser'
7
+ 'Text', 'Scribble', 'Highlighter', 'Image', 'Shapes',
8
+ 'Stamps', 'Unifix Cube', 'Equation editor', 'Diagrams',
9
+ 'Array', 'Number line', 'Fraction bars', 'Table', 'Algebra tiles', 'Grids',
10
+ 'Protractor', 'Ruler', 'Simple Calculator', 'Scientific Calculator'
11
11
  ];
12
- const defaultSelectedCanvasTools = ['Text', 'Pen', 'Highlighter', 'Image', 'Shapes', 'Stamps'];
13
- const canvasControls = ['Move', 'Delete', 'Undo', 'Redo', 'Clear all'];
14
- const defaultSelectedCanvasControls = ['Move', 'Delete', 'Undo', 'Redo', 'Clear all'];
15
- const defaultTool = 'Pen';
12
+ const defaultSelectedCanvasTools = ['Text', 'Scribble', 'Highlighter', 'Image', 'Shapes', 'Stamps'];
13
+ const canvasControls = ['Select', 'Point eraser', 'Item eraser', 'Undo', 'Redo', 'Clear all'];
14
+ const defaultSelectedCanvasControls = ['Select', 'Point eraser', 'Item eraser', 'Undo', 'Redo', 'Clear all'];
15
+ const defaultTool = 'Scribble';
16
16
  const defaultSelectedCategories = ['Numpad', 'Keypad', 'Intermediate', 'Primary', 'General', 'Common', 'Algebra', 'Geo', 'Compare', 'Matrices'];
17
17
  const defaultSelectedStamps = ['Stamp 1', 'Stamp 2', 'Stamp 3', 'Stamp 4', 'Stamp 5', 'Stamp 6', 'Stamp 7', 'Stamp 8', 'Stamp 9', 'Stamp 10', 'Stamp 11', 'Stamp 12', 'Stamp 13'];
18
- const defaultToolsOptions = ['Text', 'Pen', 'Highlighter'];
18
+ const defaultToolsOptions = ['Text', 'Scribble', 'Highlighter'];
19
19
 
20
20
 
21
21
  describe('ThinkSphere Question - Solve Phases Section', () => {
@@ -142,8 +142,8 @@ describe('ThinkSphere Question - Solve Phases Section', () => {
142
142
  });
143
143
 
144
144
  it('User should be able to unselect any default selected control.', () => {
145
- thinkSpherePage.steps.deselectOptionFromToolsAndControls('Move');
146
- thinkSpherePage.steps.verifyOptionIsNotSelected('Move');
145
+ thinkSpherePage.steps.deselectOptionFromToolsAndControls('Select');
146
+ thinkSpherePage.steps.verifyOptionIsNotSelected('Select');
147
147
  });
148
148
 
149
149
  thinkSpherePage.tests.verifyDefaultToolDropdown(defaultToolsOptions, defaultTool);
@@ -236,10 +236,10 @@ describe('ThinkSphere Question - Solve Phases Section', () => {
236
236
  'font-size': css.fontSize.small,
237
237
  'font-weight': css.fontWeight.regular
238
238
  });
239
- utilities.verifyCSS(thinkSpherePage.equationEditorSectionTickIcon(), {
239
+ utilities.verifyCSS(thinkSpherePage.equationEditorSectionTickIcon().find('[data-name*="Icon"]'), {
240
240
  'fill': css.color.activeButtons
241
241
  });
242
- utilities.verifyCSS(thinkSpherePage.equationEditorSectionCategoriesDragIcon(), {
242
+ utilities.verifyCSS(thinkSpherePage.equationEditorSectionCategoriesDragIcon().find('path'), {
243
243
  'fill': css.color.activeButtons
244
244
  });
245
245
  });
@@ -257,7 +257,7 @@ describe('ThinkSphere Question - Solve Phases Section', () => {
257
257
  'font-size': css.fontSize.small,
258
258
  'font-weight': css.fontWeight.regular
259
259
  });
260
- utilities.verifyCSS(thinkSpherePage.equationEditorSectionCategoriesDragIcon(), {
260
+ utilities.verifyCSS(thinkSpherePage.equationEditorSectionCategoriesDragIcon().find('path'), {
261
261
  'fill': css.color.secondaryBtn
262
262
  });
263
263
  });
@@ -140,7 +140,7 @@ const selectors = {
140
140
  customizeToolsAndControlsPath: () => thinkSpherePage.customizeToolsAndControls().find('path'),
141
141
  solvePhaseToolsAndControlsOptionsTilesFeatherCheckIcon: () => thinkSpherePage.solveToolsAndControlsOptionsTiles('Text').find('[data-name="Icon feather-check"]'),
142
142
  solvePhaseToolsAndControlsOptionsTilesRectangle: () => thinkSpherePage.solveToolsAndControlsOptionsTiles('Text').find('[data-name*="Rectangle"]'),
143
- solvePhaseToolsAndControlsOptionsTilesDragItemFlexWrapperSvg: () => thinkSpherePage.solveToolsAndControlsOptionsTiles('Text').find('.drag-item-flex-wrapper svg'),
143
+ solvePhaseToolsAndControlsOptionsTilesDragItemFlexWrapperSvg: () => thinkSpherePage.solveToolsAndControlsOptionsTiles('Text').find('.drag-item-flex-wrapper svg path'),
144
144
  solvePhaseToolsAndControlsOptionsTilesTextDragIconSvgPath: () => thinkSpherePage.solveToolsAndControlsOptionsTiles('Text').find('.drag-icon-button-custom-format svg path'),
145
145
  solvePhaseToolsAndControlsOptionsTilesArrayDragIconSvgPath: () => thinkSpherePage.solveToolsAndControlsOptionsTiles('Array').find('.drag-icon-button-custom-format svg path'),
146
146
  playerTimer: () => cy.get('[class*="VideoPlayerstyles__PlayerTimerWrapper"]'),
@@ -2894,12 +2894,12 @@ const tests = {
2894
2894
  it('CSS of Recording in Progress warning', { tags: 'css' }, () => {
2895
2895
  utilities.verifyCSS(thinkSpherePage.whiteboardRecordingInProgressWarningHeader(), {
2896
2896
  'border-bottom': `1px solid ${css.color.secondaryBtnBorder}`,
2897
- 'padding': '20px 0px',
2897
+ 'padding': '20px 0px 16px',
2898
2898
  'margin': '0px 16px',
2899
2899
  'text-align': 'left',
2900
2900
  });
2901
2901
  utilities.verifyCSS(thinkSpherePage.whiteboardRecordingInProgressWarningDescription(), {
2902
- 'padding': '0px 16px',
2902
+ 'padding': '16px 16px 0px',
2903
2903
  'font-size': '16px',
2904
2904
  'color': css.color.sectionHeading,
2905
2905
  'line-height': '22px',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.453-IEI-6713-temValidationTests-260aeee.0",
3
+ "version": "1.0.453-task-IEI-6684-f7a615c.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {