Thank you for your response.

The problem I’m having is we are keeping the browser/context throughout the
entire story, and between scenarios. If one scenario is restarted instead
of the entire story, it is possible it could cause additional errors such
as expecting to be on a specific page when the scenario starts.

I'll raise a Jira issue for it

On Thu, Oct 30, 2014 at 1:22 AM, Mauro Talevi <mauro.tal...@aquilonia.org>
wrote:

> Hi Brent,
>
> no, this feature is only available at scenario level.   Can you not use it
> restart the single scenario rather than the whole story?
>
> If you have a usecase for the need to restart the story please create a
> JIRA for this and describe it there.
>
> Cheers
>
>
> On 29/10/2014 22:08, Brent Barker wrote:
>
>> Hi again,
>>
>> Is there a way to restart a story if it has failed once before? I know
>> there is a way to restart a scenario by throwing a
>> RestartingScenarioFailure exception.
>>
>> This would be useful for our selenium tests. There are countless things
>> that can go wrong when running these browser tests. Since a false positive
>> can cause people to quickly lose trust in the tests, others advised that
>> this would be a good solution.
>>
>> Thanks in advance!
>> -Brent
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to