-
-
Notifications
You must be signed in to change notification settings - Fork 518
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
Serenity core does not obey the screenshot configuration set by serenity.properties file. #3532
Comments
Hi, I also encountered the issue that
Even though the property The codeLevelScreenshotConfiguration is TakeScreenshots.UNDEFINED |
@wakaleo |
With Version 4.1.3 the property serenity.take.screenshots seems to be ignored. If setting serenity.take.screenshots=FOR_FAILURES the screenshots are also created if the tests are successful. |
Hi, I am also facing the same issue as @janmekota . Please let me know if any resolution. @wakaleo @janmekota We use serenity-core-4.1.3 |
What happened?
I am facing a issue where serenity throws error while taking screenshot of the failure case:
[ForkJoinPool-2-worker-3] WARN net.thucydides.core.steps.BaseStepListener - SRP:Found duplicate snapshot 244adc7e2143949efbb6e2446584419b506ca762154a50bee11e86af6bd27737.png
in order the by pass thes messages or disable the serenity capability of taking screen shots I set the following configuration in
Serenity.properties file:
serenity.take.screenshots=DISABLED
as per https://github.com/serenity-bdd/serenity-documentation/blob/master/src/asciidoc/screenshots.adoc
but I still get these errors:
[ForkJoinPool-2-worker-9] INFO com.ford.utils.Util - pause(): waitTime= LONG
[ForkJoinPool-2-worker-3] WARN net.thucydides.core.steps.BaseStepListener - SRP:Found duplicate snapshot 244adc7e2143949efbb6e2446584419b506ca762154a50bee11e86af6bd27737.png
[ForkJoinPool-2-worker-3] WARN net.thucydides.core.steps.BaseStepListener - SRP:Found duplicate snapshot 244adc7e2143949efbb6e2446584419b506ca762154a50bee11e86af6bd27737.png
[ForkJoinPool-2-worker-3] WARN net.thucydides.core.steps.BaseStepListener - SRP:Found duplicate snapshot 244adc7e2143949efbb6e2446584419b506ca762154a50bee11e86af6bd27737.png
[ForkJoinPool-2-worker-3] WARN net.thucydides.core.steps.BaseStepListener - SRP:Found duplicate snapshot 244adc7e2143949efbb6e2446584419b506ca762154a50bee11e86af6bd27737.png
[ForkJoinPool-2-worker-3] WARN net.thucydides.core.steps.BaseStepListener - SRP:Found duplicate snapshot 244adc7e2143949efbb6e2446584419b506ca762154a50bee11e86af6bd27737.png
[ForkJoinPool-2-worker-3] INFO com.ford.steps.HomeSteps - theUserEntersCorrespondingEventForInJumpToEventFieldAndSelectFirstRecordOnHomePage Instantiated
Content of line 10: 31333362636135642D333066632D3464
Please suggest me when this fix will be available:
Following is my configuration:
What did you expect to happen?
No response
Serenity BDD version
4.2.0
JDK version
java version "18.0.2.1" 2022-08-18
Execution environment
No response
How to reproduce the bug.
How can we make it happen?
Add it to the Serenity BDD backlog and wait for a volunteer to pick it up
The text was updated successfully, but these errors were encountered: