Skip to content

plugin cannot recognize long steps separated on several lines in class with steps #22

Description

@boltick
  1. Create a step separated on a few lines, e.g.
    image

    @given("I go to the page $page to validate " +
    "name $name " +
    "email $email " +
    "department $department")
    public void test(String name, String email, String department) {
    // test something
    }

  2. Go to the story file and try to use this step:
    image

  3. Try to add it via the autosuggestion
    image

ACTUAL RESULT
From screenshot you can see that plugin recognizes step incorrectly

EXPECTED RESULT:
Step must be recognized as:
Given I go to the page $page to validate name $name email $email department $department

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions