Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

[Standup][SF] 08/24/12

Whitney Schaefer
Friday, August 24, 2012

Helps

  • Using asset pipeline outside rails

Correlating debugging errors to source files.

Currently using Sprockets template name in-lined. Any better solutions?

Suggestions:

  • Look at head repo of asset pipline
  • Middleman gem
  • 0 Shares
  • Share on Facebook
  • Share on Twitter

[Standup][SF] 08/23/12: Resqued!

Whitney Schaefer
Thursday, August 23, 2012

Helps

  • Alternatives to css :contains() selector

We use this selector in many tests, for example the ones that require to click on the link of a specific table row:

within "tr:contains('My Line')" do
    click_link "Edit"
end

This selector however is deprecated, and didn’t make it to css3.

Thus, is it safe to use it in tests?

Suggestions

  • Iterate over all the links
  • Put an id on the link
  • Probably not going away (and contains back in if it breaks)
  • Data attribute
  • Xpath – last resort
  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Standup SF 8/22/12 – Database Backup Fun

Whitney Schaefer
Wednesday, August 22, 2012

Helps

  • ActiveRecord::UnknownPrimaryKey error when restoring backup on Heroku

Suggestions:

  • Check foreign key constraints
  • Use pgbackup

  • Taps Server Error: PGError: ERROR: time zone displacement out of range:

Taps Server Error: PGError: ERROR: time zone displacement out of range: “1970-01-01 12:00:00.000000+5857411200″

Suggestions:

  • Use pgbackup
  • 0 Shares
  • Share on Facebook
  • Share on Twitter

[Standup][SF] 08/20/12

Whitney Schaefer
Monday, August 20, 2012

Interestings

  • Capybara/Selenium wait_for_ajax is your friend

A good generic wait until the last AJAX call has returned before moving on to your next assertion. Solved a lot of unstable-in-ci Capybara specs for us

http://agilesoftwaretesting.com/selenium-wait-for-ajax-the-right-way/

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Whitney Schaefer

Whitney Schaefer
San Francisco

Subscribe to Whitney's Feed

Author Topics

agile (4)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >