itemengine-cypress-automation 1.0.593-IEI-7195-92ba6d8.0 → 1.0.593-IEI-7195-f6ffcc1.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,7 +4,7 @@ import utilities from "../../../../support/helpers/utilities";
4
4
  const css = Cypress.env('css');
5
5
 
6
6
  let gradingAndCorrectAnsView = ['Grading view', 'Correct answer view']
7
- const alternativeAnswerCheck = Cypress.env('ENABLE_ALTERNATIVE_ANSWER_ENHANCEMENT') === true;
7
+ const alternativeAnswerCheck = Cypress.env('ENABLE_ALTERNATIVE_ANSWER_ENHANCEMENT') === 'true';
8
8
  const views = utilities.getViews(gradingAndCorrectAnsView);
9
9
  let itemReferenceID = "";
10
10
  const barBackgroundColor = ['rgb(46, 169, 89)', 'rgb(6, 117, 244)', 'rgb(219, 124, 0)', 'rgb(156, 105, 39)', 'rgb(219, 60, 0)'];
@@ -4,7 +4,7 @@ import abortEarlySetup from "../../../support/helpers/abortEarly";
4
4
  const css = Cypress.env('css');
5
5
  const barBackgroundColor = ['rgb(46, 169, 89)', 'rgb(6, 117, 244)', 'rgb(219, 124, 0)'];
6
6
  const barLabels = ['Bar 1', 'Bar 2', 'Bar 3']
7
- const alternativeAnswerCheck = Cypress.env('ENABLE_ALTERNATIVE_ANSWER_ENHANCEMENT') === true;
7
+ const alternativeAnswerCheck = Cypress.env('ENABLE_ALTERNATIVE_ANSWER_ENHANCEMENT') === 'true';
8
8
 
9
9
  describe('Select chart type - Chart', () => {
10
10
  before(() => {
@@ -1374,7 +1374,7 @@ const steps = {
1374
1374
  },
1375
1375
 
1376
1376
  verifyAlternateAnswerSectionExist: () => {
1377
- chartsBarPage.correctAnswerlabelWrapper()
1377
+ chartsBarPage.correctAnswerLabelWrapper()
1378
1378
  .should('be.visible');
1379
1379
  },
1380
1380
 
@@ -39,7 +39,7 @@ const selectors = {
39
39
 
40
40
  //correct answer section
41
41
  correctAnswersLabel: () => cy.get('[class*="CorrectAnswerHeader"]:visible'),
42
- correctAnswerlabelWrapper: () => cy.get('[class*="CorrectAnswerLabelWrapper"]'),
42
+ correctAnswerLabelWrapper: () => cy.get('[class*="CorrectAnswerLabelWrapper"]'),
43
43
  correctIcon: () => cy.get('.icon-correct'),
44
44
  incorrectIcon: () => cy.get('.icon-incorrect'),
45
45
  correctIncorrectAnswerTextWrapper: () => cy.get('[class*="AnswerStatusWrapper"]'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.593-IEI-7195-92ba6d8.0",
3
+ "version": "1.0.593-IEI-7195-f6ffcc1.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {