Skip to content

Instantly share code, notes, and snippets.

@ni-ka
Created May 24, 2012 12:24
Show Gist options
  • Save ni-ka/2781282 to your computer and use it in GitHub Desktop.
Save ni-ka/2781282 to your computer and use it in GitHub Desktop.
berm00259937a:expertondemand c5168972$ cucumber features/acceptance_features/profiles/completeness.feature:7
Using the default profile...
/Users/c5168972/.rvm/gems/ruby-1.9.3-p0@expertondemand/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require': iconv will be deprecated in the future, use String#encode instead.
@javascript
Feature: Profile completeness
As a user I would like to see an indication of my profile completeness
so I will know If I have provided sufficient information
Scenario: Display completeness editing profile # features/acceptance_features/profiles/completeness.feature:7
Given I am logged in # features/step_definitions/user_steps.rb:19
And I have empty profile # features/step_definitions/profiles/profile_steps.rb:7
When I am on the edit profile page # features/step_definitions/web_steps.rb:44
Then I should see "0%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should see completeness reminders for all fields # features/step_definitions/profiles/completeness_steps.rb:49
When I fill out the "Job Role" with "developer" # features/step_definitions/profiles/profile_steps.rb:41
Then I should see "20%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should not see the reminder to add "Job Role" # features/step_definitions/profiles/completeness_steps.rb:63
When I fill out the rest of profile # features/step_definitions/profiles/completeness_steps.rb:2
Lexing error on line 18: ''. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information. (Gherkin::Lexer::LexingError)
./features/step_definitions/profiles/completeness_steps.rb:31:in `/^I fill out the rest of profile$/'
features/acceptance_features/profiles/completeness.feature:18:in `When I fill out the rest of profile'
Then I should see "100%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should not see any reminders to complete profile # features/step_definitions/profiles/completeness_steps.rb:69
When I clean up the "Job Role" # features/step_definitions/profiles/profile_steps.rb:52
Then I should see "80%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should see the reminder to add "Job Role" # features/step_definitions/profiles/completeness_steps.rb:57
When I clean up the rest of profile fields # features/step_definitions/profiles/completeness_steps.rb:34
Then I should see "0%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should see completeness reminders for all fields # features/step_definitions/profiles/completeness_steps.rb:49
Failing Scenarios:
cucumber features/acceptance_features/profiles/completeness.feature:7 # Scenario: Display completeness editing profile
1 scenario (1 failed)
17 steps (1 failed, 8 skipped, 8 passed)
0m6.306s
Coverage report generated for Cucumber Features to /Users/c5168972/Documents/Projects/eod/expertondemand/coverage. 1049 / 1721 LOC (60.95%) covered.
berm00259937a:expertondemand c5168972$ cucumber features/acceptance_features/profiles/completeness.feature:7
Using the default profile...
/Users/c5168972/.rvm/gems/ruby-1.9.3-p0@expertondemand/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require': iconv will be deprecated in the future, use String#encode instead.
@javascript
Feature: Profile completeness
As a user I would like to see an indication of my profile completeness
so I will know If I have provided sufficient information
Scenario: Display completeness editing profile # features/acceptance_features/profiles/completeness.feature:7
Given I am logged in # features/step_definitions/user_steps.rb:19
And I have empty profile # features/step_definitions/profiles/profile_steps.rb:7
When I am on the edit profile page # features/step_definitions/web_steps.rb:44
Then I should see "0%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should see completeness reminders for all fields # features/step_definitions/profiles/completeness_steps.rb:49
When I fill out the "Job Role" with "developer" # features/step_definitions/profiles/profile_steps.rb:41
Then I should see "20%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should not see the reminder to add "Job Role" # features/step_definitions/profiles/completeness_steps.rb:63
When I fill out the rest of profile # features/step_definitions/profiles/completeness_steps.rb:2
Then I should see "100%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should not see any reminders to complete profile # features/step_definitions/profiles/completeness_steps.rb:69
When I clean up the "Job Role" # features/step_definitions/profiles/profile_steps.rb:52
Then I should see "80%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should see the reminder to add "Job Role" # features/step_definitions/profiles/completeness_steps.rb:57
When I clean up the rest of profile fields # features/step_definitions/profiles/completeness_steps.rb:34
Then I should see "0%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
timed out (Capybara::TimeoutError)
./features/step_definitions/profiles/completeness_steps.rb:45:in `block (2 levels) in <top (required)>'
./features/step_definitions/profiles/completeness_steps.rb:44:in `/^I should see "([^"]*)" profile completeness$/'
features/acceptance_features/profiles/completeness.feature:27:in `Then I should see "0%" profile completeness'
And I should see completeness reminders for all fields # features/step_definitions/profiles/completeness_steps.rb:49
Failing Scenarios:
cucumber features/acceptance_features/profiles/completeness.feature:7 # Scenario: Display completeness editing profile
1 scenario (1 failed)
17 steps (1 failed, 1 skipped, 15 passed)
0m13.537s
Coverage report generated for Cucumber Features to /Users/c5168972/Documents/Projects/eod/expertondemand/coverage. 1057 / 1721 LOC (61.42%) covered.
berm00259937a:expertondemand c5168972$ cucumber features/acceptance_features/profiles/completeness.feature:7
Using the default profile...
/Users/c5168972/.rvm/gems/ruby-1.9.3-p0@expertondemand/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require': iconv will be deprecated in the future, use String#encode instead.
@javascript
Feature: Profile completeness
As a user I would like to see an indication of my profile completeness
so I will know If I have provided sufficient information
Scenario: Display completeness editing profile # features/acceptance_features/profiles/completeness.feature:7
Given I am logged in # features/step_definitions/user_steps.rb:19
And I have empty profile # features/step_definitions/profiles/profile_steps.rb:7
When I am on the edit profile page # features/step_definitions/web_steps.rb:44
Then I should see "0%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should see completeness reminders for all fields # features/step_definitions/profiles/completeness_steps.rb:49
When I fill out the "Job Role" with "developer" # features/step_definitions/profiles/profile_steps.rb:41
Then I should see "20%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should not see the reminder to add "Job Role" # features/step_definitions/profiles/completeness_steps.rb:63
When I fill out the rest of profile # features/step_definitions/profiles/completeness_steps.rb:2
Then I should see "100%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should not see any reminders to complete profile # features/step_definitions/profiles/completeness_steps.rb:69
When I clean up the "Job Role" # features/step_definitions/profiles/profile_steps.rb:52
Then I should see "80%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should see the reminder to add "Job Role" # features/step_definitions/profiles/completeness_steps.rb:57
When I clean up the rest of profile fields # features/step_definitions/profiles/completeness_steps.rb:34
Lexing error on line 5: ''. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information. (Gherkin::Lexer::LexingError)
./features/step_definitions/profiles/completeness_steps.rb:40:in `/^I clean up the rest of profile fields$/'
features/acceptance_features/profiles/completeness.feature:26:in `When I clean up the rest of profile fields'
Then I should see "0%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:43
And I should see completeness reminders for all fields # features/step_definitions/profiles/completeness_steps.rb:49
Failing Scenarios:
cucumber features/acceptance_features/profiles/completeness.feature:7 # Scenario: Display completeness editing profile
1 scenario (1 failed)
17 steps (1 failed, 2 skipped, 14 passed)
0m8.321s
Coverage report generated for Cucumber Features to /Users/c5168972/Documents/Projects/eod/expertondemand/coverage. 1053 / 1721 LOC (61.19%) covered.
berm00259937a:expertondemand c5168972$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment