itemengine-cypress-automation 1.0.296-addedLogsInrunSorryCypressSpinnaker-1c00e48.0 → 1.0.297-minorUpdated7thFeb-f13ef5d.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.
@@ -108,8 +108,9 @@ describe('Create item page - Multiple selection: Preview contents', () => {
108
108
  });
109
109
  } else {
110
110
  it(`The correct options should have correct icons besides them`, () => {
111
- multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(0);
112
- multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(1);
111
+ // Need to remove comment once https://redmine.zeuslearning.com/issues/576368 is resolved
112
+ // multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(0);
113
+ // multipleSelectionPage.steps.verifyCorrectOptionIconGradingView(1);
113
114
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleGradingView(2);
114
115
  multipleSelectionPage.steps.verifyCorrectIncorrectIconNotVisibleGradingView(3);
115
116
  });
@@ -37,7 +37,7 @@ const selectors = {
37
37
  noneOptionNumeration: () => cy.get('.no-numeration-div'),
38
38
  //correct answer section
39
39
  correctAnswersLabel: () => cy.get('[class*="question-preview-wrapper"] [class*="CorrectAnswerLabel"]'),
40
- correctAnswerSectionWrapper: () => cy.get('[class*="question-preview-wrapper"] .mcq-radio-control.mcq-answer-checked').eq(0),
40
+ correctAnswerSectionWrapper: () => cy.get('[class*="question-preview-wrapper"] .mcq-radio-control.mcq-answer-checked').eq(1),
41
41
  optionWrapperCorrectAnswerSection: () => cy.get('.radio-option-wrapper'),
42
42
  correctIncorrectAnswerLabel: () => cy.get('[class*="style"][class*="__Status"]'),
43
43
  answerStatusBanner: () => cy.get('[class*="StatusContainer"]'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.296-addedLogsInrunSorryCypressSpinnaker-1c00e48.0",
3
+ "version": "1.0.297-minorUpdated7thFeb-f13ef5d.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -94,15 +94,10 @@ export function runSorryCypressLocal() {
94
94
  * @method runSorryCypressSpinnaker
95
95
  */
96
96
  export function runSorryCypressSpinnaker() {
97
- console.log('Inside runSorryCypressSpinnaker');
98
97
  process.env.CYPRESS_API_URL = "https://cypress-director.imaginelearning.tech/";
99
- console.log('CYPRESS_API_URL:', process.env.CYPRESS_API_URL);
100
98
  startTime = process.env.START_TIME;
101
- console.log('START_TIME:', startTime);
102
99
  ciBuildId = setCiBuildId("spinnaker", startTime);
103
- console.log('ciBuildId:', ciBuildId);
104
100
  const envArgs = setCommandLineEnvArgs()
105
- console.log('envArgs:', envArgs);
106
101
  let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "cypress/e2e/ILC/**/*.js"`;
107
102
  console.log(`command: ${command}`);
108
103
  execSync(command, { stdio: "inherit" });