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

Releases: exozet/behat-utils

0.8.1

20 Feb 12:19
c71d9bf
Compare
Choose a tag to compare

Fixed

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

0.8.0

01 Feb 14:58
889372c
Compare
Choose a tag to compare

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

0.7.1

31 Jan 10:32
Compare
Choose a tag to compare

Fixed

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

0.7.0

03 Dec 12:51
Compare
Choose a tag to compare

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

24 Oct 13:56
d8c483f
Compare
Choose a tag to compare

Added

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

Changed

  • Increase the default waiting interval for the SpinnedMinkSteps from 5 seconds to 15 seconds
  • Changed error msg from "spin"

0.5.0

03 Sep 18:06
a822079
Compare
Choose a tag to compare

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

30 Aug 09:23
e51ca62
Compare
Choose a tag to compare
travis ci support for behat-utils (#5)

0.3.0

10 Aug 11:29
0c2c140
Compare
Choose a tag to compare
  • Added a trait containing steps that help interacting with a website