jest-cucumber icon indicating copy to clipboard operation
jest-cucumber copied to clipboard

Scenario outline does not make an error when it is not the first line which is in error

Open lionel-meunier opened this issue 2 years ago • 3 comments

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.

lionel-meunier avatar Oct 07 '22 06:10 lionel-meunier

I've tried and works for me. Can you show us the whole console result?

tonirecio avatar Oct 18 '22 11:10 tonirecio

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.

github-actions[bot] avatar Mar 28 '24 02:03 github-actions[bot]

@lionel-meunier I can't reproduce the problem you describe. If you still have this problem, can you give me more details?

pplancq avatar Mar 28 '24 07:03 pplancq

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.

github-actions[bot] avatar Jun 04 '24 02:06 github-actions[bot]

This issue is closed because there has been no recent activity.

github-actions[bot] avatar Jun 11 '24 02:06 github-actions[bot]