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

rspec-steps are not compatible with rspec tags / filtering #30

Open
ramunasm opened this issue Apr 13, 2016 · 0 comments
Open

rspec-steps are not compatible with rspec tags / filtering #30

ramunasm opened this issue Apr 13, 2016 · 0 comments

Comments

@ramunasm
Copy link

Hello there,

I'm trying to use Rspec tags to execute only the tagged steps, the report seems to say that only the filtered steps have been ran, but I clearly see that all of the steps, even the ones with different tags / untagged are executed.

Sample code:

    it "should successfully log in", :mandatory do
        fill_in 'j_username', :with => username
        fill_in 'j_password', :with => password
        click_button('submit')
        expect(page).to have_text username
    end

    it "should do something other" do
        puts 'fail'
    end

Command used to run the tests:

rspec -t 'mandatory'

Is this a bug or am I doing it wrong?

Thank you

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

1 participant