Can you please raise a jira issue with this example? 

I'll have a look shortly. 

Also does it occur with English locale as well or only in SV?


On 25 Jan 2013, at 12:58, Karlsson Christian <[email protected]> wrote:

> More complete reproduction setup
> Story:
> Sammanhang: Samlade regressionstester för administrationen av ansökningar av 
> lärarlegitimation
>  
> Scenario: Reproduce and keyword problem
> Givet att vi finns
> Och att inget återstår
> Och att det har startat
>  
> Java code:
>            @Given("att vi finns")
>            public void exist() {
>  
>            }
>  
>            @Given("att inget återstår")
>            public void nothing() {
>  
>            }
>  
>            @Given("att det har startat")
>            public void started() {
>  
>            }
>  
> Console output:
> Running story lararleg/reproduce.story
>  
> (lararleg/reproduce.story)
> Scenario: Reproduce and keyword problem
> Givet att vi finns
> Och att inget återstår
> Och att det har startat (VÄNTANDE)
> @And("att det har startat")
> @Pending
> public void andAttDetHarStartat() {
>   // VÄNTANDE
> }
>  
> Från: Karlsson Christian [mailto:[email protected]] 
> Skickat: den 25 januari 2013 12:32
> Till: [email protected]
> Ämne: SV: [jbehave-user] Problem with multiple "And"-marked steps
>  
> I use the following localized (Swedish) story
>  
> Scenario:Skapa beslutsunderlag med bifall (lärarlegitimation och 
> förskollärarlegitimation)
> Givet att användaren testllexamen17 har loggat in
> Och att ett ärende för kategori lärare (1-7) finns
> När ärendet väljs i Inkorgen
> Så visas ärendet i uppgiftsdetaljer
> Och är ärendets status Klar för granskning
> Och är ärendets läge Tilldelad
>  
> And then I get a pending annotation for ”Och är ärendets läge Tilldelad”
> Where ”Och” is the translation for ”And” in the provided resource bundle.
>  
> The implementing method is
>     @Then("är ärendets läge $stage")
>     public void verifyCaseStage(String stage) throws Exception {
>         taskDetailPage = new TaskDetailPage(getDriver());
>         Assert.assertEquals(stage, taskDetailPage.caseStageInDetails());
>     }
>  
>  
>  
> Från: Mauro Talevi [mailto:[email protected]] 
> Skickat: den 25 januari 2013 11:27
> Till: [email protected]
> Ämne: Re: [jbehave-user] Problem with multiple "And"-marked steps
>  
> Can you provide an example project reproducing this problem ?
> 
> 
> On 25 Jan 2013, at 10:47, Karlsson Christian <[email protected]> 
> wrote:
> 
> Hi all
>  
> I’m having a problem where I get steps marked as pending when they use the 
> “And” keyword. Just as in http://jira.codehaus.org/browse/JBEHAVE-281.
> What puzzles me is that I use 3.7.5 of JBehave core. Has the problem 
> reoccurred?
>  
> Anyone else experienced this?
>  
> Regards,
> Christian

Reply via email to