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

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

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

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

    mhoran committed Aug 18, 2014
    …se/capybara-webkit
Commits on Jul 18, 2014
  1. Make Connection#read non-blocking

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

    betelgeuse committed May 2, 2013
    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.
  2. Initial Application Cache Support

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

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

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

    mhoran committed Jul 16, 2014
    * 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.
Commits on Jul 14, 2014
  1. Update README

    mhoran committed Jul 13, 2014
    * 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.
  2. Add deprecation warnings to legacy window methods

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

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

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

    mhoran committed Jul 9, 2014
    * 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.
  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

    mhoran committed Jul 3, 2014
    * 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.
  7. Raise better errors if server fails to start

    mhoran committed Jul 3, 2014
    * 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.
Commits on Jul 3, 2014
  1. Install bundler Gem tasks in bundler namespace

    mhoran committed Jul 3, 2014
    * 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]
Commits on Jul 2, 2014
  1. Release capybara-webkit 2.1.0

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

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

    mhoran committed Jun 30, 2014
    * 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.
  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

    jferris committed with mhoran Jun 18, 2014
    This adds support for the full Capybara 2.3.0 API. There are two known
    incompatibilities:
    
    * 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
Commits on Jul 1, 2014
  1. Fix Connection stderr redirect spec under Qt 5.3

    mhoran committed Jul 1, 2014
    * qDebug behavior has changed in Qt 5.3:
      https://codereview.qt-project.org/#/c/69731/
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

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

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