From 4cc502ffa1ba01f26074674a107ce47aa3e4bcbc Mon Sep 17 00:00:00 2001
From: Dave Long <dave@longwaveconsulting.com>
Date: Fri, 22 Dec 2023 18:36:47 +0000
Subject: [PATCH] Issue #3410452 by catch: Add @group #slow to more tests

---
 .../tests/src/Functional/ModerationLocaleTest.php                | 1 +
 .../tests/src/Functional/ModerationStateNodeTest.php             | 1 +
 .../tests/src/Functional/ModerationStateNodeTypeTest.php         | 1 +
 .../tests/src/Functional/ViewsModerationStateFilterTest.php      | 1 +
 .../tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php      | 1 +
 .../tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php      | 1 +
 core/modules/image/tests/src/Functional/ImageAdminStylesTest.php | 1 +
 .../modules/image/tests/src/Functional/ImageFieldDisplayTest.php | 1 +
 .../image/tests/src/Functional/ImageFieldValidateTest.php        | 1 +
 .../tests/src/FunctionalJavascript/OptionsFieldUITest.php        | 1 +
 core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php   | 1 +
 .../Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php     | 1 +
 12 files changed, 12 insertions(+)

diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php
index e13127cb72ab..3e264f24fbfe 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php
@@ -8,6 +8,7 @@
  * Test content_moderation functionality with localization and translation.
  *
  * @group content_moderation
+ * @group #slow
  */
 class ModerationLocaleTest extends ModerationStateTestBase {
 
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php
index 6b39d4ea67f4..cdaeae93a482 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php
@@ -9,6 +9,7 @@
  * Tests general content moderation workflow for nodes.
  *
  * @group content_moderation
+ * @group #slow
  */
 class ModerationStateNodeTest extends ModerationStateTestBase {
 
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php
index 66b22ab3901e..437242af15e3 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php
@@ -6,6 +6,7 @@
  * Tests moderation state node type integration.
  *
  * @group content_moderation
+ * @group #slow
  */
 class ModerationStateNodeTypeTest extends ModerationStateTestBase {
 
diff --git a/core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php b/core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php
index bc5cbb56a82f..cdaae0d2e41f 100644
--- a/core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php
@@ -14,6 +14,7 @@
  * @coversDefaultClass \Drupal\content_moderation\Plugin\views\filter\ModerationStateFilter
  *
  * @group content_moderation
+ * @group #slow
  */
 class ViewsModerationStateFilterTest extends ViewTestBase {
 
diff --git a/core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php b/core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php
index f8ba9e6f9b61..fa0303026fdc 100644
--- a/core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php
+++ b/core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php
@@ -10,6 +10,7 @@
  * The test method is provided by the MigrateUpgradeTestBase class.
  *
  * @group forum
+ * @group #slow
  */
 class Upgrade6Test extends MigrateUpgradeExecuteTestBase {
 
diff --git a/core/modules/forum/tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php b/core/modules/forum/tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php
index df6180b495d4..2ff0f78bd4e6 100644
--- a/core/modules/forum/tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php
+++ b/core/modules/forum/tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php
@@ -10,6 +10,7 @@
  * The test method is provided by the MigrateUpgradeTestBase class.
  *
  * @group forum
+ * @group #slow
  */
 class Upgrade7Test extends MigrateUpgradeExecuteTestBase {
 
diff --git a/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php b/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
index d62f0a0e3d94..e0c9e671f51c 100644
--- a/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
+++ b/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
@@ -15,6 +15,7 @@
  * Tests creation, deletion, and editing of image styles and effects.
  *
  * @group image
+ * @group #slow
  */
 class ImageAdminStylesTest extends ImageFieldTestBase {
 
diff --git a/core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php b/core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
index 6517f377319f..8cef396210f5 100644
--- a/core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
+++ b/core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
@@ -15,6 +15,7 @@
  * Tests the display of image fields.
  *
  * @group image
+ * @group #slow
  */
 class ImageFieldDisplayTest extends ImageFieldTestBase {
 
diff --git a/core/modules/image/tests/src/Functional/ImageFieldValidateTest.php b/core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
index b426730dd7f1..e7444aa0059c 100644
--- a/core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
+++ b/core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
@@ -9,6 +9,7 @@
  * Tests validation functions such as min/max dimensions.
  *
  * @group image
+ * @group #slow
  */
 class ImageFieldValidateTest extends ImageFieldTestBase {
 
diff --git a/core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUITest.php b/core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUITest.php
index ad7967369bfc..02c099fcbe50 100644
--- a/core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUITest.php
+++ b/core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUITest.php
@@ -13,6 +13,7 @@
  * Tests the Options field UI functionality.
  *
  * @group options
+ * @group #slow
  */
 class OptionsFieldUITest extends WebDriverTestBase {
 
diff --git a/core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php b/core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php
index 4be6b94fa0f8..2b85faaf72ae 100644
--- a/core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php
@@ -9,6 +9,7 @@
  * Tests the theme UI.
  *
  * @group Theme
+ * @group #slow
  */
 class ThemeUiTest extends BrowserTestBase {
 
diff --git a/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php b/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
index 0e0f772a3cb7..83a025b54e77 100644
--- a/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
+++ b/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
@@ -11,6 +11,7 @@
  * Tests the update path base class.
  *
  * @group Update
+ * @group #slow
  */
 class UpdatePathTestBaseTest extends UpdatePathTestBase {
 
-- 
GitLab