Skip to content
  • Rebecca Blundell's avatar
    Bug 1897190: Improve behat properties file structure · 3f82f722
    Rebecca Blundell authored and Robert Lyon's avatar Robert Lyon committed
    rewrite properties file and functions to make structure
    easier to manage:
    - add multiple arrays to split up properties by category
    - modernise PHP syntax to use array constants
    - fix location option to work properly
    - remove need for xpath/css to be specified in arrays,
    by adding set_selector_type()
    - remove unused function and add others as required
    - update tests to call properties, not css/xpath
    - add check for null return from  get_property() and
    throw ExpectationException for property if null
    
    Change-Id: If64a5a1ed1a572b8eadcf91dd9f7a87bcf621d7c
    3f82f722