Search code examples
seleniumjbehavewebautomationthucydides

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 use to be longer that 5 mins, so that should be an actual problem for many people.


Solution

  • To override the timeout the user should add thucydides.properties file to the main folder of the project (if you use thucidides jbehave archetype, there is no such file by default).

    set, for instance, story.timeout.in.secs=3000 and save the file. the timeout parameter will be overriden