itemengine-cypress-automation 1.0.544-IEI-6994-Add-test-coverage-for-text-selection--d8792a9.0 → 1.0.545-IEI-6994-Add-test-coverage-for-text-selection--4813b13.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.
@@ -240,7 +240,7 @@ describe('Create item page - Fill in the gaps with drag and drop: Minimum scorin
240
240
 
241
241
  it('When the user selects \'Penalty points for each incorrect answer\' from the penalty scoring dropdown, and attempts the question incorrectly, then the user should be awarded negative points for incorrect options and on switching to \'Grading\' view, incorrect icons should be displayed besides all incorrect responses, a status message should not be displayed and correct answer section with all correct answers should be displayed', () => {
242
242
  textSelectionPage.steps.switchToEditTab();
243
- textSelectionPage.steps.unSelectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1], true);
243
+ textSelectionPage.steps.deselectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
244
244
  textSelectionPage.steps.expandPenaltyScoringDropdown();
245
245
  textSelectionPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for each incorrect answer');
246
246
  autoScoredScoringSectionMultiResponseType.steps.uncheckAutomaticallySetPenaltyPointsCheckbox();
@@ -650,15 +650,6 @@ const steps = {
650
650
  textSelectionPage.steps.verifyOptionIsSelectedInSpecifyCorrectAnswerSection(optionText);
651
651
  },
652
652
 
653
- /**
654
- * @param {*} optionText Text of the option in set correct answer section
655
- * @description Unselect an option in set correct answer section
656
- */
657
- unSelectOptionInSpecifyCorrectAnswerSection: (optionText) => {
658
- textSelectionPage.steps.clickOnOptionInSpecifyCorrectAnswerSection(optionText);
659
- textSelectionPage.steps.verifyOptionIsNotSelectedInSpecifyCorrectAnswerSection(optionText);
660
- },
661
-
662
653
  /**
663
654
  * @param {*} optionText Text of the option in set correct answer section
664
655
  * @description Deselect an option in set correct answer section
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.544-IEI-6994-Add-test-coverage-for-text-selection--d8792a9.0",
3
+ "version": "1.0.545-IEI-6994-Add-test-coverage-for-text-selection--4813b13.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {