Hi, i guess you are run GebishOrgTest or GebishOrgSpec . This examples extends reporting instances of geb TestCase/Spec ( GebReportingTest/ GebReportingSpec ).
You can configure it in GebConfig.groovy with property reportOnTestFailureOnly = true Look at the book of geb: http://www.gebish.org/manual/current/#report-test-failures-configuration best regards stefan > Von: "Bhaarat Sharma" <[email protected]> > An: "Geb User Mailing List" <[email protected]> > Gesendet: Dienstag, 13. September 2016 14:18:52 > Betreff: [geb-user] What line of code controls taking screenshot > I came across an example Geb project using grade. I cloned the project and ran > it. It works fine, however, I can't figure out which line of code controls > taking screenshots? > At the moment it is taking screenshots on every test run. How would I modify > it > to only take screenshots when the tests fail. > https://github.com/geb/geb-example-gradle > -- > 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 post to this group, send email to [email protected] . > To view this discussion on the web visit > https://groups.google.com/d/msgid/geb-user/1aab78d8-0ec7-4638-a033-d9d57a23d6ef%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout . -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/1065046326.688.1473770389912.JavaMail.zimbra%40hildebrandt.tk. For more options, visit https://groups.google.com/d/optout.
