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]<mailto:[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