public
Created

Debug log for problem with 'has_content?' not matching

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
<< 13
<< 1,2,3,4,5,6,7
>> Find
>> 1
>> 662
>> .//a[./@href][(((./@id = 'Sign in to Facebook' or normalize-space(string(.)) = 'Sign in to Facebook') or ./@title = 'Sign in to Facebook') or .//img[./@alt = 'Sign in to Facebook'])] | .//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'Sign in to Facebook' or ./@value = 'Sign in to Facebook') or ./@title = 'Sign in to Facebook')] | .//input[./@type = 'image'][./@alt = 'Sign in to Facebook'] | .//button[(((./@id = 'Sign in to Facebook' or ./@value = 'Sign in to Facebook') or normalize-space(string(.)) = 'Sign in to Facebook') or ./@title = 'Sign in to Facebook')] | .//input[./@type = 'image'][./@alt = 'Sign in to Facebook']
<< ok
<< 1
<< 8
>> Node
>> 2
>> 7
>> visible
>> 1
>> 8
<< ok
<< 4
<< true
>> Node
>> 2
>> 5
>> click
>> 1
>> 8
<< ok
<< 0
<<
>> Find
>> 1
>> 97
>> ./descendant-or-self::*[contains(normalize-space(.), 'Log in to use your Facebook account with')]
<< ok
<< 0
<<
>> Find
>> 1
>> 5
>> /html
<< ok
<< 1
<< 1
>> Node
>> 2
>> 7
>> visible
>> 1
>> 1
<< ok
<< 4
<< true
>> Node
>> 2
>> 4
>> text
>> 1
>> 1
<< ok
<< 520
<<
Sign UpFacebook helps you connect and share with the people in your life.
Facebook Login
Log in to use your Facebook account with Facebook App Capybara.
Email:
Password:
 
Keep me logged in
or Sign up for Facebook
Forgot your password?
English (US)EspañolPortuguês (Brasil)Français (France)DeutschItalianoالعربيةहिन्दी中文(简体)日本語…
Facebook © 2011
Mobile · Find Friends · Badges · People · Pages · About · Advertising · Create a Page · Developers · Careers · Privacy · Terms · Help
>> Reset
>> 0
<< ok
<< 0
<<

1) My Test Spec
Failure/Error: fill_in_facebook_login_form :with => facebook_user_with_pages
expected there to be content "Log in to use your Facebook account with" in "Sign UpFacebook helps you connect and share with the people in your life. Facebook Login Log in to use your Facebook account with Facebook App Capybara. Email: Password: Keep me logged in or Sign up for Facebook Forgot your password? English (US)EspañolPortuguês (Brasil)Français (France)DeutschItalianoالعربيةहिन्दी中文(简体)日本語… Facebook © 2011 Mobile · Find Friends · Badges · People · Pages · About · Advertising · Create a Page · Developers · Careers · Privacy · Terms · Help"
# ./spec/support/prefork/facebook.rb:81:in `fill_in_facebook_login_form'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.