When I tried to run the below command with JUnit 5
mvn clean install -DskipTests && mvn clean test -pl=test-insight -Dtest="com.myproject.automation.test.settings.**" -Dspring.profiles.active="live" -Dsel.jup.screenshot.at.the.end.of.tests=whenfailure -Dsel.jup.screenshot.format=png -Dsel.jup.output.folder=target/screenshot
After that, I couldn't see the screenshot is created. Does anyone help me with my problem? Thank you
I believe you need to enable surfire-reports.