Welcome to the Serenity BDD Discussions Space! #2544
Replies: 11 comments 44 replies
-
Hi, I have created a custom driver for Playwright, and now when a scenario fails, I need a screenshot to be attached to the serenity report. But the report is generated without a screenshot. Can you help me achieve this? I understood that it can be achieved using Serenity @Managed, but I have created my driver factory using Threadlocal to support parallelization. |
Beta Was this translation helpful? Give feedback.
-
@wakaleo and Team, my project facing some issue after upgrading chrome 116 version. There is no issue till chrome 114 version. I dnt know what depends required for 116v. Current serenity-core version 3.2.1 |
Beta Was this translation helpful? Give feedback.
-
Hello, I am using serenity, java, selenium, mvn for my project. I have following data in serenity.conf file
This is my suite file @RunWith(CucumberWithSerenity.class) mvn clean verify -Dtest=myTestSuite -Denvironment=chrome_webdriver using 4.0.14 serenity version. Getting following error
Can someone help me pls? |
Beta Was this translation helpful? Give feedback.
-
I use serenity to do end to end backend tests. I have an issue that I hope I can get help with. I want to access the environment variables set in the serenity.conf file. Normally this is straight forward. Use EnvironmentSpecificConfiguration like so:
My issue is I want use some of the environment specific variables in a cucumber @BeforeAll method which requires the method to be set at static. If I use the above code in a static method I get a nullPointerException. I was wondering if there was a way to get the configuration from the serenity.conf file from a static method in a different way A |
Beta Was this translation helpful? Give feedback.
-
Hello Serenity Team, My serenity framework suddenly taking a lot of time between end of one test to start other. |
Beta Was this translation helpful? Give feedback.
-
Killing should be used as a last option, I tried it but it comes with issues. You will get access denied issue and it is most common to get if you run alot of automated test. Remove the "no-sandbox" if you have it in your automated code somewhere. |
Beta Was this translation helpful? Give feedback.
-
I am not able to run parallel execution feature wise . @wakaleo kindly help me on this |
Beta Was this translation helpful? Give feedback.
-
Hello everyone ! I am facing a problem with the serenity report Serenity version : 2.6.0 I want to generate emails containing the serenity report, but since I can't migrate to a new version due to company constraints, I can't change jdk. Once I go beyond version 3.0.5, I get this error: caused by java.lang.classnotfoundexception org.apache.commons.text.stringsubstitutor which I guess is due to versioning. here's an example of the email that i want to get : here's the email that i get : due to the interactive html generated : I'm new to this, let me know if you need more informations |
Beta Was this translation helpful? Give feedback.
-
New to this Forume, so not sure if this is the right place to put the question. I just want to know what version of Serenity BDD supports Java 17. I use the latest version of aserenity (4.1.20) but cannot be built using java 15. Even for Java11. I get this error: Serenity 4.1.20 The goal is to use Java 17, however. I doubt it that the current Serenity and all its depenednceies are compiled by java 17. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I'm trying to implement the JIRA two way integration to my project. Not everything is working as exepected or not working at all, I'm wondering if this feature is still supported in serenity 4.2.0 ? Thanks :) |
Beta Was this translation helpful? Give feedback.
-
Hi all, junit-platform.properties serenity.config The skipped tests do not run, which is fine, but we want to see the number of @Skipped tests in the report as well. how can we achieve this , thanks in advance |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions