-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
HTML source code of screenshot webpages are downloaded #3095
Comments
HTML source code is not generated by default, except for test failures. |
What makes you think the page source is related to memory consumption? |
Thank you for the speedy answer! After updating serenity, the page source files were generated for each and every test regardless of test outcome. With 509 test cases this amounted to about 6gb of pagesource[0-9]*.html files which is too much to bear. |
I had the same problem and it was fixed by serenity.store.html=NEVER and serenity.generate.csv.reports=false |
Thanks, I tried it but unfortunately it's not working for me. |
What is in your serenity.conf or serenity.properties file? HTML source is not generated by default in the most current versions of Serenity. |
I have nothing except for the following inside the serenity.properties. I also tried putting them inside the systemVariables of the maven surefire plugin |
Have you tried with the latest version? Serenity hasn't generated these files by default for some time. Also, you talk about running out of memory - do you mean disk space? Because generating files of any kind should not affect the memory, so if you are running out of memory, it's probably a different issue. |
My mistake - I meant disk space. |
Try:
|
Thanks a million for the help! It seems to have solved the issue. I will check again tomorrow if any issues have come up but it looks good so far. |
I just realised my mistake of changing serenity.store.html.source=false although I have been given the correct answer yesterday already. |
In response to https://github.com/SeleniumHQ/selenium/issues/11750 I updated serenity bdd from 3.2.0 to 3.6.7.
However, I noticed that now the VM that I use for running the tests is running out of memory quickly, as the reports now include the HTML source code of the webpages that are being tested.
These are saved as "pagesource[some-number].html" and take up to 4mb each.
This should be defaulted to false, and still happens when setting the option below in the serenity.properties.
serenity.store.html.source=false
The text was updated successfully, but these errors were encountered: