itemengine-cypress-automation 1.0.173-uploadResponseMigration-c1e2b7c.0 → 1.0.173

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.
@@ -560,6 +560,7 @@ export const extractLrnQuestionData = {
560
560
  cy.log(`Extracting the question instructions and answer input field attributes from question ${index}`);
561
561
  obj.questionIndex = index;
562
562
  obj.questionType = 'shortTextResponse'
563
+ lrnPage.steps.extractQuestionInstructions(obj, index);
563
564
  lrnPage.questionWrapper()
564
565
  .eq(index)
565
566
  .within(() => {
@@ -576,7 +577,7 @@ export const extractLrnQuestionData = {
576
577
  obj.specialCharactersEnabled = true;
577
578
  }
578
579
  });
579
- });
580
+ })
580
581
  lrnQuestionDataArr.push(obj);
581
582
  },
582
583
 
@@ -27,7 +27,6 @@ export const iePage = {
27
27
  shortTextResponseCorrectAnswerText: () => cy.get('[class*="CorrectAnswerValueWrapper"]'),
28
28
  specialCharactersButtonPreviewTab: () => cy.get('.custon-special-character-button'),
29
29
  uploadResponseCaptureImage: () => cy.get('[aria-label="capture an image"]'),
30
-
31
30
  steps: {
32
31
  verifyQuestionInstructions: (expectedQuestionData) => {
33
32
  if (expectedQuestionData.previewQuestionInstructions) {
@@ -557,7 +556,7 @@ export const verifyIeQuestionData = {
557
556
  });
558
557
  } else {
559
558
  utilities.verifyElementVisibilityState(iePage.shortTextResponseCorrectAnswerText(), 'notExist');
560
- };
559
+ }
561
560
  });
562
561
  },
563
562
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.173-uploadResponseMigration-c1e2b7c.0",
3
+ "version": "1.0.173",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -35,4 +35,4 @@
35
35
  "node-fetch": "^3.3.2",
36
36
  "react-uuid": "^2.0.0"
37
37
  }
38
- }
38
+ }