Skip to content

Commit

Permalink
fix(pat structure): add test for order-support
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed Feb 29, 2024
1 parent c9e3159 commit f3ffa0c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pat/structure/structure.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -727,5 +727,11 @@ describe("Structure", function () {
it("text drag and drop ordering", async function() {
registry.scan(this.$el);
await utils.timeout(100);

// check for "order-support" wrapper class
// this would have prevented issue https://github.com/plone/mockup/pull/1371
expect(this.$el.find(".order-support").length).toEqual(1)

// XXX: actually simulate mousedown/move/up somehow
});
});

0 comments on commit f3ffa0c

Please sign in to comment.