Details
Description
I translated 'And' keyword to 'Ande' (actually I use russian word, but in order to simplify I will use plain latin letters). All other keywords remain the same.
When I try to execute simple scenario with three THEN-clauses concatenated by AND:
When something happened Then check first condition Ande check second condition Ande check third condition
Then last clause is not matched with corresponding step and marked as pending. Although corresponding step is present in code. If I use english keyword 'And' all work fine.
I created sample project for reproducing bug: https://github.com/nartamonov/jbehave-i18n-bug
Activity
Nikolay Artamonov
made changes -
Field | Original Value | New Value |
---|---|---|
Description |
I translated jbehave scenario keywords to russian, so that:
{noformat:nopanel=true} Given -> Если When -> Когда Then -> Тогда And -> Также {noformat} When I try to execute simple scenario with three THEN-clauses concatenated with AND: {noformat:nopanel=true} Когда something happened Тогда check first condition Также check second condition Также check third condition {noformat} Then last clause is not matched with corresponding step and marked as pending. Although corresponding step is present in code. *If I use english keywords all work fine*. I created sample project for reproducing bug: https://github.com/nartamonov/jbehave-i18n-bug |
I translated jbehave scenario keywords to russian, so that:
{noformat:nopanel=true} Given -> Если When -> Когда Then -> Тогда And -> Также {noformat} When I try to execute simple scenario with three THEN-clauses concatenated with AND: {noformat:nopanel=true} Когда something happened Тогда check first condition Также check second condition Также check third condition {noformat} Then last clause is not matched with corresponding step and marked as pending. Although corresponding step is present in code. *If I use english keywords all work fine*. I created sample project for reproducing bug: https://github.com/nartamonov/jbehave-i18n-bug |
Nikolay Artamonov
made changes -
Description |
I translated jbehave scenario keywords to russian, so that:
{noformat:nopanel=true} Given -> Если When -> Когда Then -> Тогда And -> Также {noformat} When I try to execute simple scenario with three THEN-clauses concatenated with AND: {noformat:nopanel=true} Когда something happened Тогда check first condition Также check second condition Также check third condition {noformat} Then last clause is not matched with corresponding step and marked as pending. Although corresponding step is present in code. *If I use english keywords all work fine*. I created sample project for reproducing bug: https://github.com/nartamonov/jbehave-i18n-bug |
I translated jbehave scenario keywords to russian, so that: Если
{noformat:nopanel=true} Given -> ЕÑли When -> Úþóôð Then -> âþóôð And -> âðúöõ {noformat} When I try to execute simple scenario with three THEN-clauses concatenated with AND: {noformat:nopanel=true} Úþóôð something happened âþóôð check first condition âðúöõ check second condition âðúöõ check third condition {noformat} Then last clause is not matched with corresponding step and marked as pending. Although corresponding step is present in code. *If I use english keywords all work fine*. I created sample project for reproducing bug: https://github.com/nartamonov/jbehave-i18n-bug |
Nikolay Artamonov
made changes -
Description |
I translated jbehave scenario keywords to russian, so that: Если
{noformat:nopanel=true} Given -> ЕÑли When -> Úþóôð Then -> âþóôð And -> âðúöõ {noformat} When I try to execute simple scenario with three THEN-clauses concatenated with AND: {noformat:nopanel=true} Úþóôð something happened âþóôð check first condition âðúöõ check second condition âðúöõ check third condition {noformat} Then last clause is not matched with corresponding step and marked as pending. Although corresponding step is present in code. *If I use english keywords all work fine*. I created sample project for reproducing bug: https://github.com/nartamonov/jbehave-i18n-bug |
I translated jbehave scenario keywords to russian, so that:
{noformat:nopanel=true} Given -> ÕÑÂûø When -> Úþóôð Then -> âþóôð And -> âðúöõ {noformat} When I try to execute simple scenario with three THEN-clauses concatenated with AND: {noformat:nopanel=true} Úþóôð something happened âþóôð check first condition âðúöõ check second condition âðúöõ check third condition {noformat} Then last clause is not matched with corresponding step and marked as pending. Although corresponding step is present in code. *If I use english keywords all work fine*. I created sample project for reproducing bug: https://github.com/nartamonov/jbehave-i18n-bug |
Nikolay Artamonov
made changes -
Description |
I translated jbehave scenario keywords to russian, so that:
{noformat:nopanel=true} Given -> ÕÑÂûø When -> Úþóôð Then -> âþóôð And -> âðúöõ {noformat} When I try to execute simple scenario with three THEN-clauses concatenated with AND: {noformat:nopanel=true} Úþóôð something happened âþóôð check first condition âðúöõ check second condition âðúöõ check third condition {noformat} Then last clause is not matched with corresponding step and marked as pending. Although corresponding step is present in code. *If I use english keywords all work fine*. I created sample project for reproducing bug: https://github.com/nartamonov/jbehave-i18n-bug |
I translated 'And' keyword to 'Ande' (actually I use russian word, but in order to simplify I will use plain latin letters). All other keywords remain the same.
When I try to execute simple scenario with three THEN-clauses concatenated by AND: {noformat:nopanel=true} When something happened Then check first condition Ande check second condition Ande check third condition {noformat} Then last clause is not matched with corresponding step and marked as pending. Although corresponding step is present in code. *If I use english keyword 'And' all work fine*. I created sample project for reproducing bug: https://github.com/nartamonov/jbehave-i18n-bug |
Summary | Last of two subsequent internationalized AND-clauses is not performed | Last of two subsequent AND-clauses with translated keywords is not performed |
Mauro Talevi
made changes -
Attachment | JBEHAVE-1050.patch [ 66522 ] |
Mauro Talevi
made changes -
Resolution | Not A Bug [ 6 ] | |
Fix Version/s | 3.9.5 [ 20598 ] | |
Assignee | Mauro Talevi [ maurotalevi ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Patch with configuration changes to get the step matching working with custom locale.