I\'m using cucumber + capybara for some web automation testing. I\'d love to be able to wire up my own tag (something like @all_browsers before the scenario) and have it run aga
Here is my hack: (my situation is proving a feature works with javascript on and javascript off)
Tag each scenario appropriately
Feature: a feature
Background:
Given a user "Jim" exists
Given a user "Mike" exists
When I login as "mike"
And I follow "Lesson 1"
And I follow "Upload a video"
Then "#upload_a_video" should be active
And I fill in "video_title" with "my film"
And I attach the file "video.mov" to "video_upload"
And I press "Post"
Scenario: normal
And I should see "my film"
@javascript
Scenario: javascript
And I should see "my film"