itemengine-cypress-automation 1.0.177-figDndMigration-9070657.0 → 1.0.178-figDndMigration-78c8415.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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(() => {
@@ -626,12 +626,18 @@ export const verifyIeQuestionData = {
626
626
  }).then(() => {
627
627
  expect(position).to.be.eq(expectedQuestionData.position);
628
628
  });
629
- if (expectedQuestionData.dragHandleVisibility) {
629
+ if (expectedQuestionData.dragHandleVisibility === true) {
630
630
  draggableOptionContainer.draggableOption()
631
631
  .eq(0)
632
632
  .within(() => {
633
633
  utilities.verifyElementVisibilityState(draggableOptionContainer.draggableOptionDragIcon(), 'exist');
634
634
  });
635
+ } else {
636
+ draggableOptionContainer.draggableOption()
637
+ .eq(0)
638
+ .within(() => {
639
+ utilities.verifyElementVisibilityState(draggableOptionContainer.draggableOptionDragIcon(), 'notExist');
640
+ });
635
641
  }
636
642
  let options = [];
637
643
  draggableOptionContainer.draggableOption()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.177-figDndMigration-9070657.0",
3
+ "version": "1.0.178-figDndMigration-78c8415.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {