Resetting Serenity reports

351 views
Skip to first unread message

Martin Aas Andersen

unread,
Aug 11, 2016, 5:40:52 AM8/11/16
to Serenity BDD Users Group
Hi

We run our Serenity test using Jenkins, but had a server breakdown (on the master, the slave where tests run are fine).
After reinstalling the master the Serenity reports no longer work correctly. I can't open nested steps and only image thumps are shown, not the full images (when i click thumps) etc.
I suspect it might be because some of the data it expects are no longer there, but cleaning the workspaces did not working.
I remember in Thucydides there's was a DB located somewhere outside project folder (think it was in a .thucydides folder) that you had to delete to do a full reset.

Does it still work like that? And if so what is the path to the Serenity DB. If the path is different on Linux i need the Linux path.

Wish there was a way to reset/clean reports from commandline as it's sometimes needed like if you change a testname you get dublicates of the old and new name.

Hope you can help

Harry King

unread,
Aug 12, 2016, 4:04:45 PM8/12/16
to Serenity BDD Users Group
I do a maven clean, although deleting the target folder will force a recompile, and clear copies of the report.

Martin Aas Andersen

unread,
Aug 12, 2016, 4:14:50 PM8/12/16
to Serenity BDD Users Group
I always run with mvn clean if that is what you mean but that does not reset the reports as in deleting history and starting completely over.
In thucydides there was a db of sorts located outside of project folder called .thucydides that you had to delete to do a full reset/restart.

Haven't been able to find a .serenity folder but don't know what path it would have on linux (nor windows for that matter).

Martin Aas Andersen

unread,
Sep 1, 2016, 8:33:42 AM9/1/16
to Serenity BDD Users Group
Bump

Some of the issues we have is that pie charts, screenshots and other images are not shown correctly and combined test steps can't be expanded

Martin Aas Andersen

unread,
Sep 1, 2016, 8:55:17 AM9/1/16
to Serenity BDD Users Group









Reply all
Reply to author
Forward
0 new messages