Skip to content

Commit 5d3089e

Browse files
Copilotjaruesink
andcommitted
Remove redundant test assertion for submitted message display
Co-authored-by: jaruesink <4207065+jaruesink@users.noreply.github.com>
1 parent 8452908 commit 5d3089e

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

apps/docs/src/remix-hook-form/textarea.stories.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,6 @@ const testValidSubmission = async ({ canvas }: StoryContext) => {
121121
// Check for success message
122122
const successMessage = await canvas.findByText('Message submitted successfully');
123123
expect(successMessage).toBeInTheDocument();
124-
125-
// Check if the submitted message is displayed
126-
await expect(
127-
await canvas.findByText('This is a test message that is longer than 10 characters.'),
128-
).toBeInTheDocument();
129124
};
130125

131126
export const Default: Story = {

0 commit comments

Comments
 (0)