annotate vendor/behat/mink/CHANGES.md @ 19:fa3358dc1485 tip

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