You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this library support left/right movement? I'm trying to modify the example tests to move a task to the right to the "in progress" column. Here's an example
test('moves a task right inside a column',async()=>{const{ getByText, getByTestId, makeGetDragEl }=renderApp();awaitmakeDnd({
getByText,getDragEl: makeGetDragEl('Cook dinner'),direction: DND_DIRECTION_RIGHT,positions: 1,});const{getAllByTestId: getAllByTestIdWithinColumn}=within(getByTestId('in-progress-column'),);consttestTextOrderByTestId=createTestTextOrderByTestIdHelper(getAllByTestIdWithinColumn,);testTextOrderByTestId('task-content',['Cook dinner',]);});
The text was updated successfully, but these errors were encountered:
Missed that originally. I do believe that it works, the only problem that I'm seeing is the You have moved the item screen reader statement isn't reached. Locally, if I comment that line it seems to work and the element is added to the right droppable (if moving right)
Does this library support left/right movement? I'm trying to modify the example tests to move a task to the right to the "in progress" column. Here's an example
The text was updated successfully, but these errors were encountered: