Welcome to the Serenity BDD Discussions Space! #2544
Replies: 6 comments 26 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.
-
👋 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