Skip to content

Instantly share code, notes, and snippets.

@msp
Created June 6, 2012 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msp/2881448 to your computer and use it in GitHub Desktop.
Save msp/2881448 to your computer and use it in GitHub Desktop.
webkit-debug trace
WARNING: `VCR.config { |c| c.stub_with ... }` is deprecated. Use `VCR.configure { |c| c.hook_into ... }` instead.
Using the default profile...
ENV['RAILS_ENV']: cucumber
Rails.env: cucumber
Feature: Activites
As a registered user
I want to be able to add activities
So I can share my activity
@javascript
Scenario: Step 2: Activity basic # features/activities/activity.feature:70
Given I exist as a user # features/step_definitions/user_steps.rb:77
>> Visit
>> 1
>> 36
>> http://127.0.0.1:53879/users/sign_in
<< ok
<< 0
>> Find
>> 1
>> 489
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'Email' or ./@name = 'Email') or ./@id = //label[normalize-space(string(.)) = 'Email']/@for)] | .//label[normalize-space(string(.)) = 'Email']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
<< ok
<< 1
<< 1
>> Node
>> 2
>> 10
>> isAttached
>> 1
>> 1
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 1
>> 1
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 1
>> 1
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 1
>> 1
>> 19
>> example@example.com
<< ok
<< 0
>> Find
>> 1
>> 501
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'Password' or ./@name = 'Password') or ./@id = //label[normalize-space(string(.)) = 'Password']/@for)] | .//label[normalize-space(string(.)) = 'Password']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
<< ok
<< 1
<< 2
>> Node
>> 2
>> 10
>> isAttached
>> 1
>> 2
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 1
>> 2
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 1
>> 2
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 1
>> 2
>> 6
>> please
<< ok
<< 0
>> Find
>> 1
>> 369
>> .//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'Sign in' or ./@value = 'Sign in') or ./@title = 'Sign in')] | .//input[./@type = 'image'][./@alt = 'Sign in'] | .//button[(((./@id = 'Sign in' or ./@value = 'Sign in') or normalize-space(string(.)) = 'Sign in') or ./@title = 'Sign in')] | .//input[./@type = 'image'][./@alt = 'Sign in']
<< ok
<< 1
<< 3
>> Node
>> 2
>> 10
>> isAttached
>> 1
>> 3
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 1
>> 3
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 1
>> 3
<< ok
<< 4
<< true
>> Node
>> 2
>> 5
>> click
>> 1
>> 3
<< ok
<< 0
And I sign in with valid credentials # features/step_definitions/user_steps.rb:91
>> Visit
>> 1
>> 37
>> http://127.0.0.1:53879/activities/new
undefined|0|Error: //platform.twitter.com/js/tfw/widget/hubclient.js not loaded
<< ok
<< 0
>> Find
>> 1
>> 121
>> .//div[@id = 'step1' and contains(concat(' ', @class, ' '), ' collapse ') and contains(concat(' ', @class, ' '), ' in ')]
<< ok
<< 1
<< 1
>> Find
>> 1
>> 122
>> .//div[@id = 'step2' and contains(concat(' ', @class, ' '), ' collapse ') and contains(concat(' ', @class, ' '), ' out ')]
<< ok
<< 1
<< 2
>> Find
>> 1
>> 122
>> .//div[@id = 'step3' and contains(concat(' ', @class, ' '), ' collapse ') and contains(concat(' ', @class, ' '), ' out ')]
<< ok
<< 1
<< 3
>> Find
>> 1
>> 122
>> .//div[@id = 'step4' and contains(concat(' ', @class, ' '), ' collapse ') and contains(concat(' ', @class, ' '), ' out ')]
<< ok
<< 1
<< 4
>> Find
>> 1
>> 90
>> .//*[@id = 'breadcrumb']//*[@id = 'step1' and contains(concat(' ', @class, ' '), ' btn ')]
<< ok
<< 1
<< 5
>> Find
>> 1
>> 143
>> .//*[@id = 'breadcrumb']//*[@id = 'step2' and contains(concat(' ', @class, ' '), ' btn ') and contains(concat(' ', @class, ' '), ' disabled ')]
<< ok
<< 1
<< 6
>> Find
>> 1
>> 143
>> .//*[@id = 'breadcrumb']//*[@id = 'step3' and contains(concat(' ', @class, ' '), ' btn ') and contains(concat(' ', @class, ' '), ' disabled ')]
<< ok
<< 1
<< 7
>> Find
>> 1
>> 143
>> .//*[@id = 'breadcrumb']//*[@id = 'step4' and contains(concat(' ', @class, ' '), ' btn ') and contains(concat(' ', @class, ' '), ' disabled ')]
<< ok
<< 1
<< 8
And I'm on step 1 # features/step_definitions/activity_steps.rb:143
>> Find
>> 1
>> 205
>> .//select[((./@id = 'provider_type' or ./@name = 'provider_type') or ./@id = //label[normalize-space(string(.)) = 'provider_type']/@for)] | .//label[normalize-space(string(.)) = 'provider_type']//.//select
<< ok
<< 1
<< 9
>> Node
>> 2
>> 10
>> isAttached
>> 1
>> 9
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 1
>> 9
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 1
>> 9
<< ok
<< 4
<< true
>> Node
>> 3
>> 10
>> findWithin
>> 1
>> 9
>> 52
>> .//option[normalize-space(string(.)) = 'individual']
<< ok
<< 2
<< 10
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 10
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 10
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 10
<< ok
<< 4
<< true
>> Node
>> 2
>> 12
>> selectOption
>> 2
>> 10
<< ok
<< 0
>> Find
>> 1
>> 521
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'provider_name' or ./@name = 'provider_name') or ./@id = //label[normalize-space(string(.)) = 'provider_name']/@for)] | .//label[normalize-space(string(.)) = 'provider_name']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
<< ok
<< 2
<< 11
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 11
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 11
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 11
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 2
>> 11
>> 15
>> unique provider
<< ok
<< 0
>> Find
>> 1
>> 423
>> .//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'save_provider' or ./@value = 'save_provider') or ./@title = 'save_provider')] | .//input[./@type = 'image'][./@alt = 'save_provider'] | .//button[(((./@id = 'save_provider' or ./@value = 'save_provider') or normalize-space(string(.)) = 'save_provider') or ./@title = 'save_provider')] | .//input[./@type = 'image'][./@alt = 'save_provider']
<< ok
<< 2
<< 12
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 12
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 12
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 12
<< ok
<< 4
<< true
>> Node
>> 2
>> 5
>> click
>> 2
>> 12
<< ok
<< 0
And I input a "individual" provider with a name of "unique provider" # features/step_definitions/activity_steps.rb:159
>> Find
>> 1
>> 74
>> .//div[@id = 'step1' and contains(concat(' ', @class, ' '), ' collapse ')]
<< ok
<< 2
<< 13
>> Find
>> 1
>> 121
>> .//div[@id = 'step2' and contains(concat(' ', @class, ' '), ' collapse ') and contains(concat(' ', @class, ' '), ' in ')]
<< ok
<< 0
>> Find
>> 1
>> 121
>> .//div[@id = 'step2' and contains(concat(' ', @class, ' '), ' collapse ') and contains(concat(' ', @class, ' '), ' in ')]
<< ok
<< 2
<< 14
>> Find
>> 1
>> 122
>> .//div[@id = 'step3' and contains(concat(' ', @class, ' '), ' collapse ') and contains(concat(' ', @class, ' '), ' out ')]
<< ok
<< 2
<< 15
>> Find
>> 1
>> 122
>> .//div[@id = 'step4' and contains(concat(' ', @class, ' '), ' collapse ') and contains(concat(' ', @class, ' '), ' out ')]
<< ok
<< 2
<< 16
>> Find
>> 1
>> 143
>> .//*[@id = 'breadcrumb']//*[@id = 'step1' and contains(concat(' ', @class, ' '), ' btn ') and contains(concat(' ', @class, ' '), ' disabled ')]
<< ok
<< 0
>> Find
>> 1
>> 143
>> .//*[@id = 'breadcrumb']//*[@id = 'step2' and contains(concat(' ', @class, ' '), ' btn ') and contains(concat(' ', @class, ' '), ' disabled ')]
<< ok
<< 0
>> Find
>> 1
>> 143
>> .//*[@id = 'breadcrumb']//*[@id = 'step3' and contains(concat(' ', @class, ' '), ' btn ') and contains(concat(' ', @class, ' '), ' disabled ')]
<< ok
<< 2
<< 17
>> Find
>> 1
>> 143
>> .//*[@id = 'breadcrumb']//*[@id = 'step4' and contains(concat(' ', @class, ' '), ' btn ') and contains(concat(' ', @class, ' '), ' disabled ')]
<< ok
<< 2
<< 18
And I should be on step 2 # features/step_definitions/activity_steps.rb:95
>> Find
>> 1
>> 525
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'activity_title' or ./@name = 'activity_title') or ./@id = //label[normalize-space(string(.)) = 'activity_title']/@for)] | .//label[normalize-space(string(.)) = 'activity_title']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
<< ok
<< 2
<< 19
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 19
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 19
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 19
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 2
>> 19
>> 15
>> Gallery opening
<< ok
<< 0
>> Find
>> 1
>> 549
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'activity_description' or ./@name = 'activity_description') or ./@id = //label[normalize-space(string(.)) = 'activity_description']/@for)] | .//label[normalize-space(string(.)) = 'activity_description']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
<< ok
<< 2
<< 20
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 20
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 20
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 20
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 2
>> 20
>> 15
>> Schmooze & vino
<< ok
<< 0
>> Find
>> 1
>> 243
>> .//input[./@type = 'file'][((./@id = 'activity_image' or ./@name = 'activity_image') or ./@id = //label[normalize-space(string(.)) = 'activity_image']/@for)] | .//label[normalize-space(string(.)) = 'activity_image']//.//input[./@type = 'file']
<< ok
<< 2
<< 21
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 21
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 21
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 21
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 2
>> 21
>> 68
>> /Volumes/data/development/XX/public/images/medium/missing.png
<< ok
<< 0
>> Find
>> 1
>> 241
>> .//select[((./@id = 'activity_start_date_1i' or ./@name = 'activity_start_date_1i') or ./@id = //label[normalize-space(string(.)) = 'activity_start_date_1i']/@for)] | .//label[normalize-space(string(.)) = 'activity_start_date_1i']//.//select
<< ok
<< 2
<< 22
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 22
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 22
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 22
<< ok
<< 4
<< true
>> Node
>> 3
>> 10
>> findWithin
>> 2
>> 22
>> 46
>> .//option[normalize-space(string(.)) = '2012']
<< ok
<< 2
<< 23
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 23
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 23
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 23
<< ok
<< 4
<< true
>> Node
>> 2
>> 12
>> selectOption
>> 2
>> 23
<< ok
<< 0
>> Find
>> 1
>> 241
>> .//select[((./@id = 'activity_start_date_2i' or ./@name = 'activity_start_date_2i') or ./@id = //label[normalize-space(string(.)) = 'activity_start_date_2i']/@for)] | .//label[normalize-space(string(.)) = 'activity_start_date_2i']//.//select
<< ok
<< 2
<< 24
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 24
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 24
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 24
<< ok
<< 4
<< true
>> Node
>> 3
>> 10
>> findWithin
>> 2
>> 24
>> 49
>> .//option[normalize-space(string(.)) = 'January']
<< ok
<< 2
<< 25
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 25
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 25
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 25
<< ok
<< 4
<< true
>> Node
>> 2
>> 12
>> selectOption
>> 2
>> 25
<< ok
<< 0
>> Find
>> 1
>> 241
>> .//select[((./@id = 'activity_start_date_3i' or ./@name = 'activity_start_date_3i') or ./@id = //label[normalize-space(string(.)) = 'activity_start_date_3i']/@for)] | .//label[normalize-space(string(.)) = 'activity_start_date_3i']//.//select
<< ok
<< 2
<< 26
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 26
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 26
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 26
<< ok
<< 4
<< true
>> Node
>> 3
>> 10
>> findWithin
>> 2
>> 26
>> 44
>> .//option[normalize-space(string(.)) = '12']
<< ok
<< 2
<< 27
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 27
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 27
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 27
<< ok
<< 4
<< true
>> Node
>> 2
>> 12
>> selectOption
>> 2
>> 27
<< ok
<< 0
>> Find
>> 1
>> 233
>> .//select[((./@id = 'activity_end_date_1i' or ./@name = 'activity_end_date_1i') or ./@id = //label[normalize-space(string(.)) = 'activity_end_date_1i']/@for)] | .//label[normalize-space(string(.)) = 'activity_end_date_1i']//.//select
<< ok
<< 2
<< 28
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 28
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 28
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 28
<< ok
<< 4
<< true
>> Node
>> 3
>> 10
>> findWithin
>> 2
>> 28
>> 46
>> .//option[normalize-space(string(.)) = '2012']
<< ok
<< 2
<< 29
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 29
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 29
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 29
<< ok
<< 4
<< true
>> Node
>> 2
>> 12
>> selectOption
>> 2
>> 29
<< ok
<< 0
>> Find
>> 1
>> 233
>> .//select[((./@id = 'activity_end_date_2i' or ./@name = 'activity_end_date_2i') or ./@id = //label[normalize-space(string(.)) = 'activity_end_date_2i']/@for)] | .//label[normalize-space(string(.)) = 'activity_end_date_2i']//.//select
<< ok
<< 2
<< 30
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 30
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 30
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 30
<< ok
<< 4
<< true
>> Node
>> 3
>> 10
>> findWithin
>> 2
>> 30
>> 49
>> .//option[normalize-space(string(.)) = 'January']
<< ok
<< 2
<< 31
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 31
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 31
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 31
<< ok
<< 4
<< true
>> Node
>> 2
>> 12
>> selectOption
>> 2
>> 31
<< ok
<< 0
>> Find
>> 1
>> 233
>> .//select[((./@id = 'activity_end_date_3i' or ./@name = 'activity_end_date_3i') or ./@id = //label[normalize-space(string(.)) = 'activity_end_date_3i']/@for)] | .//label[normalize-space(string(.)) = 'activity_end_date_3i']//.//select
<< ok
<< 2
<< 32
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 32
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 32
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 32
<< ok
<< 4
<< true
>> Node
>> 3
>> 10
>> findWithin
>> 2
>> 32
>> 44
>> .//option[normalize-space(string(.)) = '20']
<< ok
<< 2
<< 33
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 33
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 33
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 33
<< ok
<< 4
<< true
>> Node
>> 2
>> 12
>> selectOption
>> 2
>> 33
<< ok
<< 0
>> Find
>> 1
>> 601
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'activity_venues_attributes_0_name' or ./@name = 'activity_venues_attributes_0_name') or ./@id = //label[normalize-space(string(.)) = 'activity_venues_attributes_0_name']/@for)] | .//label[normalize-space(string(.)) = 'activity_venues_attributes_0_name']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
<< ok
<< 2
<< 34
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 34
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 34
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 34
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 2
>> 34
>> 7
>> The Hub
<< ok
<< 0
>> Find
>> 1
>> 621
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'activity_venues_attributes_0_address_1' or ./@name = 'activity_venues_attributes_0_address_1') or ./@id = //label[normalize-space(string(.)) = 'activity_venues_attributes_0_address_1']/@for)] | .//label[normalize-space(string(.)) = 'activity_venues_attributes_0_address_1']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
<< ok
<< 2
<< 35
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 35
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 35
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 35
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 2
>> 35
>> 8
>> York Way
<< ok
<< 0
>> Find
>> 1
>> 601
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'activity_venues_attributes_0_city' or ./@name = 'activity_venues_attributes_0_city') or ./@id = //label[normalize-space(string(.)) = 'activity_venues_attributes_0_city']/@for)] | .//label[normalize-space(string(.)) = 'activity_venues_attributes_0_city']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
<< ok
<< 2
<< 36
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 36
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 36
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 36
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 2
>> 36
>> 6
>> London
<< ok
<< 0
>> Find
>> 1
>> 617
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'activity_venues_attributes_0_postcode' or ./@name = 'activity_venues_attributes_0_postcode') or ./@id = //label[normalize-space(string(.)) = 'activity_venues_attributes_0_postcode']/@for)] | .//label[normalize-space(string(.)) = 'activity_venues_attributes_0_postcode']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
<< ok
<< 2
<< 37
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 37
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 37
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 37
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 2
>> 37
>> 6
>> N1 9AB
<< ok
<< 0
>> Find
>> 1
>> 423
>> .//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'save_activity' or ./@value = 'save_activity') or ./@title = 'save_activity')] | .//input[./@type = 'image'][./@alt = 'save_activity'] | .//button[(((./@id = 'save_activity' or ./@value = 'save_activity') or normalize-space(string(.)) = 'save_activity') or ./@title = 'save_activity')] | .//input[./@type = 'image'][./@alt = 'save_activity']
<< ok
<< 2
<< 38
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 38
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 38
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 38
<< ok
<< 4
<< true
>> Node
>> 2
>> 5
>> click
>> 2
>> 38
<< ok
<< 0
Then I input a basic activity # features/step_definitions/activity_steps.rb:231
>> Find
>> 1
>> 74
>> .//div[@id = 'step1' and contains(concat(' ', @class, ' '), ' collapse ')]
<< failure
<< 57
<< Unable to load URL: http://127.0.0.1:53879/activities/new
And I should be on step 3 # features/step_definitions/activity_steps.rb:111
Unable to load URL: http://127.0.0.1:53879/activities/new (Capybara::Driver::Webkit::WebkitInvalidResponseError)
(eval):2:in `has_css?'
./features/step_definitions/activity_steps.rb:114:in `/^I should be on step 3$/'
features/activities/activity.feature:77:in `And I should be on step 3'
And I can't jump to other subsequent steps from step 3 # features/step_definitions/activity_steps.rb:192
>> Reset
>> 0
<< ok
<< 0
Failing Scenarios:
cucumber features/activities/activity.feature:70 # Scenario: Step 2: Activity basic
1 scenario (1 failed)
8 steps (1 failed, 1 skipped, 6 passed)
0m5.468s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment