Skip to content

issue: warning in testing #10623

Closed Answered by ko22009
ko22009 asked this question in Q&A
Discussion options

You must be logged in to vote

solution: await waitFor(() => expect(screen.queryByText(/Loading/i)).not.toBeInTheDocument());
In component, I use isSubmitting, which show me Loading

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ko22009
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #10622 on July 01, 2023 22:03.