itemengine-cypress-automation 1.0.114 → 1.0.115

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,7 +37,7 @@ const selectors = {
37
37
  }
38
38
  },
39
39
  textResponse: () => cy.get('[class*="Canvasstyle__TextBoxContainer"] textarea'),
40
- canvasImage: () => cy.get('.canvas-image'),
40
+ canvasImage: () => cy.get('.canvas-image').eq(0),
41
41
  canvasImageInPreviewTab: () => cy.get('[class*="PreviewTabstyles"] [class*="ImageWrapper"] img'),
42
42
  imagePropertiesLabel: () => cy.get('[class*="ImagePropertiesstyles__SectionLabel"]'),
43
43
  fillImageToCanvasLabel: () => cy.get('[data-ngie-testid="fill-image-to-canvas-checkbox"] .MuiFormControlLabel-label'),
@@ -22,9 +22,9 @@ const selectors = {
22
22
  editCellPropertyButton: () => cy.get('button[aria-label="More Action"]'),
23
23
  editCellPropertyList: () => cy.get('.ngie-action-cell-container [role="menu"]'),
24
24
  editCellPropertyListOption: () => cy.get('[class*="MuiMenuItem"][role="menuitem"]'),
25
- cellHeadingTextArea: () => cy.get('textarea[aria-label="enter heading"]'),
26
- cellSubheadingTextArea: () => cy.get('textarea[aria-label="enter subheading"]'),
27
- cellTextTextArea: () => cy.get('textarea[aria-label="Enter text here..."]'),
25
+ cellHeadingTextArea: () => cy.get('.heading-field-wrapper [role="textbox"]'),
26
+ cellSubheadingTextArea: () => cy.get('.heading-field-wrapper [role="textbox"]'),
27
+ cellTextTextArea: () => cy.get('.matrix-text-field [role="textbox"]'),
28
28
  tableCellContainer: () => cy.get('[class*="DragAndDropTablestyles__CellContainer"]'),
29
29
  //Note: remove :visible after https://redmine.zeuslearning.com/issues/556304 gets fixed
30
30
  dropzoneCellSpecifyCorrectAnswerSection: () => cy.get('[class*="DragAndDropMatrixstyles__CellContainer"][class*="dropzone-cell"]:visible'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.114",
3
+ "version": "1.0.115",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -84,7 +84,7 @@ export function runSorryCypressSpinnaker() {
84
84
  startTime = process.env.START_TIME;
85
85
  ciBuildId = setCiBuildId("spinnaker", startTime);
86
86
  const envArgs = setCommandLineEnvArgs()
87
- let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs},grepTags=-css+-a11y --spec "cypress/e2e/ILC/**/*.smoke.js"`;
87
+ let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs},grepTags=-css+-a11y --spec "cypress/e2e/ILC/**/*.js"`;
88
88
  execSync(command, { stdio: "inherit" });
89
89
  }
90
90