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

Composite Steps not being found #37

Open
vgarmash opened this issue Feb 22, 2016 · 1 comment
Open

Composite Steps not being found #37

vgarmash opened this issue Feb 22, 2016 · 1 comment

Comments

@vgarmash
Copy link

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();
    }
@JenoDK
Copy link
Collaborator

JenoDK commented Mar 4, 2019

Hi @vgarmash , feel free to contribute this change to the plugin as many contributers have stopped working on this plugin or don't have a lot of time. See the readme on how to setup the development environment.

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

No branches or pull requests

2 participants