Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access step inside a step in cucumberjs-Protractor #990

Closed
narayanasamyramaiah opened this issue Dec 22, 2017 · 2 comments
Closed

Access step inside a step in cucumberjs-Protractor #990

narayanasamyramaiah opened this issue Dec 22, 2017 · 2 comments

Comments

@narayanasamyramaiah
Copy link

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
Copy link
Member

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

@lock
Copy link

lock bot commented Dec 22, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants