Questions tagged [thucydides]

Thucydides is a library designed to make writing web-based acceptance tests based on WebDriver easier, and more fun

Thucydides is a tool that lets you use WebDriver-based unit or BDD tests to write more flexible and more reusable WebDriver-based tests, and also to generate documentation about your acceptance tests, including a narrative description of test, along with the corresponding screen shots, and also high-level summaries and aggregations of the test results

99 questions
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…
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
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
3
votes
1 answer

"In order to run a story file you need to first set a main class in the JBehave settings" in intellij

i'm using intellij for the first time to work with jbehave. i have imported a pre existing maven jbehave project in to my intellij IDE. when i'm trying to run it using "Run Story" command. i'm getting the error "In order to run a story file you need…
3
votes
2 answers

jbehave + thucydides: how to override 300s timeout

I'm using thucydides jbehave plugin to run Selenium tests. However, I can't run tests longer than 5 min in total due to jbehave timeout. I can't figure out how can thucydides/jbehave should be configured to override this limitation. Selenium tests…
Eljah
  • 4,188
  • 4
  • 41
  • 85
2
votes
1 answer

java. serenity. Hover over element in Chrome

I'm doing automated tests of a web application in Java/Serenity. There is a menue with submenues in the app. It's a javascript menu which opens submenues onmouseover. I need to open submenues of any level via Serenity. I'm doing it using the…
Denys Romaniuk
  • 139
  • 1
  • 4
  • 8
2
votes
2 answers

How do I run web tests in parallel in Selenium WebDriver, JBehave & Serenity BDD framework?

For days I've been trying to run web tests parallel in a framework built upon Selenium WebDriver, JBehave and Serenity BDD. After reading through many articles and implementing them I'm still unable to run web tests in parallel. I would appreciate…
Zeeshan S.
  • 2,041
  • 2
  • 21
  • 40
2
votes
1 answer

Plain Selenium and Thucydides reports

I have plain seleneum ui tests and I want to have nice thucydides reports after how can I do this. In maven pom.xml I have profile like this: MobileTests
java_user
  • 929
  • 4
  • 16
  • 39
2
votes
2 answers

How do I skip specific/individual scenarios in same story using meta filtering?

When doing bdd/testing with JBehave/Thucydides I would like to skip certain scenarios that I know are working temporarily. Eventually, I want to re run the whole test suite. However, as I am developing, re-running old tests just to get to new tests…
fgharo91
  • 225
  • 1
  • 3
  • 11
2
votes
1 answer

BDD: Embedded tables with serenity and jbehave

I'm trying to create a BDD test with serenity (former thucydides) using the jbehave extension, this is my story (originating from the serenity jbehave examples) Scenario: a scenario with embedded tables Given that I sell the following fruit | fruit …
phury
  • 2,123
  • 2
  • 21
  • 33
2
votes
2 answers

Unable to use serenity-cucumber (aka thucydides-cucumber) along with cucumber-guice

I've created Cucumber test project and successfully configured Guice support by cucumber-guice. When I've added serenity-cucmber and configure test runner with CucumberWithSerenity I've got an error: More than one Cucumber ObjectFactory was found in…
GreenTeaCake
  • 848
  • 10
  • 17
2
votes
1 answer

How to set the system property max.retries in thucydides

I need to set the system property max.retries in thucydides. I need to rerun the failed test again in thucydides so that can be done by using max.retries. Can any one please guide me in this regard
Das Prakash
  • 426
  • 1
  • 7
  • 16
2
votes
0 answers

Can Serenity @Managed work with a custom WebDriver class?

I'm using Serenity v 1.0.7. I need to add hooks in my code to ensure that code coverage metrics are saved after tests are run. Also, I'd like to save code coverage numbers before the browser is closed or navigated away from the page that is…
user1814008
  • 201
  • 3
  • 9
2
votes
2 answers

Thucydides - Test continues after assertion in @Step fails

In the scenario below, I expect that the assertion failure in the step should make the test fail. What I am seeing is that the test continues and since a later assertion in the @Test method fails, the wrong exception is being reported, making it…
jmccure
  • 1,180
  • 7
  • 16
2
votes
2 answers

Caused by: org.openqa.selenium.NoSuchElementException: Element is not usable

I use Selenium Webdriver + Thucydides. When I try to use a checkbox (any state: isEnabled(), isDisplayed(), isSelected()), so an error will occur. I tried the different locators: by id, name, xpath. The checkbox is available in the page source. All…
Pasha Rudenya
  • 21
  • 1
  • 2
1
2 3 4 5 6 7