Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Latest commit

 

History

History
83 lines (71 loc) · 4.33 KB

CHANGELOG.md

File metadata and controls

83 lines (71 loc) · 4.33 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.8.1 - 2019-02-20

Fixed

  • Fix the default JavaScript timeout being too high (was 83 minutes, is now 5 seconds)

0.8.0 - 2019-02-01

Changed

  • Rename the scrolling steps to use "scroll to middle" as the default. #23

Added

  • Add "scrollIntoViewAlignToMiddle" step that allows scrolling such that a given element is at the middle of the viewport

Fixed

  • Fix bug in "scrollIntoView" step that made it scroll to have the element at the bottom of the viewport all the time. #17
  • Fix PHPUnit requirement missing in the composer.json file. #18

0.7.1 - 2019-01-31

Fixed

  • Fix bug in "resizeWindowToResponsiveViewport" step that made the step unusable

0.7.0 - 2018-12-03

Added

  • Add "ConditionSteps" trait for conditional steps that mark tests as "pending" when specific conditions are not met
  • Add "resizeWindowToResponsiveViewport" step that allows resizing the driver's browser windows for a given responsive device type
  • Add "mouseOver" step that allows hovering elements
  • Add "fillFieldWithinDefaultTimeoutUsingJavaScript" step that allows filling input fields within a default timeout using JavaScript
  • Add "activateIFrame" that allows switching the currently active frame to a given iFrame
  • Add spinned version of MinkContext's "assertElementNotContainsText" method
  • Add "HelpUtils" trait for helper functions that can be useful for defining own steps
  • Add "assertJavascriptExpression" method to the "HelpUtils" trait wrapping the wait method of Mink's Session
  • Add "scrolIntoViewAlignToBottom" step that allows scrolling such that a given element is at the bottom of the viewport
  • Add "clickWithinDefaultTimeoutUsingJavaScript" step that allows clicking an element via JavaScript within the default timeout configured
  • Add "assertNotPageAddressWithinSpecifiedTime" and "assertNotPageAddressWithinDefaultTimeout" steps that allow asserting that the driver is not on a given page path

0.6.0 - 2018-10-24

Added

  • Add "openUrl" and "openUrlWithinSpecifiedTime" steps. Both open a url and compares, within a specified time, the current url with the expected one
  • Add "actualTimeIsInSpecifiedTime" step that allows checking whether the current time is in the expected range

Changed

  • Increase the default waiting interval for the SpinnedMinkSteps from 5 seconds to 15 seconds
  • Change error message in the SpinnedMinkSteps to a more descriptive one

0.5.0 - 2018-09-03

Added

  • Add "waitForVisibleMatchingElementsWithinSpecifiedTime" step that allows checking elements' visibility in viewport
  • Add wrapped parameter-less variants of timeout steps using a default timeout. #7

Changed

  • WebsiteInteractionSteps with a timeout now fail correctly when element(s) matching the given selector do not exist. #6
  • Make the English step translations the default by moving them before the German translations. #8
  • Refactor spinning used in SpinnedMinkSteps to produce better error messages on exceptions

0.4.0 - 2018-08-30

Added

  • Add TravisCI support for behat-utils
  • Add "SpinnedMinkSteps" trait for calling default MinkContext steps with a specified timeout

0.3.0 - 2018-08-10

Added

  • Add "WebsiteInteractionSteps" trait for interacting with websites based on DOM elements

Changed

  • Remove unnecessary duplicate "require" from composer.json

0.2.0 - 2017-12-12

Changed

  • Fix typos in JsonApiSteps
  • Pass HTTP headers to POST requests in JsonApiSteps

0.1.0 - 2017-03-27

Added

  • Add "JsonApiSteps" trait for sending, receiving and asserting JSON data