PageRenderTime 48ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 1ms

/vendor/behat/mink/CHANGES.md

https://gitlab.com/reasonat/test8
Markdown | 322 lines | 239 code | 83 blank | 0 comment | 0 complexity | f300a2a91c22645f3183a377263c5f4a MD5 | raw file
  1. 1.7.1 / 2016-03-XX
  2. ==================
  3. Bug fixes:
  4. * Refactored the CssSelector to use the new API of the Symfony CssSelector component to be compatible with Symfony 3
  5. Testsuite:
  6. * Disallowed failures on PHP 7 on Travis (tests were passing since a long time)
  7. Driver testsuite:
  8. * Fixed the driver testsuite to account for driver inheritance when checking recommended practices
  9. * Added a test for cookie values with semicolon, to ensure all drivers support it
  10. * Improved the window resize test to consider headless browsers
  11. * Fixed the compatibility of the testsuite with PHPUnit 5
  12. * Added a test ensuring that `wait()` always return a boolean even when the JS expression does not cast the value
  13. * Added HTML escaping of submitted values in the driver testsuite web-fixtures
  14. Misc:
  15. * Removed the Mink testsuite from archives generated by Github to make them smaller
  16. 1.7.0 / 2015-09-20
  17. ==================
  18. New features:
  19. * Added `Session::getResponseHeader` to access a response header easily
  20. * Added support for header assertions
  21. * Added a forward compatibility layer for drivers to allow them to prepare
  22. for Mink 2.0 (they won't require any change if they use it). They should
  23. now overwrite `CoreDriver::findElementXpaths` instead of implementing `find`
  24. and `setSession` themselves.
  25. * Added escaping of the locator in the NamedSelector rather than expecting
  26. the caller to perform the escaping. Passing an escaped locator is still
  27. supported but deprecated.
  28. * Remove the dependency on the Session in expectation exceptions. Passing
  29. the session in the exception constructor is now deprecated. The driver
  30. should be passed instead.
  31. Bug fixes:
  32. * Fixed the URL assertions when comparing paths ending in ``.php``
  33. * Silenced deprecation warnings (following the Symfony convention) to make
  34. them less invasive. Use the `symfony/phpunit-bridge` to get them reported
  35. when using Mink in your PHPUnit tests.
  36. * Fixed `NodeElement::hasClass` in case the class attribute contains newlines
  37. Testsuite:
  38. * Made the testsuite compatible with PHPUnit strict timing mode (only the library testsuite, not the driver one)
  39. * Added testing against PHP 7
  40. * Added testing against lowest version of dependencies to ensure we got the lower bounds right
  41. Driver testsuite:
  42. * Added an extra test to ensure the right behavior when getting the HTML with empty elements
  43. * Added a few more safeguards to ensure test failures rather than fatal errors for misbehaving drivers
  44. * Added a test ensuring that drivers follow recommended practices
  45. Misc:
  46. * Added a few missing deprecation warnings for deprecated APIs or classes.
  47. 1.6.1 / 2015-02-04
  48. ==================
  49. Bug fixes:
  50. * Added a check for empty path in `WebAssert::cleanUrl()`
  51. Driver testsuite:
  52. * Added an extra test to ensure the right behavior for traversal
  53. Misc:
  54. * Changed the description in the composer.json
  55. * Switched the repository structure to use PSR-4
  56. * Updated URLs for the move to the new Github organization
  57. 1.6.0 / 2014-09-26
  58. ==================
  59. * [BC break] Changed the named selector to prefer exact matches over partial matches
  60. * [BC break] Changed `NodeElement::getValue` for checkboxes to return the value rather than the checked state (use `isChecked` for that)
  61. * Fixed the XPath prefixing when searching inside an existing element
  62. * Refactored the driver testsuite entirely and expand it to cover drivers entirely (covering many more cases for consistency)
  63. * Changed `NodeElement::setValue` to support any fields rather than only input elements
  64. * Removed the wrapping of any driver-level exception in a MinkException on invalid usage as it was making the code too complex
  65. * Fixed the matching of the input type in the named selector to be case insensitive according to the HTML spec
  66. * Introduced `Behat\Mink\Selector\Xpath\Escaper` to allow reusing the XPath escaping
  67. * Deprecated `Element::getSession`. Code needing the session should get it from outside rather than the element
  68. * Changed ElementNotFoundException to extend from ExpectationException
  69. * Added `Element::getOuterHtml` to get the HTML code of the element including itself
  70. * Fixed the name selectors to match on the `placeholder` only for textual inputs
  71. * Enforced consistent behavior for drivers on 4xx and 5xx response to return the response rather than throwing an exception
  72. * Added `Element::waitFor` to allow retrying some code until it succeeds or the timeout is reached
  73. * Added `Element::isValid` to check whether an element still exists in the page
  74. * Made `Session::executeScript` compatible across drivers by ensuring they all support the same syntaxes for the JS expression
  75. * Made `Session::evaluateScript` compatible across drivers by ensuring they all support the same syntaxes for the JS expression
  76. * Removed `hasClass` from `DocumentElement` (instead of triggering a fatal error)
  77. * Added testing on HHVM to ensure consistency
  78. * Fixed `NodeElement::getTagName` to ensure that the tag name is lowercase for all drivers
  79. * Fixed `Element::hasAttribute` to ensure it supports attributes with an empty value
  80. * Fixed the `field` selector to avoid matching inputs with the type `submit` or `reset`
  81. * Changed the button XPath selection to accept `reset` buttons as well
  82. * Changed `Session::wait` to return the condition value rather than nothing
  83. * Added `Session::getWindowName` and `Session::getWindowNames` to get the name of the current and of all windows
  84. * Added `Session::maximizeWindow` to maximize the window
  85. * Added `NodeElement::isSelected` to check whether an `<option>` is selected
  86. * Added `NodeElement::submitForm` to allow submitting a form without using a button
  87. * Added assertions about the value of an attribute
  88. * Added the anchor in the assertion on the URL in `WebAssert`
  89. 1.5.0 / 2013-04-14
  90. ==================
  91. * Add `CoreDriver` to simplify future drivers improvements
  92. * Add `Mink::isSessionStarted()` method
  93. * Fix multibite string `preg_replace` bugs
  94. * Fix handling of whitespaces in `WebAssert::pageText...()` methods
  95. 1.4.3 / 2013-03-02
  96. ==================
  97. * Bump dependencies constraints
  98. 1.4.2 / 2013-02-13
  99. ==================
  100. * Fix wrong test case to ensure that core drivers work as expected
  101. 1.4.1 / 2013-02-10
  102. ==================
  103. * Update dependencies
  104. * Add ElementException to element actions
  105. * Rel attribute support for named selectors
  106. * Add hasClass() helper to traversable elements
  107. * Add getScreenshot() method to session
  108. * Name attr support in named selector for button
  109. * Fix for bunch of bugs
  110. 1.4.0 / 2012-05-40
  111. ==================
  112. * New `Session::selectWindow()` and `Session::selectIFrame()` methods
  113. * New built-in `WebAssert` class
  114. * Fixed DocBlocks (autocompletion in any IDE now should just work)
  115. * Moved Behat-related code into `Behat\MinkExtension`
  116. * Removed PHPUnit test case class
  117. * Updated composer dependencies to not require custom repository anymore
  118. * All drivers moved into separate packages
  119. 1.3.3 / 2012-03-23
  120. ==================
  121. * Prevent exceptions in `__toString()`
  122. * Added couple of useful step definitions for Behat
  123. * Fixed issues #168, #211, #212, #208
  124. * Lot of small bug fixes and improvements
  125. * Fixed dependencies and composer installation routine
  126. 1.3.2 / 2011-12-21
  127. ==================
  128. * Fixed webdriver registration in MinkContext
  129. 1.3.1 / 2011-12-21
  130. ==================
  131. * Fixed Composer package
  132. 1.3.0 / 2011-12-21
  133. ==================
  134. * Brand new Selenium2Driver (webdriver session)
  135. * Multiselect bugfixes
  136. * ZombieDriver back in the business
  137. * Composer now manages dependencies
  138. * Some MinkContext steps got fixes
  139. * Lots of bug fixes and cleanup
  140. 1.2.0 / 2011-11-04
  141. ==================
  142. * Brand new SeleniumDriver (thanks @alexandresalome)
  143. * Multiselect support (multiple options selection), including new Behat steps
  144. * Ability to select option by it's text (in addition to value)
  145. * ZombieDriver updates
  146. * Use SuiteHooks to populate parameters (no need to call parent __construct anymore)
  147. * Updated Goutte and all vendors
  148. * Lot of bugfixes and new tests
  149. 1.1.1 / 2011-08-12
  150. ==================
  151. * Fixed Zombie.js server termination on Linux
  152. * Fixed base_url usage for external URLs
  153. 1.1.0 / 2011-08-08
  154. ==================
  155. * Added Zombie.js driver (thanks @b00giZm)
  156. * Added pt translation (thanks Daniel Gomes)
  157. * Refactored MinkContext and MinkTestCase
  158. 1.0.3 / 2011-08-02
  159. ==================
  160. * File uploads for empty fields fixed (GoutteDriver)
  161. * Lazy sessions restart
  162. * `show_tmp_dir` option in MinkContext
  163. * Updated to stable Symfony2 components
  164. * SahiClient connection limit bumped to 60 seconds
  165. * Dutch language support
  166. 1.0.2 / 2011-07-22
  167. ==================
  168. * ElementHtmlException fixed (thanks @Stof)
  169. 1.0.1 / 2011-07-21
  170. ==================
  171. * Fixed buggy assertions in MinkContext
  172. 1.0.0 / 2011-07-20
  173. ==================
  174. * Added missing tests for almost everything
  175. * Hude speedup for SahiDriver
  176. * Support for Behat 2.0 contexts
  177. * Bundled PHPUnit TestCase
  178. * Deep element traversing
  179. * Correct behavior of getText() method
  180. * New getHtml() method
  181. * Basic HTTP auth support
  182. * Soft and hard session resetting
  183. * Cookies management
  184. * Browser history interactions (reload(), back(), forward())
  185. * Weaverryan'd exception messages
  186. * Huge amount of bugfixes and small additions
  187. 0.3.2 / 2011-06-20
  188. ==================
  189. * Fixed file uploads in Goutte driver
  190. * Fixed setting of long texts into fields
  191. * Added getPlainText() (returns text without tags and whitespaces) method to the element's API
  192. * Start_url is now optional parameter
  193. * Default session (if needed) name now need to be always specified by hands with setDefaultSessionName()
  194. * default_driver => default_session
  195. * Updated Symfony Components
  196. 0.3.1 / 2011-05-17
  197. ==================
  198. * Small SahiClient update (it generates SID now if no provided)
  199. * setActiveSessionName => setDefaultSessionName method rename
  200. 0.3.0 / 2011-05-17
  201. ==================
  202. * Rewritten from scratch Mink drivers handler. Now it's sessions handler. And Mink now
  203. sessions-centric tool. See examples in readme. Much cleaner API now.
  204. 0.2.4 / 2011-05-12
  205. ==================
  206. * Fixed wrong url locator function
  207. * Fixed wrong regex in `should see` step
  208. * Fixed delimiters use in `should see` step
  209. * Added url-match step for checking urls against regex
  210. 0.2.3 / 2011-05-01
  211. ==================
  212. * Updated SahiClient with new version, which is faster and cleaner with it's exceptions
  213. 0.2.2 / 2011-05-01
  214. ==================
  215. * Ability to use already started browser as SahiDriver aim
  216. * Added japanese translation for bundled steps (thanks @hidenorigoto)
  217. * 10 seconds limit for browser connection in SahiDriver
  218. 0.2.1 / 2011-04-21
  219. ==================
  220. * Fixed some bundled step definitions
  221. 0.2.0 / 2011-04-21
  222. ==================
  223. * Additional step definitions
  224. * Support for extended drivers configuration through behat.yml environment parameters
  225. * Lots of new named selectors
  226. * Bug fixes
  227. * Small improvements
  228. 0.1.2 / 2011-04-08
  229. ==================
  230. * Fixed Sahi url escaping
  231. 0.1.1 / 2011-04-06
  232. ==================
  233. * Fixed should/should_not steps
  234. * Added spanish translation
  235. * Fixed forms to use <base> element
  236. * Fixed small UnsupportedByDriverException issue
  237. 0.1.0 / 2011-04-04
  238. ==================
  239. * Initial release