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

Doesn't recognise steps if the scenario has a Meta: tag #17

Open
iriusrisk opened this issue Apr 26, 2012 · 0 comments
Open

Doesn't recognise steps if the scenario has a Meta: tag #17

iriusrisk opened this issue Apr 26, 2012 · 0 comments

Comments

@iriusrisk
Copy link

If the scenario has a Meta: tag, then steps aren't recognised and I can't navigate to the steps using "go to declaration". For example, the following scenario works fine and I can navigate to the steps:

Scenario: Passively scan for vulnerabilities while the application is navigated

Given a passive scanning policy
When the scannable methods of the application are navigated
And the scanner is run
Then no vulnerabilities should be present

But this one won't let me navigate to steps:

Scenario: Passively scan for vulnerabilities while the application is navigated
Meta:
@id mytag

Given a passive scanning policy
When the scannable methods of the application are navigated
And the scanner is run
Then no vulnerabilities should be present

It results in an exception:
Throwable
Tokens [STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, SCENARIO_TEXT, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, WHITE_SPACE, STORY_DESCRIPTION, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, STEP_TYPE, STEP_TEXT, WHITE_SPACE] were not inserted into the tree. Language: Story, Text:

I'm using plugin version 1.2 in Intellij 11.1.1 on Mac OS X.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants