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.
Usually we do one module at a time, but these modules are closely related and have relatively little dependence on classy.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3269517-2.patch | 11.79 KB | danflanagan8 |
Comments
Comment #2
danflanagan8The necessary changes in datetime and datetime_range are very similar. Mostly removing
class="datetime"from a number of assertions.Comment #3
danflanagan8Updating priority to Major just like @xjm did for #3248295: Taxonomy tests should not rely on Classy and adding D10 tag.
Comment #4
dwwBefore
After
Review
Patch looks great:
Almost every change of substance in this patch is like this. We simply remove
class="datetime"from what we're expecting. But everything is already targeting a<time>with the expecteddatetimeattribute, so we don't also need theclassfor anything.This is the only other type of change. Seems like a perfectly acceptable step sidewise in specificity.
Resolution
Whereas:
Therefore be it resolved: RTBC. 😉
Thanks yet again @danflanagan8!
Comment #6
catchCommitted/pushed to 10.0.x and cherry-picked to 9.4.x, thanks!