Permalink
Commits on Jan 11, 2010
  1. Tagged 0.3.0

    jnicklas committed Jan 11, 2010
  2. Removed brittle driver spec

    jnicklas committed Jan 11, 2010
  3. Edge cases for links and buttons

    Links with anchors, without hrefs, forms without
    action.
    jnicklas committed Jan 11, 2010
  4. Gracefully handle infinite redirects

    Under rack-test at least. Generalizing this to
    all drivers failed miserably.
    jnicklas committed Jan 11, 2010
  5. Prefer exact matches over partial, links & buttons

    This aligns links and buttons with the behaviour
    of fields for more consistent behaviour
    jnicklas committed Jan 11, 2010
  6. Added Louis T. to contributors

    jnicklas committed Jan 11, 2010
  7. refactored XPath

    jnicklas committed Jan 11, 2010
Commits on Jan 8, 2010
Commits on Jan 7, 2010
  1. Properly set content type of uploaded file

    Uses MIME::Types library to guess the content type
    jnicklas committed Jan 7, 2010
  2. Wrote failing specs which highlights missing content-type with rack t…

    …est driver
    
    Don't know if this could have been written any better, guess it can as
    this is my first "deep" look into Capybara. The problem is found in the
    Capybara::Driver::RackTest; it doesn't forward the content type of the
    file being uplloaded to Rack::Test::UploadedFile.new. UploadFile's
    initializer sets the content type to text/plain as a default.
    
    This will make for instance Paperclip's attachment validation fail when
    testing with Cucumber and Capybara even though we are uploading a type
    which should pass.
    thhermansen committed with jnicklas Jan 6, 2010
Commits on Jan 6, 2010
Commits on Jan 4, 2010
  1. updated manifest

    jnicklas committed Jan 4, 2010
  2. Update Manifest.txt

    remogatto committed Jan 4, 2010
Commits on Jan 1, 2010
  1. Differentiate between source and body

    source returns the unmodified page source
    body returns the current dom html
    jnicklas committed Jan 1, 2010
  2. More Whitespace!

    jnicklas committed Jan 1, 2010
  3. Added @celerity tag for cucumber

    jnicklas committed Jan 1, 2010
  4. Whitespace!

    jnicklas committed Jan 1, 2010
Commits on Dec 31, 2009
  1. Session#locate - return node identified by locator or raise ElementNo…

    …tFound(using desc)
    
    - Replaced usage of wait_for with locate.
    - wait_until back to raising error instead of returning false (This is key)
    - wait_for_condition removed
    
    Capybara::Session with culerity driver#wait_until
    - should wait for block to return true
    - should raise Capybara::TimeoutError if block doesn't return true within timeout
    - should accept custom timeout in seconds
    - should default to Capybara.default_wait_time before timeout
    
    Capybara::Session with culerity driver#locate
    - should find the first element using the given locator
    - should raise ElementNotFound with specified fail message if nothing was found
    - should accept an XPath instance and respect the order of paths
    
    Capybara::Session with culerity driver#locate within a scope
    - should find the first element using the given locator
    
    Capybara::Session with culerity driver#locate
    - should wait for asynchronous load
    Lenny Marks committed Dec 31, 2009
  2. Provides timeout similar to standard library Timeout, but avoids threads

    Capybara::WaitUntil
    - should return result of yield if it returns true value within timeout
    - should keep trying within timeout
    - should raise Capybara::TimeoutError if block fails to return true within timeout
    Lenny Marks committed Dec 31, 2009
  3. DSL was missing new has_no_* methods causing spec failures. Added #lo…

    …cate
    Lenny Marks committed Dec 31, 2009
  4. Capybara#default_wait_time

    Capybara default_wait_time
    - should default to 2 seconds
    - should be changeable
    Lenny Marks committed Dec 31, 2009
Commits on Dec 30, 2009