Questions tagged [serenity-bdd]

Serenity BDD helps you write cleaner and more maintainable automated acceptance and regression tests faster. Serenity also uses the test results to produce illustrated, narrative reports that document and describe what your application does and how it works. Serenity tells you not only what tests have been executed, but more importantly, what requirements have been tested.

Serenity BDD helps you write cleaner and more maintainable automated acceptance and regression tests faster.

Serenity uses the test results to produce illustrated, narrative reports that document and describe what your application does and how it works. Serenity tells you not only what tests have been executed, but more importantly, what requirements have been tested.

Serenity BDD is one of the Behavior Driven Development (BDD) libraries.

There are integrations with other BDD libraries like JBehave and Cucumber (actually Cucumber-JVM)

Remark: Serenity-BDD was first called Thucydides, but was renamed in November 2014.

637 questions
41
votes
17 answers

Chrome is being controlled by automated test software

I am running automated tests in Chrome with Serenity BDD (Selenium). I had to download a new ChromeDriver, because my tests could not run -> The test would open ChromeDriver but could not "Browse as user". When I googled the issue, they said I had…
18
votes
3 answers

Dependency convergence error

After updating Firefox I changed versions of libraries to higher ones. Following errors appeard: [ERROR] Dependency convergence error for commons-collections:commons-collections:3.2.2 paths to dependency are: [ERROR]…
Caitlyn
  • 255
  • 2
  • 4
  • 7
7
votes
1 answer

What is the difference between Serenity BDD Framework and Cucumber tool

Today I've got some theoretical question. I have a little experience in BDD with Cucumber. Now I started working in API testing and I faced with Serenity BDD framework on my new project. It is used with Cucumber. So I would like to clarify what is…
balantain
  • 105
  • 2
  • 8
7
votes
5 answers

missing pie chart and other elements when display serenity report from jenkins

Need your help! I've been working on integrating my automation test to Jenkins. I use Serenity BDD and JBehave. My Serenity report displayed OK when I run my test manually. But, when I integrate the test to Jenkins and try to display the report…
6
votes
2 answers

Less bulky serenity-bdd console output

I was so annoyed by these bulky banners written to the output of serenity execution: 864 [main] INFO net.serenitybdd.core.Serenity - _____ _____ ____ _____ ____ _____ _ ____ _____ _____ ____ |_ _| ____/ ___|_ _| / ___|_ _|/ \ | _…
L. Holanda
  • 4,432
  • 1
  • 36
  • 44
5
votes
1 answer

Serenity + Rest services

I am trying to demo serenity with Restassured at my workplace here and show them how awesome and easy it is to use in comparison to using jasmine.js How ever I am stuck with few things in the basic test I am trying to do My test says Given we have…
Maalamaal
  • 963
  • 3
  • 11
  • 23
5
votes
1 answer

How can I change serenity-bdd log settings

I use Serenity BDD for test automation on my project, IntelliJ IDEA as IDE. I would like to change format and debug level of the logs I can see everytime I run tests. For example, I want to see logs only from [main] thread: [main] INFO…
Paul
  • 78
  • 1
  • 3
  • 12
4
votes
1 answer

Cucumber not identifying scenario without examples

I have a gherkin scenario similar to following: Scenario Outline: Test some behaviour Given a set of preconditions When an event occurs Then my application has to behave in a particular manner And respond as expected When I execute…
4
votes
3 answers

How to check if user got redirected to new page in Serenity

I started playing around with Serenity BDD and the screenplay pattern in Java. While I get the basic idea I have some trouble with applying the key concepts. Here is what I'd like to do... My first attempt is to automate the login of a user into the…
Robert Strauch
  • 12,055
  • 24
  • 120
  • 192
4
votes
1 answer

Integrating serenity/thucidydes with spock

I am working on automation tests with selenium webdriver and spock framework. I would like to know how can I integrate serenity with spock testing? My project is build with gradle and groovy is the language used for writing tests. Any sample class…
RV_Dev
  • 435
  • 1
  • 7
  • 21
4
votes
1 answer

What are the advantages/disadvantages of using the Screenplay pattern over Page objects?

I have watched a video on youtube that suggest using screenplay pattern as an alternative to using the usual pageobjects. The only advantage I see is that the page object classes are not as big. Is there something else I am missing ? I have been…
mosaad
  • 2,276
  • 5
  • 27
  • 49
4
votes
1 answer

How do I include screenshots of the full page in my serenity report (and not only of the viewport) using ChromeDriver?

I am using serenity in combination with cucumber for automated screen tests and want to include full-page screenshots in my serenity report. The screenshots in the report are normally only a capture of the viewport. Oftentimes however, this doesn't…
74nine
  • 838
  • 7
  • 13
4
votes
2 answers

How to customize the reports for serenity BDD

I wish to change the CSS and logos in Serenity reports. Also I want to add some custom text or links to some tests in the Serenity reports.Like there is an excel report gets generated and I wish to provide a link of it in the test step in the…
Charan Sethi
  • 63
  • 1
  • 3
  • 8
4
votes
2 answers

How do I run Serenity web tests in parallel with gradle?

Can't figure out how to run Serenity web tests in parallel with gradle. Here is an example with maven + jenkins. But I need the same thing with gradle.
SLY
  • 525
  • 2
  • 11
  • 24
4
votes
2 answers

How to Set Logging Preferences for Chrome whilst using Serenity BDD?

I'm trying to extract the console log from Chrome using the initial set up requiring parameters being set up for chrome webdriver (from Capturing browser logs with Selenium) : System.setProperty("webdriver.chrome.driver",…
1
2 3
42 43