Problem/Motivation
Part of deprecating Olivero.
There are a few tests that were not done in the other issues.
$ git grep -i olivero | grep -v core/assets | grep -v core/themes/olivero | grep -v phpstan-baseline | grep -i test | grep -vE "\s*(//|#|\*|{\s*#)" | awk -F: '{print $1}' | sort -u
core/modules/comment/tests/src/Functional/CommentDisplayConfigurableTest.php
core/modules/locale/tests/src/Functional/LocaleThemeInstallTest.php
core/modules/search/tests/src/Nightwatch/Tests/Olivero/oliveroRemoveBlockConsoleTest.js
core/modules/search/tests/src/Nightwatch/Tests/Olivero/oliveroSearchFormTest.js
core/modules/search/tests/src/Nightwatch/Tests/Olivero/TestSiteOliveroInstallTestScript.php
core/modules/system/tests/src/Functional/Entity/EntityComputedFieldTest.php
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php
core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php
core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php
Steps to reproduce
Proposed resolution
- core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php
- core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php
- core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php
- core/modules/comment/tests/src/Functional/CommentDisplayConfigurableTest.php
- core/modules/locale/tests/src/Functional/LocaleThemeInstallTest.php
- core/modules/system/tests/src/Functional/Entity/EntityComputedFieldTest.php
Some of these are changed to using Claro. And yes, that will need to be changed but this is to deprecate Olivero, not Claro.
No Change
These will be removed when Search is removed
- core/modules/search/tests/src/Nightwatch/Tests/Olivero/oliveroRemoveBlockConsoleTest.js
- core/modules/search/tests/src/Nightwatch/Tests/Olivero/oliveroSearchFormTest.js
- core/modules/search/tests/src/Nightwatch/Tests/Olivero/TestSiteOliveroInstallTestScript.php
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Comments
Comment #3
quietone commentedComment #4
quietone commentedComment #5
quietone commentedComment #6
nitinkumar_7 commentedOlivero dependencies have been removed from the affected tests while preserving their original test coverage. The dedicated
locale_test_config_langcodetheme is a good approach for testing config language rewriting without depending on Olivero, and the updated MenuRouter assertions correctly use the new default theme.Comment #7
nitinkumar_7 commentedupdated assertions in
CommentDisplayConfigurableTest, MenuRouterTest,and StandardInstallerTest are appropriate and no longer depend on Olivero-specific assets.The affected tests pass as expected.
+1 RTBC.
Comment #8
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #9
quietone commentedComment #10
godotislate@nitinkumar_7 Thanks for reviewing the MR.
Note for future: if you're confident that an MR looks good, please feel free to move the issue directly to RTBC instead of a "+1 RTBC" comment. If you do have minor reservations/caveats about something, but think it should be RTBC'd regardless, "+1 RTBC" works, along with a description of what the concern is. Thanks again!
Comment #11
daffie commentedJust a single question. For the rest it is RTBC for me.
Comment #12
quietone commented@daffie, thanks for spotting that. The default and admin theme should not be the same.
Comment #13
daffie commentedAll changes look good to me.
Fro me it is RTBC.
Comment #14
godotislateSome comments on the MR. Even if Stark does not provide CSS, I think we can be clear about how we're testing theme CSS with Stark being active by making sure there are no theme CSS files at all.
Comment #15
quietone commented@godotislate, thanks, those assertions are much better.
Comment #16
godotislatelgtm
Comment #17
quietone commentedComment #19
gábor hojtsyThe 2 more mentions I found are minor, so RTBC remains I think :)
Comment #20
catchCommitted/pushed to main, thanks!
Moving to 11.x for backport.
Comment #23
quietone commentedMade an 11.x MR. That include adding the IgnoreDeprecations attribute to a few Migrate Kernel tests. I think it is best to keep those testing using olivero instead of trying to change it to something else.
Comment #24
daffie commentedAll changes look good to me.
Comment #26
larowlanCommitted and pushed cadfbb390fc to 11.x. Thanks!