> email to geb-...@googlegroups.com
> <mailto:geb-...@googlegroups.com> .
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/35957058-73e3-4484-8f21-9d3c54fd4ec6%40googlegroups.com.
In some more detail:
I asked you to call "report" just in order to test if screenshots work at all by *manually* creating a screenshot at any given point in your test (after opening the first page, of course). That is easier than to make your test fail and play around with the configuration at the same time. Once it is established that you can create a screenshot, you can adjust your GebConfig in order to specify under which circumstances you want to have automatic screenshots at the end of each test.
But as Michael and I implicitly said already: In order for any Geb test to be able to use the screenshot feature - in Geb nomenclature this is called "reporting" - the Geb specification *has to* extend GebReportingSpec or another test base class extending GebReportingSpec.
Please read the Book of Geb, e.g.
https://gebish.org/manual/current/#testing-reporting
https://gebish.org/manual/current/#reporting
--
Alexander Kriegisch
https://scrum-master.de
Michael Kutz schrieb am 21.12.2019 00:49 (GMT +07:00):
>
> You just need to make the extend GebReportingSpec instead of GebSpec. No
> need to call report() manually.
>
>
> Lee <lee....@gmail.com <mailto:lee....@gmail.com> >
>> https://groups.google.com/d/msgid/geb-user/35957058-73e3-4484-8f21-9d3c54fd4ec6%40googlegroups.com
>> <https://groups.google.com/d/msgid/geb-user/35957058-73e3-4484-8f21-9d3c54fd4ec6%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 geb-...@googlegroups.com
> <mailto:geb-...@googlegroups.com> .
> To view this discussion on the web visit
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/4b52e52a-f1fc-47d1-b0c4-2638e328a114%40googlegroups.com.