tizki ko edited a comment on Bug JBEHAVE-925

The same behavior happens when using @BeforeStory.
BeforeStory fail, but JBehave plugin shows success.
it seems that in that case, there are no xml test files created, and that is why it passes.

Edit:
actually, there is an xml, but the JBehave plugin does interpreters it as a failed test, perhaps because there is not "scenario" tag in it.
the xml:

<story path="com/myCompany/myProject/test/ui/gate_keeper/myStory.story" title="Platform UI Gate Keeper story">
<meta>
<property keyword="@" name="DEV:" value="tizki ko"/>
<property keyword="@" name="DSL:" value=""/>
<property keyword="@" name="QA: " value="tizki ko"/>
</meta>
<step outcome="failed" keyword="FAILED">com.myCompany.myProject.test.ui.dsl.myProjectCore.UtilsDsl.BeforeStoriesLoginDSL.doBeforeStories()<failure>org.jbehave.core.failures.BeforeOrAfterFailed: Method doBeforeStories (annotated with @BeforeStory in class com.myCompany.myProject.test.ui.dsl.myProjectCore.UtilsDsl.BeforeStoriesLoginDSL) failed: org.openqa.selenium.TimeoutException: Timed out after 15 seconds waiting for com.myCompany.myProject.automation.framework.WebDriverEx$11@166418d9
Build info: version: '2.35.0', revision: '8df0c6bedf70ff9f22c647788f9fe9c8d22210e2', time: '2013-08-17 12:46:41'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.32-279.el6.x86_64', java.version: '1.7.0_10'
Driver info: driver.version: unknown</failure></step>
</story>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to