Created
March 28, 2011 09:45
-
-
Save cayblood/890205 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cucumber | |
Feature: Basic user functionality | |
In order to serve customers | |
As a basic user | |
I want to create returns and update my account | |
Scenario: Update account # features/basic_user_functions.feature:6 | |
Given I am logged in as darrin/secret # features/step_definitions/login_steps.rb:1 | |
When I follow "My Account" # features/step_definitions/web_steps.rb:5 | |
And I fill in "Full name" with "Darrin Jones2" # features/step_definitions/web_steps.rb:50 | |
And I click "Update" # features/step_definitions/web_steps.rb:42 | |
Then I should be on the dashboard page # features/step_definitions/web_steps.rb:54 | |
When I follow "My Account" # features/step_definitions/web_steps.rb:5 | |
Then the "Full name" field should contain "Darrin Jones2" # features/step_definitions/web_steps.rb:28 | |
Feature: Reports | |
In order to send reports to customers, manufacturers and wholesalers | |
As a subscriber | |
I want to generate reports in the web interface | |
Scenario: print specific return # features/reports.feature:6 | |
Given I am logged in as darrin/secret # features/step_definitions/login_steps.rb:1 | |
can't convert Array into String (TypeError) | |
./features/step_definitions/login_steps.rb:2:in `/^I am logged in as (\w+)\/(.*)$/' | |
features/reports.feature:7:in `Given I am logged in as darrin/secret' | |
When I go to the inventory report # features/step_definitions/web_steps.rb:1 | |
And I select "Columbine Market Pharmacy" from "criteria_client_id" # features/step_definitions/web_steps.rb:9 | |
And I wait one second # features/step_definitions/web_steps.rb:13 | |
Then "062510-COL" should be an option for "criteria_return_order" # features/step_definitions/web_steps.rb:18 | |
When I choose "Return Name" # features/step_definitions/web_steps.rb:38 | |
And I click "Generate Report" # features/step_definitions/web_steps.rb:42 | |
Then I should see an "Inventory" link # features/step_definitions/web_steps.rb:46 | |
uninitialized constant Capybara::Driver::RackTest (NameError) | |
/Users/carl/.rvm/gems/ree-1.8.6-20090610@pharmaturn/gems/capybara-0.4.1.2/lib/capybara.rb:218 | |
/Users/carl/.rvm/gems/ree-1.8.6-20090610@pharmaturn/gems/capybara-0.4.1.2/lib/capybara/session.rb:51:in `call' | |
/Users/carl/.rvm/gems/ree-1.8.6-20090610@pharmaturn/gems/capybara-0.4.1.2/lib/capybara/session.rb:51:in `driver' | |
/Users/carl/.rvm/gems/ree-1.8.6-20090610@pharmaturn/gems/capybara-0.4.1.2/lib/capybara/session.rb:60:in `reset!' | |
/Users/carl/.rvm/gems/ree-1.8.6-20090610@pharmaturn/gems/capybara-0.4.1.2/lib/capybara/dsl.rb:69:in `reset_sessions!' | |
/Users/carl/.rvm/gems/ree-1.8.6-20090610@pharmaturn/gems/capybara-0.4.1.2/lib/capybara/dsl.rb:69:in `each' | |
/Users/carl/.rvm/gems/ree-1.8.6-20090610@pharmaturn/gems/capybara-0.4.1.2/lib/capybara/dsl.rb:69:in `reset_sessions!' | |
/Users/carl/.rvm/gems/ree-1.8.6-20090610@pharmaturn/gems/capybara-0.4.1.2/lib/capybara/cucumber.rb:7:in `After' | |
Failing Scenarios: | |
cucumber features/reports.feature:6 # Scenario: print specific return | |
2 scenarios (1 failed, 1 passed) | |
15 steps (1 failed, 7 skipped, 7 passed) | |
0m12.194s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment