Skip to content

Bump behat/mink from 1.6.1 to 1.7.1 - #7

Open
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/behat/mink-1.7.1
Open

Bump behat/mink from 1.6.1 to 1.7.1#7
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/behat/mink-1.7.1

Conversation

@dependabot-preview

Copy link
Copy Markdown

Bumps behat/mink from 1.6.1 to 1.7.1.

Release notes

Sourced from behat/mink's releases.

1.7.1

Bug fixes:

  • Refactored the CssSelector to use the new API of the Symfony CssSelector component to be compatible with Symfony 3

Testsuite:

  • Disallowed failures on PHP 7 on Travis (tests were passing since a long time)

Driver testsuite:

  • Fixed the driver testsuite to account for driver inheritance when checking recommended practices
  • Added a test for cookie values with semicolon, to ensure all drivers support it
  • Improved the window resize test to consider headless browsers
  • Fixed the compatibility of the testsuite with PHPUnit 5
  • Added a test ensuring that wait() always return a boolean even when the JS expression does not cast the value
  • Added HTML escaping of submitted values in the driver testsuite web-fixtures

Misc:

  • Removed the Mink testsuite from archives generated by Github to make them smaller

1.7.0

New features:

  • Added Session::getResponseHeader to access a response header easily
  • Added support for header assertions
  • Added a forward compatibility layer for drivers to allow them to prepare for Mink 2.0 (they won't require any change if they use it). They should now overwrite CoreDriver::findElementXpaths instead of implementing find and setSession themselves.
  • Added escaping of the locator in the NamedSelector rather than expecting the caller to perform the escaping. Passing an escaped locator is still supported but deprecated.
  • Remove the dependency on the Session in expectation exceptions. Passing the session in the exception constructor is now deprecated. The driver should be passed instead.

Bug fixes:

  • Fixed the URL assertions when comparing paths ending in .php
  • Silenced deprecation warnings (following the Symfony convention) to make them less invasive. Use the symfony/phpunit-bridge to get them reported when using Mink in your PHPUnit tests.
  • Fixed NodeElement::hasClass in case the class attribute contains newlines

Testsuite:

  • Made the testsuite compatible with PHPUnit strict timing mode (only the library testsuite, not the driver one)
  • Added testing against PHP 7
  • Added testing against lowest version of dependencies to ensure we got the lower bounds right

Driver testsuite:

  • Added an extra test to ensure the right behavior when getting the HTML with empty elements
  • Added a few more safeguards to ensure test failures rather than fatal errors for misbehaving drivers
  • Added a test ensuring that drivers follow recommended practices

Misc:

  • Added a few missing deprecation warnings for deprecated APIs or classes.
Changelog

Sourced from behat/mink's changelog.

1.7.1 / 2016-03-05

Bug fixes:

  • Refactored the CssSelector to use the new API of the Symfony CssSelector component to be compatible with Symfony 3

Testsuite:

  • Disallowed failures on PHP 7 on Travis (tests were passing since a long time)

Driver testsuite:

  • Fixed the driver testsuite to account for driver inheritance when checking recommended practices
  • Added a test for cookie values with semicolon, to ensure all drivers support it
  • Improved the window resize test to consider headless browsers
  • Fixed the compatibility of the testsuite with PHPUnit 5
  • Added a test ensuring that wait() always return a boolean even when the JS expression does not cast the value
  • Added HTML escaping of submitted values in the driver testsuite web-fixtures

Misc:

  • Removed the Mink testsuite from archives generated by Github to make them smaller

1.7.0 / 2015-09-20

New features:

  • Added Session::getResponseHeader to access a response header easily
  • Added support for header assertions
  • Added a forward compatibility layer for drivers to allow them to prepare
    for Mink 2.0 (they won't require any change if they use it). They should
    now overwrite CoreDriver::findElementXpaths instead of implementing find
    and setSession themselves.
  • Added escaping of the locator in the NamedSelector rather than expecting
    the caller to perform the escaping. Passing an escaped locator is still
    supported but deprecated.
  • Remove the dependency on the Session in expectation exceptions. Passing
    the session in the exception constructor is now deprecated. The driver
    should be passed instead.

Bug fixes:

  • Fixed the URL assertions when comparing paths ending in .php
  • Silenced deprecation warnings (following the Symfony convention) to make
    them less invasive. Use the symfony/phpunit-bridge to get them reported
    when using Mink in your PHPUnit tests.
  • Fixed NodeElement::hasClass in case the class attribute contains newlines
... (truncated)
Commits
  • e6930b9 Merge pull request #695 from stof/changelog
  • a814638 Update the changelog for 1.7.1
  • 461f115 Merge pull request #694 from aik099/xss-in-testsuite-fix
  • 7b3315a Move out escaping function to central place
  • 232919c Fix an instance of xss
  • fa2216d Merge pull request #693 from aik099/ensure-php7-tests-passes
  • c83d36c Ensure tests run for PHP 7 as well
  • 4b92436 Merge pull request #691 from barryvdh/patch-1
  • ed046aa Merge pull request #688 from minkphp/ensure_wait_boolean
  • 7a302f5 Update .gitattributes
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [behat/mink](https://github.com/minkphp/Mink) from 1.6.1 to 1.7.1.
- [Release notes](https://github.com/minkphp/Mink/releases)
- [Changelog](https://github.com/minkphp/Mink/blob/master/CHANGES.md)
- [Commits](minkphp/Mink@v1.6.1...v1.7.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview Bot added the dependencies Pull requests that update a dependency file label Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant