Open AmarjeetSinghMatharu opened 2 months ago
Hi, I also encountered the issue that serenity.take.screenshots=DISABLED
is ignored.
We use
net.serenitybdd.cucumber.cli.Main --plugin io.cucumber.core.plugin.SerenityReporterParallel
Even though the property -Dserenity.take.screenshots=DISABLED
is set the screenshots are still taken.
The codeLevelScreenshotConfiguration is TakeScreenshots.UNDEFINED
@wakaleo
Hi John,
please, do you know about this problem with ignoring serenity.take.screenshots=DISABLED
?
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 I am also using serenity version 4.1.3
We use
serenity-core-4.1.3 serenity-cucumber-4.1.3 JUnit 5 plugin io.cucumber.core.plugin.SerenityReporterParallel trigger test as mvn verify -Dserenity.take.screenshots=DISABLED and also set this property explicitely in serenity properties, still the screenshots are taken for every step
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