Problem/Motivation
Because of #3083275: [meta] Update tests that rely on Classy to not rely on it anymore and Classy being deprecated in Drupal 9 + removed in Drupal 10,: Tests that aren't specifically testing Classy yet declare $defaultTheme = 'classy'; should be refactored to use Stark as the default theme instead.
Proposed resolution
Change all tests in this module to use Stark as the default theme, and refactor the tests where needed so they continue to function properly.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | interdiff_2-4.txt | 767 bytes | danflanagan8 |
| #4 | 3269267-4.patch | 2.4 KB | danflanagan8 |
Comments
Comment #2
danflanagan8Just two tests here, but they both take ages to run on my local machine! About 5 minutes each.
There's a nice win here getting to refactor such that we use the AssertBreadcrumbsTrait, which was already made to work with stark in #3248309: AssertBreadcrumbTrait should not rely on Classy.
Comment #4
danflanagan8Hmmm, that passed locally. Looks like maybe I need to remove the backslashes when building the trail when asserting the breadcrumbs. Here's that. Better pass!
Comment #5
danflanagan8Comment #6
danflanagan8Comment #7
danflanagan8Updating priority to Major just like @xjm did for #3248295: Taxonomy tests should not rely on Classy and adding D10 tag.
Comment #8
dwwBefore
After
Review
Patch looks great:
Love it! Way better. Nice trait! Thanks to whoever(s) added that. 😉
✔️ looks good.
Whereas:
Therefore be it resolved: RTBC. 😉
Thanks again @danflanagan8!
Comment #11
catchCommitted/pushed to 10.0.x and cherry-picked to 9.4.x, thanks!