Skip to content

Instantly share code, notes, and snippets.

@ldenman
Created October 6, 2011 23:07
Show Gist options
  • Save ldenman/1268961 to your computer and use it in GitHub Desktop.
Save ldenman/1268961 to your computer and use it in GitHub Desktop.
Inconsistent webkit failure
Background: # features/admin/orders/filters_orders_by_delivery_location.feature:7
Given "John Smith" has an order for delivery at "Harvest Moon" # features/step_definitions/admin/order_steps.rb:1
And "Jane Doe" has an order for delivery at "Green's Garage" # features/step_definitions/admin/order_steps.rb:1
And I am on the admin orders page # features/step_definitions/web_steps.rb:44
Scenario: Filtering order by delivery location # features/admin/orders/filters_orders_by_delivery_location.feature:12
When I filter orders by "Harvest Moon" delivery location # features/step_definitions/admin/order_steps.rb:6
Then I should see "John Smith" # features/step_definitions/web_steps.rb:105
And I should not see "Jane Doe" # features/step_definitions/web_steps.rb:123
And the delivery location "Harvest Moon" should be selected # features/step_definitions/admin/order_steps.rb:11
When I filter orders by "Green's Garage" delivery location # features/step_definitions/admin/order_steps.rb:6
Then I should see "Jane Doe" # features/step_definitions/web_steps.rb:105
And I should not see "John Smith" # features/step_definitions/web_steps.rb:123
And the delivery location "Green's Garage" should be selected # features/step_definitions/admin/order_steps.rb:11
And I filter orders by "All Locations" delivery location # features/step_definitions/admin/order_steps.rb:6
Then I should see "Jane Doe" # features/step_definitions/web_steps.rb:105
Then I should see "John Smith" # features/step_definitions/web_steps.rb:105
And the delivery location "All Locations" should be selected # features/step_definitions/admin/order_steps.rb:11
@javascript
Scenario: Changing delivery location triggers filtering # features/admin/orders/filters_orders_by_delivery_location.feature:27
>> Visit
>> 1
>> 28
>> http://farm.smackaho.st:7171
<< ok
<< 0
<<
>> Visit
>> 1
>> 51
>> http://farm.smackaho.st:7171/administrators/sign_in
<< 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 = 'administrator[email]' or ./@name = 'administrator[email]') or ./@id = //label[normalize-space(string(.)) = 'administrator[email]']/@for)] | .//label[normalize-space(string(.)) = 'administrator[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
>> [email protected]
<< ok
<< 0
<<
>> Find
>> 1
>> 561
>> .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'administrator[password]' or ./@name = 'administrator[password]') or ./@id = //label[normalize-space(string(.)) = 'administrator[password]']/@for)] | .//label[normalize-space(string(.)) = 'administrator[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
>> 8
>> password
<< ok
<< 0
<<
>> Find
>> 1
>> 351
>> .//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'Login' or ./@value = 'Login') or ./@title = 'Login')] | .//input[./@type = 'image'][./@alt = 'Login'] | .//button[(((./@id = 'Login' or ./@value = 'Login') or normalize-space(string(.)) = 'Login') or ./@title = 'Login')] | .//input[./@type = 'image'][./@alt = 'Login']
<< 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
<<
>> Visit
>> 1
>> 41
>> http://farm.smackaho.st:7171/admin/orders
<< ok
<< 0
<<
>> Find
>> 1
>> 225
>> .//select[((./@id = 'pickup-location-id' or ./@name = 'pickup-location-id') or ./@id = //label[normalize-space(string(.)) = 'pickup-location-id']/@for)] | .//label[normalize-space(string(.)) = 'pickup-location-id']//.//select
<< 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
>> 10
>> findWithin
>> 1
>> 1
>> 54
>> .//option[normalize-space(string(.)) = 'Harvest Moon']
<< 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
>> 2
>> 12
>> selectOption
>> 1
>> 2
<< ok
<< 0
<<
When I select "Harvest Moon" from "pickup-location-id" # features/step_definitions/web_steps.rb:85
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 67
>> ./descendant-or-self::*[contains(normalize-space(.), 'John Smith')]
<< ok
<< 0
<<
>> Find
>> 1
>> 5
>> /html
<< 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
>> 4
>> text
>> 1
>> 3
<< ok
<< 977
<< YOUR COMPANY
AccountLogoutHelp/Support
UPGRADE PLAN
DASHBOARDORDERSMEMBERSLOCATIONSSHARESADD-ONSREPORTSWEBSITE
ORDERS(showing 0 orders)
FILTERING
BULK ACTIONS
SEARCH
Quick Filters:Next DeliveryTodayTomorrowThis WeekNext Week
Delivery Location
Date Range
TO
ALL DATE NAME LOCATION AMOUNT DELIVERY PAYMENT ACTION
Filtering
There are many ways to work with this list of orders, so that you can easily access the info you need. Filter by:
Date Range
Delivery Location
Searching
Bulk Actions
Once you have filtered the list, use that data to easily complete bulk actions, such as:
Mark Delivered
View Fulfillment Counts
Print a Manifest
FIND US ONTWITTERFACEBOOK
© 2011 Seedleaf, LLC. All Rights Reserved.
UPDATES
AUG 15, 2011 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris mi mi, adipiscing ullamcorper ullamcorper nec, mollis eget dolor.
AUG 15, 2011 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris mi mi, adipiscing
View All UpdatesFree Trial
Then I should see "John Smith" # features/step_definitions/web_steps.rb:105
2011-10-06 18:57:50.891 growlnotify[88952:903] could not find local GrowlApplicationBridgePathway, falling back to NSDNC
expected there to be content "John Smith" in "YOUR COMPANY AccountLogoutHelp/Support UPGRADE PLAN DASHBOARDORDERSMEMBERSLOCATIONSSHARESADD-ONSREPORTSWEBSITE ORDERS(showing 0 orders) FILTERING BULK ACTIONS SEARCH Quick Filters:Next DeliveryTodayTomorrowThis WeekNext Week Delivery Location Date Range TO ALL DATE NAME LOCATION AMOUNT DELIVERY PAYMENT ACTION Filtering There are many ways to work with this list of orders, so that you can easily access the info you need. Filter by: Date Range Delivery Location Searching Bulk Actions Once you have filtered the list, use that data to easily complete bulk actions, such as: Mark Delivered View Fulfillment Counts Print a Manifest FIND US ONTWITTERFACEBOOK © 2011 Seedleaf, LLC. All Rights Reserved. UPDATES AUG 15, 2011 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris mi mi, adipiscing ullamcorper ullamcorper nec, mollis eget dolor. AUG 15, 2011 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris mi mi, adipiscing View All UpdatesFree Trial" (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:107:in `/^(?:|I )should see "([^"]*)"$/'
features/admin/orders/filters_orders_by_delivery_location.feature:29:in `Then I should see "John Smith"'
And I should not see "Jane Doe" # features/step_definitions/web_steps.rb:123
>> Reset
>> 0
<< ok
<< 0
<<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment