You did not provide any Geb tests, so I can just ask speculatively: Do your Geb tests extend GebReportingSpec instead of just GebSpec? And did you try to manually create at least one screenshot from a running test (before failure) via
report "dummy screenshot" -- Alexander Kriegisch https://scrum-master.de Lee schrieb am 19.12.2019 05:28 (GMT +07:00): > > I'm trying to enable the ability to take screenshots when our Geb tests > fail in a Chrome browser. Even though my tests fail, I am not seeing any > reports and/or screenshots being generated. > > > I'm executing the tests via a Gradle task if that matters. > > > I'm using Geb 2.3 and Spock 1.1-groovy-2.4 > > > I've added the following to my gebConfig.groovy file: > > > reportOnTestFailureOnly = false > reportsDir = "target/execution-reports" > > > That should be the only configurations that are needed, correct? > > > If so, are there any suggestions how I may be able to troubleshoot this? > > > I appreciate any assistance, > > > Lee > > > -- > You received this message because you are subscribed to the Google Groups > "Geb User Mailing List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]> . > To view this discussion on the web visit > https://groups.google.com/d/msgid/geb-user/8fa7f83e-179f-4c2f-8759-51f7c9e7b766%40googlegroups.com > <https://groups.google.com/d/msgid/geb-user/8fa7f83e-179f-4c2f-8759-51f7c9e7b766%40googlegroups.com?utm_medium=email&utm_source=footer> > . -- You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/20191219032932.69E4444C11C4%40dd39516.kasserver.com.
