Skip to content

Instantly share code, notes, and snippets.

@msp
Created June 29, 2012 10:42
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/3017281 to your computer and use it in GitHub Desktop.
Save msp/3017281 to your computer and use it in GitHub Desktop.
webkit-debug trace (without ifrmaes)
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
Background: # features/activities/activity.feature:6
Given the following venues exists: # factory_girl-3.3.0/lib/factory_girl/step_definitions.rb:111
| id | name | address_1 | city | postcode |
| 1001 | Apiary | 458 Hackney Road | London | E29EG |
| 1002 | Cafe OTO | 18-22 Ashwin Street | London | E83DL |
@javascript @wip
Scenario: Step 2: Activity basic # features/activities/activity.feature:56
Given I exist as a user # features/step_definitions/user_steps.rb:80
>> Visit
>> 1
>> 36
>> http://127.0.0.1:61407/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
>> 360
>> .//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'Log in' or ./@value = 'Log in') or ./@title = 'Log in')] | .//input[./@type = 'image'][./@alt = 'Log in'] | .//button[(((./@id = 'Log in' or ./@value = 'Log in') or normalize-space(string(.)) = 'Log in') or ./@title = 'Log in')] | .//input[./@type = 'image'][./@alt = 'Log 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:94
>> Visit
>> 1
>> 37
>> http://127.0.0.1:61407/activities/new
<< ok
<< 0
>> Find
>> 1
>> 121
>> .//div[@id = 'step1' and contains(concat(' ', @class, ' '), ' collapse ') and contains(concat(' ', @class, ' '), ' in ')]
<< ok
<< 1
<< 1
>> Find
>> 1
>> 74
>> .//div[@id = 'step2' and contains(concat(' ', @class, ' '), ' collapse ')]
<< ok
<< 1
<< 2
>> Find
>> 1
>> 74
>> .//div[@id = 'step3' and contains(concat(' ', @class, ' '), ' collapse ')]
<< ok
<< 1
<< 3
>> Find
>> 1
>> 74
>> .//div[@id = 'step4' and contains(concat(' ', @class, ' '), ' collapse ')]
<< 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:141
>> 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
<< 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
>> 2
>> 5
>> click
>> 1
>> 9
<< ok
<< 0
And I accept the suggested provider # features/step_definitions/activity_steps.rb:170
>> Find
>> 1
>> 74
>> .//div[@id = 'step1' and contains(concat(' ', @class, ' '), ' collapse ')]
<< ok
<< 2
<< 10
>> Find
>> 1
>> 121
>> .//div[@id = 'step2' and contains(concat(' ', @class, ' '), ' collapse ') and contains(concat(' ', @class, ' '), ' in ')]
<< ok
<< 2
<< 11
>> Find
>> 1
>> 74
>> .//div[@id = 'step3' and contains(concat(' ', @class, ' '), ' collapse ')]
<< ok
<< 2
<< 12
>> Find
>> 1
>> 74
>> .//div[@id = 'step4' and contains(concat(' ', @class, ' '), ' collapse ')]
<< ok
<< 2
<< 13
>> 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
<< 14
>> Find
>> 1
>> 143
>> .//*[@id = 'breadcrumb']//*[@id = 'step4' and contains(concat(' ', @class, ' '), ' btn ') and contains(concat(' ', @class, ' '), ' disabled ')]
<< ok
<< 2
<< 15
And I should be on step 2 # features/step_definitions/activity_steps.rb:93
>> Find
>> 1
>> 545
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'activity_venue_name' or ./@name = 'activity_venue_name') or ./@id = //label[normalize-space(string(.)) = 'activity_venue_name']/@for)] | .//label[normalize-space(string(.)) = 'activity_venue_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
<< 16
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 16
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 16
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 16
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 2
>> 16
>> 6
>> apiary
<< ok
<< 0
>> Execute
>> 1
>> 48
>> $('input[data-autocomplete]').trigger("focus")
<< ok
<< 0
>> Execute
>> 1
>> 50
>> $('input[data-autocomplete]').trigger("keydown")
<< ok
<< 0
>> Execute
>> 1
>> 23
>> showNewVenueFields();
http://127.0.0.1:61407/assets/application.js|24180|MSPx showNewVenueFields
<< ok
<< 0
Then I choose to add a new venue from the autocomplete list # features/step_definitions/activity_steps.rb:369
>> 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
<< 17
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 17
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 17
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 17
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 2
>> 17
>> 15
>> Gallery opening
<< ok
<< 0
>> Find
>> 1
>> 533
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'activity_summary' or ./@name = 'activity_summary') or ./@id = //label[normalize-space(string(.)) = 'activity_summary']/@for)] | .//label[normalize-space(string(.)) = 'activity_summary']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
<< ok
<< 2
<< 18
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 18
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 18
<< ok
<< 4
<< true
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 18
<< ok
<< 4
<< true
>> Node
>> 3
>> 3
>> set
>> 2
>> 18
>> 15
>> Schmooze & vino
<< 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
<< 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
>> 22
>> Drink! Look at things!
<< ok
<< 0
>> Find
>> 1
>> 47
>> .//*[@id = 'activity_venues_attributes_0_name']
<< ok
<< 2
<< 20
>> Node
>> 2
>> 10
>> isAttached
>> 2
>> 20
<< ok
<< 4
<< true
>> Node
>> 2
>> 7
>> visible
>> 2
>> 20
<< ok
<< 4
<< true
>> 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
<< 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
>> 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
<< 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
>> 3
>> set
>> 2
>> 22
>> 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
<< 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
>> 3
>> 3
>> set
>> 2
>> 23
>> 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
<< 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
>> 3
>> set
>> 2
>> 24
>> 6
>> N1 9AB
<< ok
<< 0
>> Find
>> 1
>> 573
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'activity_start_date_widget' or ./@name = 'activity_start_date_widget') or ./@id = //label[normalize-space(string(.)) = 'activity_start_date_widget']/@for)] | .//label[normalize-space(string(.)) = 'activity_start_date_widget']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
<< 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
>> 3
>> 3
>> set
>> 2
>> 25
>> 10
>> 12/01/2012
<< ok
<< 0
>> Find
>> 1
>> 241
>> .//select[((./@id = 'activity_start_date_4i' or ./@name = 'activity_start_date_4i') or ./@id = //label[normalize-space(string(.)) = 'activity_start_date_4i']/@for)] | .//label[normalize-space(string(.)) = 'activity_start_date_4i']//.//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(.)) = '19']
<< 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
>> 241
>> .//select[((./@id = 'activity_start_date_5i' or ./@name = 'activity_start_date_5i') or ./@id = //label[normalize-space(string(.)) = 'activity_start_date_5i']/@for)] | .//label[normalize-space(string(.)) = 'activity_start_date_5i']//.//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
>> 44
>> .//option[normalize-space(string(.)) = '15']
<< 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
>> 565
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'activity_end_date_widget' or ./@name = 'activity_end_date_widget') or ./@id = //label[normalize-space(string(.)) = 'activity_end_date_widget']/@for)] | .//label[normalize-space(string(.)) = 'activity_end_date_widget']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]
<< 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
>> 3
>> set
>> 2
>> 30
>> 10
>> 13/01/2012
<< ok
<< 0
>> Find
>> 1
>> 233
>> .//select[((./@id = 'activity_end_date_4i' or ./@name = 'activity_end_date_4i') or ./@id = //label[normalize-space(string(.)) = 'activity_end_date_4i']/@for)] | .//label[normalize-space(string(.)) = 'activity_end_date_4i']//.//select
<< 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
>> 3
>> 10
>> findWithin
>> 2
>> 31
>> 44
>> .//option[normalize-space(string(.)) = '23']
<< 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
>> 2
>> 12
>> selectOption
>> 2
>> 32
<< ok
<< 0
>> Find
>> 1
>> 233
>> .//select[((./@id = 'activity_end_date_5i' or ./@name = 'activity_end_date_5i') or ./@id = //label[normalize-space(string(.)) = 'activity_end_date_5i']/@for)] | .//label[normalize-space(string(.)) = 'activity_end_date_5i']//.//select
<< 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
>> 3
>> 10
>> findWithin
>> 2
>> 33
>> 44
>> .//option[normalize-space(string(.)) = '45']
<< 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
>> 2
>> 12
>> selectOption
>> 2
>> 34
<< 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
<< 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
>> 68
>> /Volumes/data/development/XX/public/images/medium/missing.png
<< 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
<< 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
>> 2
>> 5
>> click
>> 2
>> 36
<< ok
<< 0
And I input a basic activity # features/step_definitions/activity_steps.rb:240
>> Find
>> 1
>> 74
>> .//div[@id = 'step1' and contains(concat(' ', @class, ' '), ' collapse ')]
<< failure
<< 57
<< Unable to load URL: http://127.0.0.1:61407/activities/new
And I should be on step 3 # features/step_definitions/activity_steps.rb:109
Unable to load URL: http://127.0.0.1:61407/activities/new (Capybara::Driver::Webkit::WebkitInvalidResponseError)
(eval):2:in `has_css?'
./features/step_definitions/activity_steps.rb:112:in `/^I should be on step 3$/'
features/activities/activity.feature:64: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:194
>> Reset
>> 0
<< ok
<< 0
Failing Scenarios:
cucumber features/activities/activity.feature:56 # Scenario: Step 2: Activity basic
1 scenario (1 failed)
10 steps (1 failed, 1 skipped, 8 passed)
0m6.275s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment