mercredi 27 mai 2015

protractor e2e test for angular html5 drag and drop

As many of you know HTML5 drag and drop testing is not supported by protractor tests in Angularjs.

I got this drag-drop-helper.js on the net to simulate this drag and drop functionality. But when I tried to use it in my test spec by importing as node module

var dragdrop = require('./drag-drop-helper.js');

Getting error saying "jquery not found" How to solve this issue?

Aucun commentaire:

Enregistrer un commentaire