Hello,
I'm trying to use this lib, i have implement it pretty well in my project.
But i get an error when i'm trying to create two test using the drag helper.
I'm using it in Acceptance test and get this error:
Cannot update watchers for 'title' on '<frontend@model:mapped-product::ember532:1>' after it has been destroyed.
I don't know why, but i think it's because the test finish before all the code was execute and get execute on destroyed object.
In my code i never set the title on the mapped-product object.
That is the code who is failling if i put it in two test, if it's only on one test, it's working perfectly.
let objSelector = `.card-container .card:nth-child(1) .draggable-object`;
let dropSelector = `.draggable-object-target`;
drag(objSelector, { drop: dropSelector });
If anyone can help me, i will be very grateful.
Hello,
I'm trying to use this lib, i have implement it pretty well in my project.
But i get an error when i'm trying to create two test using the drag helper.
I'm using it in Acceptance test and get this error:
Cannot update watchers for 'title' on '<frontend@model:mapped-product::ember532:1>' after it has been destroyed.I don't know why, but i think it's because the test finish before all the code was execute and get execute on destroyed object.
In my code i never set the
titleon themapped-productobject.That is the code who is failling if i put it in two test, if it's only on one test, it's working perfectly.
If anyone can help me, i will be very grateful.