Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The size of report folder increases when upgrade to 3.5.1 #3012

Closed
ikallala opened this issue Jan 12, 2023 · 6 comments
Closed

The size of report folder increases when upgrade to 3.5.1 #3012

ikallala opened this issue Jan 12, 2023 · 6 comments

Comments

@ikallala
Copy link

There is a big difference in the size of report folder between the 3.2.5 version and 3.5.1 .
In a test suite which contains 1800 scenarios, the size increases from 3 go to 22 go.

This is a simple project to reproduce the issue https://github.com/ikallala/SampleSerenityTest/tree/master (in this example the size passed from 12.3 mo to 16.5 mo, only 3 scenarios)

This difference in size becomes from generation of new the framed file in 3.5.1 (in screenshot below, the target of the same scenarios with different version )

image

@wakaleo
Copy link
Member

wakaleo commented Jan 12, 2023

This looks normal - the reports in 3.5.1 are richer and more complete than in 3.2.5. Can you see any indication of additional files that are not actually part of the reports?

@ikallala
Copy link
Author

I don't see any files that are not actually part of the reports. but this difference of size causes many problems, the size of a report of a test suite (1800 scenarios) increases from 3go to 22go, that impacts our resources (server on which we execute tests).

@wakaleo
Copy link
Member

wakaleo commented Jan 13, 2023

Here are a few things you can do:

  • If you don't want the html page source being stored, you can set the serenity.store.html property to "never".
  • You can also set serenity.generate.csv.reports to "false" to reduce the number of files.

But all the HTML files generated are required for the reports to work correctly.

@ikallala
Copy link
Author

This error appears when I added the property serenity.core.htlm No enum constant net.serenitybdd.core.photography.StoreHTML.never (reproduced only with 3.5.1, neither 3.2.5)

@wakaleo
Copy link
Member

wakaleo commented Jan 13, 2023

serenity.store.html=NEVER

@ikallala
Copy link
Author

it returns now to its original size. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants