The line you added into GebConfig.groovy looks correct. The reportOnTestFailureOnly feature is pretty recent in Geb (I think it was added in Geb 0.13.0) - just to double-check, which version of Geb are you using?
On Fri, Jul 29, 2016 at 2:29 PM, Raviteja Lokineni < [email protected]> wrote: > FYI, not reproducible for me. (I was curious so tried debugging it) > > Attached the test project. > > On Fri, Jul 29, 2016 at 2:36 PM, Raviteja Lokineni < > [email protected]> wrote: > >> Probably debugging at line 48 in >> https://github.com/geb/geb/blob/master/module/geb-spock/src/main/groovy/geb/spock/GebReportingSpec.groovy >> should >> be a start. >> >> If it's a bug and you found the root cause, a pull request would be a >> good start ☺. >> >> On Fri, Jul 29, 2016 at 11:21 AM, rajeshwar lokineni < >> [email protected]> wrote: >> >>> Hi, >>> >>> I am currently using GEB with SPOCK. >>> >>> I am able to capture screen shots using report() available in >>> GebReportingSpec() class. >>> >>> I am getting screenshots even for success tests which i dont want to >>> happen. I even tried "reportOnTestFailureOnly = true" in GebConfig file but >>> still i see getting screen shots for every method. >>> >>> Any suggestions will be appreciated. >>> >>> Thanks, >>> Rajeshwar >>> >>> -- >>> 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/44ca7f0b-aa25-43f5-a10c-1c534029a9f2%40googlegroups.com >>> <https://groups.google.com/d/msgid/geb-user/44ca7f0b-aa25-43f5-a10c-1c534029a9f2%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> *Raviteja Lokineni* | Business Intelligence Developer >> TD Ameritrade >> >> E: [email protected] >> >> [image: View Raviteja Lokineni's profile on LinkedIn] >> <http://in.linkedin.com/in/ravitejalokineni> >> >> > > > -- > *Raviteja Lokineni* | Business Intelligence Developer > TD Ameritrade > > E: [email protected] > > [image: View Raviteja Lokineni's profile on LinkedIn] > <http://in.linkedin.com/in/ravitejalokineni> > > -- > 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/CAJpE9rW1Wh7BL948qtmCLHUejxCcq_NA30HrnfwT_B%2ByUFFCFg%40mail.gmail.com > <https://groups.google.com/d/msgid/geb-user/CAJpE9rW1Wh7BL948qtmCLHUejxCcq_NA30HrnfwT_B%2ByUFFCFg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > 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/CA%2BAFf%3D1cJ41MeRPiArrPa6_bdwxqpaEmQATtB4ibNmRYFqJJEg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
