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
BrowserTestBase::getTextContent() wrongly returns the raw content. See the attached "test only" patch.
Proposed resolution
Fix it.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#10 | interdiff-2773389-8-10.txt | 822 bytes | martin107 |
#10 | 2773389-10.patch | 1.33 KB | martin107 |
#8 | interdiff-2-8.txt | 847 bytes | martin107 |
#8 | 2773389-8.patch | 1.33 KB | martin107 |
#2 | 2773389-2.patch | 1.35 KB | claudiu.cristea |
Comments
Comment #2
claudiu.cristeaPatch.
Comment #3
claudiu.cristeaComment #4
claudiu.cristeaComment #6
Eric_A CreditAttribution: Eric_A commentedThis code is in the stable branch.
Comment #7
klausiOnly one minor thing:
use ->assertContains() and ->assertNotContains() instead.
Otherwise makes sense!
Comment #8
martin107 CreditAttribution: martin107 commentedI think the idea behind this issue is good.
BUT From https://www.drupal.org/core/release-cycle-overview
Week of August 3, 2016. 8.2.0-beta1 released and 8.3.x-dev opened.
I suspect this is not a 8.1.x-dev issue anymore.
Comment #9
claudiu.cristeaI think you inverted them :)
Comment #10
martin107 CreditAttribution: martin107 commentedOh crap ... I did ... up is down, down is up :(...
thanks
Comment #12
klausiLooks good! This should go into 8.3.x first, then it is up to the committers to decide whether to cherry pick to the other branches or not.
Comment #13
alexpottGiven that this is a pretty fundamental bug I think we should have this in all branches.
Committed and pushed fdb71536e1f592f52757e14dc7353dbbaaf249f1 to 8.3.x and ae332ad to 8.2.x and 4697702 to 8.1.x. Thanks!