[meta] Convert remaining tests using Standard profile to use Testing profile instead

Created on 20 March 2022, about 3 years ago
Updated 5 February 2024, about 1 year ago

Problem/Motivation

The start of these changes was in #1373142: Use the Testing profile. Speed up testbot by 50% → and to reducing test time and cost.

Use the testing profile instead of standard where possible. For example some tests just need a bit of configuration setup but do not need the full standard profile.

Steps to reproduce

grep -lr "\$profile = 'standard'" core | nl
     1  core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php
     2  core/profiles/standard/tests/src/FunctionalJavascript/StandardJavascriptTest.php
     3  core/profiles/standard/tests/src/Functional/StandardTest.php
     4  core/modules/config/tests/src/Functional/ConfigImportAllTest.php
     5  core/modules/config_translation/tests/src/Functional/ConfigTranslationInstallTest.php
     6  core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTe
st.php
     7  core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTe
st.php
     8  core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php
     9  core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php
    10  core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php
    11  core/modules/rdf/tests/src/Functional/StandardProfileTest.php
    12  core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php
    13  core/modules/system/tests/src/Functional/Menu/BreadcrumbTest.php
    14  core/modules/system/tests/src/Functional/Common/NoJavaScriptAnonymousTest.php
    15  core/modules/comment/tests/src/Functional/Views/CommentEditTest.php
    16  core/modules/comment/tests/src/Functional/CommentPreviewTest.php
    17  core/modules/help/tests/src/Functional/HelpTest.php
    18  core/modules/workspaces/tests/src/Functional/WorkspacesUninstallTest.php
    19  core/modules/node/tests/src/Functional/NodeTranslationUITest.php
    20  core/modules/node/tests/src/Functional/NodeAccessBaseTableTest.php
    21  core/modules/user/tests/src/FunctionalJavascript/UserPasswordResetTest.php
    22  core/modules/user/tests/src/Functional/UserPictureTest.php

Proposed resolution

Create an issue for each item. If the test cannot be converted note it in the remaining tasks section.

Remaining tasks

Tests to do
None!

Done

Tests that can not be converted

  • core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php
  • core/modules/rdf/tests/src/Functional/StandardProfileTest.php
  • core/profiles/standard/tests/src/FunctionalJavascript/StandardJavascriptTest.php
  • core/profiles/standard/tests/src/Functional/StandardTest.php
  • core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

📌 Task
Status

Fixed

Version

11.0 🔥

Component
PHPUnit  →

Last updated about 5 hours ago

Created by

🇳🇿New Zealand quietone

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024