Success :)

Thanks Louis.


On Mon, Dec 10, 2012 at 1:01 PM, louis gueye <[email protected]> wrote:

> Hi Mary
>
> I think you need to put a "withespace" between the comment char sequence
> "!--" and the comment body.
>
> Try it.
>
>
> 2012/12/10 mary walshe <[email protected]>
>
>> Hi,
>>
>> While attempting to comment out a scenario today I got the following
>> error:
>>
>> Index 0, Size 0
>>
>> On inspection it seemed that the commented out scenario was being counted
>> as an example for the scenario previous.
>>
>> E.g
>>
>> Given I <foo>
>> When I click
>> Then <bar>
>>
>> Examples:
>> {transformer=FROM_LANDSCAPE}
>> |foo|test|
>> |bar|test|
>>
>> !--Given another precondition
>> !--When I click
>> !--Then another assertion is made
>>
>> After I removed the commented out scenario the story ran fine.
>>
>> Is this the correct syntax for commenting out lines in a story? Am I
>> missing anything?
>>
>> Cheers,
>> Mary
>>
>
>
>
> --
> Cordialement/Regards,
>
> Louis GUEYE
> linkedin <http://fr.linkedin.com/in/louisgueye> | 
> blog<http://deepintojee.wordpress.com/>|
> twitter <http://twitter.com/#%21/lgueye>
>
>

Reply via email to