We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59db6b5 commit 6c1f668Copy full SHA for 6c1f668
1 file changed
apps/docs/src/remix/remix-textarea.stories.tsx
@@ -128,17 +128,11 @@ const testBlockedContent = async ({ canvasElement }: { canvasElement: HTMLElemen
128
// Submit and wait for response
129
await userEvent.click(submitButton);
130
131
- // Debug the form submission
132
- console.log('Form submitted with blocked content');
133
-
134
// Wait for any state updates
135
await new Promise((resolve) => setTimeout(resolve, 100));
136
137
- console.log('After submission DOM:', canvasElement.innerHTML);
138
139
// Check if the error is in the DOM
140
- const errorElements = canvas.queryAllByText((content, element) => {
141
- console.log('Found element with content:', content);
+ const errorElements = canvas.queryAllByText((content) => {
142
return content.includes(BLOCKED_CONTENT_ERROR);
143
});
144
0 commit comments