Skip to content

Composite Steps not being found #37

@vgarmash

Description

@vgarmash

JBehave has a feature called Composite Steps. I tried to use it but my IntelliJ Idea plugin shows my composite steps as not found.
See the screenshot:

2016-02-22 12-06-29 login story - webtests - ideaprojects webtests

Here is the code (3 steps in the beginning are part of one composite step):

login.story

Scenario: Should be able to successfully register on website
Meta:
@scenario Registration
Given I am new to the website
Given I want to register for a user account
When I go to the registration form
And I complete all the required registration details correctly
Then I will be registered on the website
And I will be automatically logged in

LoginJbSteps.java

@Given("I am at the registration page")
    @Composite(steps = {"Given I am new to the website",
            "Given I want to register for a user account",
            "When I go to the registration form"})
    @net.thucydides.core.annotations.Pending
    public void goToRegistrationPage() {
        loginSrnSteps.openRegistrationPage();
    }

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions