You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when we are using autoBindSteps, when a step is failing the output looks like:
Scenario "List products with no products" has 2 step(s) in the feature file, but 0 step definition(s) defined. Try adding the following code:
test('List products with no products', ({ when, then }) => {
when('I list products', () => {
});
then(/^there should be (\d+) products$/, (arg0) => {
});
});
But when we are using autoBindSteps, we are not using jest test directly, so the suggestion is confusing.
It should be nice to change the message to something like:
Scenario "List products with no products" has 2 step(s) in the feature file, but 0 step definition(s) defined. Try adding the following code:
const listProductsWithNoProductsStep = ({ when, then }) => {
when('I list products', () => {
});
then(/^there should be (\d+) products$/, (arg0) => {
});
});
Thanks and awesome job!
The text was updated successfully, but these errors were encountered:
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.
Currently, when we are using autoBindSteps, when a step is failing the output looks like:
But when we are using autoBindSteps, we are not using jest test directly, so the suggestion is confusing.
It should be nice to change the message to something like:
Thanks and awesome job!
The text was updated successfully, but these errors were encountered: