For me, the Same issue was occurring, below changes worked for me.
IntelliJ Version I am using: 2019.2.2
In IntelliJ IDE, Go to
File -> Settings ->Build,Execution, Deployment -> Build Tools -> Gradle
here in the Run test using: dropdown selected option was: Gradle(default) changed it to IntelliJ IDEA
