Revert "Refacto/abstract inplace input" (#535)

Revert "Refacto/abstract inplace input (#530)"

This reverts commit c847bca293.
This commit is contained in:
Charles Bochet
2023-07-07 18:10:51 -07:00
committed by GitHub
parent 94ca61c887
commit 611cda1f41
19 changed files with 138 additions and 189 deletions

View File

@ -39,13 +39,13 @@ export const InteractWithManyRows: Story = {
);
expect(
canvas.queryByTestId('inplace-input-edit-mode-container'),
canvas.queryByTestId('editable-cell-edit-mode-container'),
).toBeNull();
await userEvent.click(firstRowEmailCell);
expect(
canvas.queryByTestId('inplace-input-edit-mode-container'),
canvas.queryByTestId('editable-cell-edit-mode-container'),
).toBeInTheDocument();
await userEvent.click(secondRowEmailCell);
@ -57,7 +57,7 @@ export const InteractWithManyRows: Story = {
);
expect(
canvas.queryByTestId('inplace-input-edit-mode-container'),
canvas.queryByTestId('editable-cell-edit-mode-container'),
).toBeNull();
await userEvent.click(secondRowEmailCellFocused);
@ -65,7 +65,7 @@ export const InteractWithManyRows: Story = {
await sleep(25);
expect(
canvas.queryByTestId('inplace-input-edit-mode-container'),
canvas.queryByTestId('editable-cell-edit-mode-container'),
).toBeInTheDocument();
},
parameters: {