Skip to content

Instantly share code, notes, and snippets.

@benhoskings
Last active December 12, 2015 03:08
Show Gist options
  • Save benhoskings/4704447 to your computer and use it in GitHub Desktop.
Save benhoskings/4704447 to your computer and use it in GitHub Desktop.
1) Attributions Adding and removing authors for articles
Page: /Users/ben/projects/tc/tc/tmp/capybara/capybara-20130204014413444026000-59566.html
Screenshot: /Users/ben/projects/tc/tc/tmp/capybara/capybara-20130204014413462910000-59566.png
Failure/Error: page.should have_content("You may only select one lead author")
expected there to be content "You may only select one lead author" in "Home\nJobs\nNewsletter\nDonate\nSign out\nDashboard\nGlobal Dashboard\nMiguel Yost\nPrevious versions\nEdit\nPreview\nLayout →\nSend note\nApprovals\nCollaborators\nInvite\nMiguel Yost\nEditor\nx\n \n Lead Author\n \n Author\n Contributor\n Reviewer\n \nJose Quigley\nReviewer\nx\nLesley Jacobs\nLead Author\nDisclosure\n✔ Jose Quigley\nEdit\n✔ Lesley Jacobs\nEdit\nHeadingBoldItalicLinkImageVideo\nFullscreen\nHow To …\nGet Started\nWrite a good article\nWrite a good headline\nFormat your work\nProofread & spellcheck\nSubmit your work\nReadability\n­"
# ./spec/acceptance/editor/attribution_spec.rb:56:in `block (2 levels) in <top (required)>'
# ./spec/support/database_truncation.rb:7:in `call'
# ./spec/support/database_truncation.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/acceptance_enable_delayed_job.rb:5:in `call'
# ./spec/support/acceptance_enable_delayed_job.rb:5:in `block (2 levels) in <top (required)>'
1) Author credentials Add credentials
Page: /Users/ben/projects/tc/tc/tmp/capybara/capybara-20130204014115912366000-59552.html
Screenshot: /Users/ben/projects/tc/tc/tmp/capybara/capybara-20130204014115935150000-59552.png
Failure/Error: autocomplete "code"
Capybara::ElementNotFound:
Unable to find css "ul.ui-autocomplete li:first a"
# (eval):2:in `find'
# ./spec/support/helpers/autocomplete_helper.rb:4:in `autocomplete'
# ./spec/acceptance/author/credentials_spec.rb:78:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/acceptance_helper.rb:34:in `user_and_author'
# ./spec/acceptance/author/credentials_spec.rb:8:in `block (2 levels) in <top (required)>'
# ./spec/support/database_truncation.rb:7:in `call'
# ./spec/support/database_truncation.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/acceptance_enable_delayed_job.rb:5:in `call'
# ./spec/support/acceptance_enable_delayed_job.rb:5:in `block (2 levels) in <top (required)>'
2) Editor cropping images Cropping links
Page: /Users/ben/projects/tc/tc/tmp/capybara/capybara-20130204014446467114000-59552.html
Screenshot: /Users/ben/projects/tc/tc/tmp/capybara/capybara-20130204014446503185000-59552.png
Failure/Error: page.find(".crop-link").click
Selenium::WebDriver::Error::WebDriverError:
unexpected response, code=404, content-type="text/plain"
TypeError - 'undefined' is not a function (evaluating '_getTagName(currWindow).toLowerCase()')
# ./spec/acceptance/editor/cropping_images_spec.rb:37:in `block (2 levels) in <top (required)>'
# ./spec/support/database_truncation.rb:7:in `call'
# ./spec/support/database_truncation.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/acceptance_enable_delayed_job.rb:5:in `call'
# ./spec/support/acceptance_enable_delayed_job.rb:5:in `block (2 levels) in <top (required)>'
3) Page caching Cached pages should be cleared when they are updated
Page: /Users/ben/projects/tc/tc/tmp/capybara/capybara-20130204015112680269000-59552.html
Screenshot: /Users/ben/projects/tc/tc/tmp/capybara/capybara-20130204015112692406000-59552.png
Failure/Error: click_link "Edit Page"
Capybara::ElementNotFound:
no link with title, id or text 'Edit Page' found
# (eval):2:in `click_link'
# ./spec/acceptance/page_caching_spec.rb:31:in `block (3 levels) in <top (required)>'
# ./spec/acceptance/page_caching_spec.rb:30:in `block (2 levels) in <top (required)>'
# ./spec/support/database_truncation.rb:7:in `call'
# ./spec/support/database_truncation.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/acceptance_enable_delayed_job.rb:5:in `call'
# ./spec/support/acceptance_enable_delayed_job.rb:5:in `block (2 levels) in <top (required)>'
4) Commenting on posts Reader commenting
Page: /Users/ben/projects/tc/tc/tmp/capybara/capybara-20130204015159152788000-59552.html
Screenshot: /Users/ben/projects/tc/tc/tmp/capybara/capybara-20130204015159164394000-59552.png
Failure/Error: page.should have_content "logged in via Twitter"
expected there to be content "logged in via Twitter" in "Join the conversation\nComment on this article\n2 Comments\nOldest Newest\nRecommend\nMr Twitter User\nFacebook sucks\nless than a minute ago\nreport\nReply\nRecommend\nDon Alias\nProfessor\nI am probably a troll\nless than a minute ago\nreport\nReply"
# ./spec/acceptance/reader/commenting_spec.rb:146:in `block (4 levels) in <top (required)>'
# ./spec/acceptance/reader/commenting_spec.rb:143:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/acceptance_helper.rb:103:in `with_omniauth_test_mode'
# ./spec/acceptance/reader/commenting_spec.rb:123:in `block (2 levels) in <top (required)>'
# ./spec/support/database_truncation.rb:7:in `call'
# ./spec/support/database_truncation.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/acceptance_enable_delayed_job.rb:5:in `call'
# ./spec/support/acceptance_enable_delayed_job.rb:5:in `block (2 levels) in <top (required)>'
@adamboas
Copy link

adamboas commented Feb 4, 2013

Fixed the editor/attribution_spec #1 in the 3rd group here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment