Commits on Oct 1, 2014
  1. added config to filter specs

    committed Oct 1, 2014
Commits on Aug 18, 2014
  1. Release capybara-webkit 1.3.0

    [ci skip]
    mhoran committed Aug 18, 2014
  2. NEWS for capybara-webkit 1.3

    [ci skip]
    mhoran committed Aug 18, 2014
  3. Merge branch 'offline_application_cache' of git://…

    mhoran committed Aug 18, 2014
Commits on Jul 18, 2014
  1. Make Connection#read non-blocking

    * Ensure that Connection#read will not block Timeout::timeout for JRuby
    mhoran committed Jul 18, 2014
Commits on Jul 17, 2014
  1. Use offline app cache support when ./tmp/ exists

    In Rails projects it's a sure bet that tmp exists so this automatically
    covers most people. With the README addition other people know to create
    the directory.
    betelgeuse committed May 2, 2013
  2. Initial Application Cache Support

    Tests passing for a simple application cache support. To be added is
    better handling of the tmp path and resetting testing at least.
    betelgeuse committed May 1, 2013
  3. Make Connection#gets non-blocking

    * JRuby Timeout::timeout blocks on IO#gets. IO.connect blocks as well
      unless running in its own thread.
    mhoran committed Jul 17, 2014
  4. Make FindModal synchronous

    * There's no need to poll for the modal when we have an event loop.
    mhoran committed Jul 16, 2014
  5. Delete pending commands on reset

    * If an exception is raised in the Ruby process, it's possible for Reset
      to be sent to the server while the previous command is still running.
      This ensures that pending commands are stopped when handling Reset.
    mhoran committed Jul 16, 2014
Commits on Jul 14, 2014
  1. Update README

    * Remove deprecated modal and window commands.
    * Document xvfb-run as a way to start an X server.
    * Note that Qt versions greater than 4.8 are supported.
    * Update copyright year.
    mhoran committed with mhoran Jul 13, 2014
  2. Add deprecation warnings to legacy window methods

    * Capybara 2.3 provides a new window API.
    mhoran committed with mhoran Jul 10, 2014
Commits on Jul 13, 2014
  1. Stub Capybara::ModalNotFound for Capybara < 2.4

    * The modal API was introduced in Capybara 2.4, so older versions won't
      follow this code path.
    mhoran committed Jul 10, 2014
  2. Add deprecation warnings to legacy modal methods

    * Our legacy API has been replaced by an upstream API in Capybara 2.4.
    mhoran committed Jul 9, 2014
  3. Don't interact with readonly elements

    * This behavior changed in Capybara 2.4.
    * Previously we would focus and send keypress events to readonly
      elements. Now readonly elements are ignored, and a warning is emitted
      by Capybara.
    mhoran committed Jul 9, 2014
  4. Travis config for Capybara 2.4

    mhoran committed Jul 9, 2014
  5. Add Capybara 2.4 to Appraisals

    mhoran committed Jul 9, 2014
  6. Implement modal (confirm, prompt and alert) API

    * Retain backwards compatibility with legacy capybara-webkit API.
    * Confirm dialogs are accepted by default; dialogs are dismissed.
    * Legacy API overrides the default action, and does not raise errors
      for unexpected modals.
    mhoran committed Jul 3, 2014
  7. Raise better errors if server fails to start

    * When WEBKIT_SERVER_START_TIMEOUT was reached, @port would get set to
      nil. If execution of the SERVER_PROCESS returned immediately, @port
      would get set to 0. This lead to odd cross-platform behavior in
      #connect, which would try to connect to a nonsense port.
    mhoran committed Jul 3, 2014
Commits on Jul 3, 2014
  1. Install bundler Gem tasks in bundler namespace

    * The release task in Bundler >= 1.3.1 depends on the build task, which
      conflicts with our build task, resulting in a webkit_server build
      instead of a gem build.
    [ci skip]
    mhoran committed Jul 3, 2014
Commits on Jul 2, 2014
  1. Release capybara-webkit 2.1.0

    * Capybara 2.3 compatibility.
    * Kill webkit_server when parent process closes stdin.
    mhoran committed Jul 2, 2014
  2. Simplify shutdown logic for Connection

    * Use a QSocketNotifier listening to stdin to determine when the parent
      process has detached.
    mhoran committed with mhoran Jun 30, 2014
  3. Update Travis builds

    * Test Capybara 2.2 and 2.3 compatibility on all platforms.
    * Drop support for Capybara 2.0.
    * Only test Qt 5 on 1.9.3. The C implementation is the same for all Ruby
      versions, so there's no need to test against all platforms.
    mhoran committed Jun 30, 2014
  4. Update Appraisals

    jferris committed with mhoran Jun 27, 2014
  5. Make sure to include QDesktopWidget

    jferris committed with mhoran Jun 27, 2014
  6. Update for Capybara 2.3.0

    This adds support for the full Capybara 2.3.0 API. There are two known
    * Selenium supports outerWidth and outerHeight, which we cannot, because we
      dont' have an actual OS window.
    * Selenium raises errors after interacting with a closed window. We focus the
      next available window after closing.
    This commit adds the following:
    * Implement Driver#close_window
    * Implement Driver#current_window_handle
    * Implement Driver#maximize_window
    * Implement Driver#open_new_window
    * Implement Driver#no_such_window_error
    * Implement Driver#resize_window_to
    * Implement Driver#switch_to_window
    * Implement Driver#window_size
    * Implement Driver#go_back
    * Implement Driver#go_forward
    * Support change events when clearing a text input
    * Support setting contentEditable elements
    * Support window.close() in JavaScript
    * Don't return text from hidden elements
    * Skip Capybara specs which use outerWidth, outerHeight
    * Don't use Qt object ownership to manage windows
    jferris committed with mhoran Jun 18, 2014
Commits on Jul 1, 2014
  1. Fix Connection stderr redirect spec under Qt 5.3

    * qDebug behavior has changed in Qt 5.3:
    mhoran committed Jul 1, 2014
Commits on Feb 14, 2014
Commits on Feb 13, 2014
  1. Ignore .idea directory

    mhoran committed Feb 13, 2014
  2. Qt 5 moved to ubuntu-sdk-team PPA

    * Fixes build issues on Travis
    mhoran committed Feb 13, 2014
  3. This fixes a stderr redirection test on fast machines. The write pipe…

    … was
    getting closed before the redirection thread had a chance to copy it's
    contents into it.
    Alex Kwiatkowski committed with mhoran Feb 13, 2014