This repository has been archived by the owner. It is now read-only.
Permalink
Commits on May 18, 2014
  1. Removed the getter for the SelectorsHandler in the Session

    stof committed Jan 19, 2014
    This allows getting rid of the SelectorsHandler as a collaborator of the
    Session class.
    People needing to access the SelectorsHandler directly should instantiate
    the ElementFinder explicitly with a SelectorsHandler, and keep a reference
    to it.
  2. Moved the search of elements to an ElementFinder

    stof committed Jan 19, 2014
    This extracts the complex logic out of Element::findAll. The logic is
    better encapsulated and this keeps the collaborators of the element to a
    sane number.
    The ElementFactory introduced previously in the refactoring (mostly to
    allow mocking the elements properly after moving the instantiation out of
    the driver) is now gone. the ElementFinder is responsible for
    instantiating the NodeElement.
  3. NamedSelector wasn’t matching buttons by `name` attribute in `link_or…

    aik099 authored and stof committed Jan 14, 2014
    …_button` selector
  4. Decoupled the DriverInterface from the NodeElement

    stof committed Dec 28, 2013
    This avoids a circular dependency. The driver interface now returns an
    array of XPath for found elements, and Element::find() instantiates the
    NodeElement for them.
    The driver is now the low level API which does not depend on any other
    part of Mink (but used by other parts).
  5. Changed the constructor arguments of the elements to their dependencies

    stof committed Dec 28, 2013
    The constructor now receives the driver and the selectors handler instead
    of the session.
  6. Removed the dependency on the session in ElementNotFoundException

    stof committed Dec 28, 2013
    This removes the last usage of the session inside elements.
  7. Moved the escaping of the xpath locator to the NamedSelector

    stof committed Dec 27, 2013
    The NamedSelector has no valid reason to expect receiving an escaped value
    for the XPath locator. Calling code has no reason to know that the locator
    will be inserted in an XPath query.
    The method SelectorsHandler::xpathLiteral has been removed.
    Fixes #384
  8. Removed deprecated features

    stof committed May 10, 2014
  9. Merge pull request #560 from stof/html5_types

    stof committed May 18, 2014
    Added a test using the HTML5 form types
  10. Added a test using the HTML5 form types

    stof committed May 18, 2014
    Closes #527
  11. Merge pull request #559 from stof/manipulator_fix

    stof committed May 18, 2014
    Fixed the XPath prefixing when the query wraps a union in braces
Commits on May 17, 2014
  1. Merge pull request #558 from stof/html5_radio_group

    stof committed May 17, 2014
    Added a test covering the selection of radio groups with HTML5 form attr
  2. Added a test covering the selection of radio groups with HTML5 form attr

    stof committed May 17, 2014
    This ensures that the handling of radio groups works even when the radio
    elements are using the form attribute to be placed outside the form
    itself.
  3. Merge pull request #557 from stof/checkbox_tests

    stof committed May 17, 2014
    Added tests covering the checkbox usage with setValue and getValue
  4. Merge pull request #556 from stof/fix_phpdoc

    stof committed May 17, 2014
    Fixed the phpdoc of setValue as it can also receive an array or a boolean
  5. Merge pull request #555 from stof/select_tests

    stof committed May 17, 2014
    Tests for select boxes
  6. Added the description of the behavior of getValue on option elements

    stof committed May 17, 2014
    NodeElement::selectOption is expecting this behavior, which is indeed
    necessary as the value of an option does not only depend on the value
    attribute.
  7. Moved the test for select options without values to SelectTest

    stof committed May 17, 2014
    Having this test in the JS tests does not make sense. The test does not
    involve any javascript.
  8. Merge pull request #553 from stof/phpdoc

    stof committed May 17, 2014
    Improved the phpdoc of form actions on elements to describe the behavior
  9. Merge pull request #554 from stof/radio_tests

    stof committed May 17, 2014
    Added tests for the handling of radio buttons in the driver suite
Commits on May 16, 2014
  1. Merge pull request #552 from stof/html_doctype

    stof committed May 16, 2014
    Changed the DOCTYPE to html instead of XHTML 1.1 in all fixtures
Commits on May 11, 2014
  1. Merge pull request #546 from stof/rename_escaper_method

    stof committed May 11, 2014
    Renamed the method of the XPath Escaper class to escapeLiteral