itemengine-cypress-automation 1.0.386-IEI-5793-4ad8a95.0 → 1.0.387-IEI-5793-1ae20b6.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.
@@ -22,7 +22,7 @@ describe('Test grading view with multiple session and student Ids', { tags: 'smo
22
22
  }
23
23
  }, 100);
24
24
  }
25
- const updateResposneIds = (response) => {
25
+ const updateResponseIds = (response) => {
26
26
  const {
27
27
  body: {
28
28
  data: {
@@ -110,7 +110,7 @@ describe('Test grading view with multiple session and student Ids', { tags: 'smo
110
110
  cy.pageLoadWait()
111
111
  // waiting for grading multiple session data to be loaded
112
112
  cy.wait('@gradingMultipleSession').then(({response}) => {
113
- updateResposneIds(response);
113
+ updateResponseIds(response);
114
114
  });
115
115
 
116
116
  gradingGridViewPage.steps.verifySessionData(
@@ -29,11 +29,11 @@ const steps = {
29
29
  addSessionDataAndLaunchGrading: ({studentIds = [], sessionIds = [], itemIds = [], responseIds = []}) => {
30
30
  const students = studentIds.join(", ");
31
31
  const sessions = sessionIds.join(", ");
32
- const Items = itemIds.join(", ");
32
+ const items = itemIds.join(", ");
33
33
  const responses = responseIds.join(", ");
34
34
  sessions && gradingGridViewPage.sessionIdField().clear().type(sessions);
35
35
  students && gradingGridViewPage.studentIdField().clear().type(students);
36
- Items && gradingGridViewPage.itemIdField().clear().type(Items);
36
+ items && gradingGridViewPage.itemIdField().clear().type(items);
37
37
  responses && gradingGridViewPage.responseIdField().clear().type(responses);
38
38
  gradingGridViewPage.launchGradingButton().click();
39
39
  },
@@ -712,7 +712,7 @@ const steps = {
712
712
  * @throws {Error} Will throw an error if the checkbox is not checked after the operation.
713
713
  * @example - checkOptionsCheckboxInSpecifyCorrectAnswerSection(0);
714
714
  */
715
- setcorrectAnswer: (optionIndex) => {
715
+ setCorrectAnswer: (optionIndex) => {
716
716
  singleSelectionPage.optionWrapperCorrectAnswerSection()
717
717
  .eq(optionIndex)
718
718
  .click()
@@ -731,7 +731,7 @@ const steps = {
731
731
  singleSelectionPage.steps.addTextInQuestionInstructionsInputField(questionInstruction);
732
732
  singleSelectionPage.steps.addInputToOptionsInputField(options);
733
733
  singleSelectionPage.steps.allotPoints(points);
734
- singleSelectionPage.steps.setcorrectAnswer(correctAnswer);
734
+ singleSelectionPage.steps.setCorrectAnswer(correctAnswer);
735
735
  singleSelectionPage.saveQuestionButton().click();
736
736
  },
737
737
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.386-IEI-5793-4ad8a95.0",
3
+ "version": "1.0.387-IEI-5793-1ae20b6.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {