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.
See #2735005: Convert all Simpletest web tests to BrowserTestBase (or UnitTestBase/KernelTestBase)
Postponed on
Needs partial conversion to JavaScriptTestBase: #2809481: Convert AJAX part of \Drupal\editor\Tests\EditorAdminTest to JavascriptTestBase
Tests do be converted:
\Drupal\editor\Tests\EditorLoadingTest
\Drupal\editor\Tests\EditorSecurityTest
\Drupal\editor\Tests\EditorUploadImageScaleTest
\Drupal\editor\Tests\QuickEditIntegrationLoadingTest
Comment | File | Size | Author |
---|---|---|---|
#21 | interdiff-17-21.txt | 2.49 KB | Tess Bakker |
#21 | 2870443-21.patch | 22.49 KB | Tess Bakker |
Comments
Comment #2
michielnugter CreditAttribution: michielnugter as a volunteer and at Synetic commentedComment #3
michielnugter CreditAttribution: michielnugter as a volunteer and at Synetic commentedComment #4
michielnugter CreditAttribution: michielnugter as a volunteer and at Synetic commentedComment #5
dawehnerComment #6
michielnugter CreditAttribution: michielnugter as a volunteer and at Synetic commentedComment #8
claudiu.cristeaThis is blocked on #2795041: BrowserTestBase: Add drupalPostWithFormat because of EditorSecurityTest test.
Comment #10
nlisgo CreditAttribution: nlisgo commentedSince #2795041: BrowserTestBase: Add drupalPostWithFormat is closed (won't fix) I am switching this back to active.
Comment #11
Lendudefirst roll, just moving stuff around and fixing node element stuff.
This will fail on the ajaxy stuff.
Comment #13
Lendudeand now rolled against 8.6.x
Comment #14
LendudeComment #16
Tess BakkerComment #17
Tess BakkerNew patch with changes to work with BrowserTestBase.
Done:
* Fixed all the "ajax/post" calls
* replaced t() with FormattableMarkup() when needed
* few other minor changes
Comment #18
Tess BakkerComment #19
Tess BakkerComment #20
Lendude@Tessa Bakker this is looking really good already, just some nits:
unused use
unused use
this needs a docblock
two tests with two different ways of setting the needed cookies, can we do this in one consistent way?
Comment #21
Tess BakkerThanks for the review!
Comment #22
dawehnerThis looks great!
This is already so much nicer!
Should we create a follow up to make this process easier for people? Maybe it would it be worth to moving this to BrowserTestBase?
Comment #23
LendudeYeah this looks great.
Totally agree on the follow up, #2983504: Add a way to easily set the cookies in a request done using the Guzzle client
Comment #24
alexpottCrediting reviewers and @michielnugter for the original issue creation / management.
Committed 0b8ffb4 and pushed to 8.6.x. Thanks!