Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In order to prepare for #2775653: JavascriptTests with webDriver we deprecated http status and header assertion on \Drupal\FunctionalJavascriptTests\JSWebAssert
, see \Drupal\FunctionalJavascriptTests\WebDriverWebAssert
Sadly we missed some
Proposed resolution
Add them as well:
\Behat\Mink\WebAssert::responseHeaderContains
\Behat\Mink\WebAssert::responseHeaderNotContains
\Behat\Mink\WebAssert::responseHeaderMatches
\Behat\Mink\WebAssert::responseHeaderNotMatches
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#4 | phpunit-2928522-3-D8.patch | 2.3 KB | ioana apetri |
Comments
Comment #2
dawehnerComment #3
ioana apetri CreditAttribution: ioana apetri at OPTASY commentedI am going to work on this issue.
Comment #4
ioana apetri CreditAttribution: ioana apetri at OPTASY commentedHello, here is my patch,
Please review.
Comment #5
dawehnerWe need to ensure to update the change record: https://www.drupal.org/node/2857562 should this be done before or after the commit?
Comment #6
larowlanCan be done either, but before preferred.
Comment #7
dawehnerDone
Comment #9
dawehnerRandom failure
Comment #10
larowlanRe-tested
Comment #11
catchComment #12
catchCommitted 4a338bf and pushed to 8.5.x. Thanks!
Comment #14
larowlan