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.
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/selectChartTypeSection.js +1 -1
- package/cypress/pages/chartsBarPage.js +1 -1
- package/cypress/pages/components/chartsCommonComponent.js +1 -1
- package/package.json +1 -1
|
@@ -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(() => {
|
|
@@ -39,7 +39,7 @@ const selectors = {
|
|
|
39
39
|
|
|
40
40
|
//correct answer section
|
|
41
41
|
correctAnswersLabel: () => cy.get('[class*="CorrectAnswerHeader"]:visible'),
|
|
42
|
-
|
|
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"]'),
|