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
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3275530-2.patch | 20.78 KB | danflanagan8 |
Comments
Comment #2
danflanagan8Some notes on this one, which looks like a bigger patch than it actually is, if you know what I mean.
1.
LanguageBreadcrumbTest
: Refactored to use AssertBreadcrumbTrait, which does not rely on Classy.2.
LanguageSwitchingTest
: Too focused on classes. Added a todo with a followup to change to starterkit.3.
LanguageUILanguageNegotioationTest
: Changed to selecting the branding block by ID instead of class.Everything else is changes from
pageText(Not)Contains
assertions tostatusMessage(Not)Contains
assertions.Comment #4
danflanagan8Clearly a random fail. Back to NR!
Comment #5
larowlanLooks good to me
Comment #6
alexpottCommitted and pushed 446bc5dd42 to 10.0.x and f4a0295868 to 9.5.x and f9e7b7811c to 9.4.x. Thanks!
Comment #10
alexpottI this passes on 9.3.x will merge there too.
Comment #11
alexpottGlad I didn't commit that to 9.3.x.