Test is not work

hello everyone! When I learned gradle,I have a problem.Can you teach me how to deal with it?
gradle version:8.5 idea version:2024.1.4
When I use terminal ,the test word right!And I can open the web to see it!

When I use idea,the test can’t work!

thanks very much if you help me!

Please never anywhere share screenshots of text if you only want to share the text and not something additional like colors or IDE annotations. Text in images is hard to read, especially on mobile, very hard to copy, and nearly impossible to search for.

Regarding your question, hard to guess from here without you showing your project or more concrete details. Can you share an MCVE?