jest-cucumber
jest-cucumber copied to clipboard
Scenario outline does not make an error when it is not the first line which is in error
When I run this test I get success
Scenario Outline: should remove all char and manage decimal sep and limit
When set value of transaction amount directive with "<begin value>"
And in transaction amount field, I past at end the value "<paste value>"
Then the transaction amount field show "<field value>"
When I leave transaction amount field and wait 100ms
Then the transaction amount field show "<field value blur>"
Examples:
| begin value | paste value | field value | field value blur |
| 1 | , | 1, | 1 |
| 5.1 | 0 | 5,10 | 5,1 |
and this one I got an error
Scenario Outline: should remove all char and manage decimal sep and limit
When set value of transaction amount directive with "<begin value>"
And in transaction amount field, I past at end the value "<paste value>"
Then the transaction amount field show "<field value>"
When I leave transaction amount field and wait 100ms
Then the transaction amount field show "<field value blur>"
Examples:
| begin value | paste value | field value | field value blur |
| 5.1 | 0 | 5,10 | 5,1 |
| 1 | , | 1, | 1 |
I have the impression that the return error in jest is defined only by the first result.
I've tried and works for me. Can you show us the whole console result?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@lionel-meunier I can't reproduce the problem you describe. If you still have this problem, can you give me more details?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is closed because there has been no recent activity.