itemengine-cypress-automation 1.0.176-figDndMigration-409c782.0 → 1.0.177-figDndMigration-9070657.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -691,15 +691,16 @@ export const extractLrnQuestionData = {
691
691
  obj.position = position;
692
692
  });
693
693
  let dragHandleVisibility;
694
- lrnPage.draggableResponse().eq(0).invoke('attr', 'class').then(classAttribute => {
695
- const classList = classAttribute.split(' ');
696
- if (classList.includes('lrn_btn_no_handle')) {
697
- dragHandleVisibility = false;
698
- } else {
699
- dragHandleVisibility = true;
700
- }
701
- obj.dragHandleVisibility = dragHandleVisibility;
702
- });
694
+ lrnPage.draggableResponse()
695
+ .eq(0)
696
+ .then(($draggableResponse) => {
697
+ if ($draggableResponse[0].className.includes('lrn_btn_no_handle')) {
698
+ dragHandleVisibility = false;
699
+ } else {
700
+ dragHandleVisibility = true;
701
+ }
702
+ obj.dragHandleVisibility = dragHandleVisibility;
703
+ });
703
704
  obj.options = options;
704
705
  obj.optionImages = optionImages;
705
706
  obj.optionEquations = optionEquations;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.176-figDndMigration-409c782.0",
3
+ "version": "1.0.177-figDndMigration-9070657.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {