Skip to content

Commit 677cfd0

Browse files
committed
chore: fix test
1 parent ed008ac commit 677cfd0

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

packages/core/test/dnd-restrictions.spec.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,16 @@ describe('dnd restrictions', () => {
154154
canReorderItems: false,
155155
});
156156
await test.startDrag('aaa');
157-
await test.dragOver('aac', 'bottom');
157+
await test.dragOver('abb', 'bottom');
158158
await test.drop();
159-
await test.expectTreeUnchanged();
159+
await test.expectVisibleItemContents('ab', [
160+
'aba',
161+
'abb',
162+
'abc',
163+
'abd',
164+
'aaa',
165+
]);
166+
await test.expectVisibleItemContents('aa', ['aab', 'aac', 'aad']);
160167
await test.expectOpenViewState();
161168
});
162169

0 commit comments

Comments
 (0)