cucumber / cucumber-js

Cucumber for JavaScript
https://cucumber.io
MIT License
5.03k stars 1.09k forks source link

Access step inside a step in cucumberjs-Protractor #990

Closed narayanasamyramaiah closed 6 years ago

narayanasamyramaiah commented 6 years ago

Hi guys,

Scenario Outline:check numeric behavior Given User lands Screen When Input Forecast for Attrition level group Month Dec and input Then Verify the input for numeric condition

    Examples:
        | forecastInput    |
        | -14              |
        | 0.99             |
        | 0.9              |

Stepdefinition:

Then(/^Verify the input for numeric condition$/,async()=>{ Access the step When Input Forecast for (.*) group Month Dec and input });

or

Then(/^Verify the input for numeric condition$/,async()=>{ Access the step When Input Forecast for (.*) group Month Dec and input to get the level and forecastInput details for the verification

});

kindly guide.

Thankls

charlierudolph commented 6 years ago

Its not possible and will not be implemented in cucumber-js. See #11

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.