diff --git a/core/modules/field/tests/src/Functional/String/StringFieldTest.php b/core/modules/field/tests/src/Functional/FunctionalString/StringFieldTest.php
similarity index 98%
rename from core/modules/field/tests/src/Functional/String/StringFieldTest.php
rename to core/modules/field/tests/src/Functional/FunctionalString/StringFieldTest.php
index ae8741b7205ca6a43b6ac88ccc704aa0a7cbf56a..f7f9f0f9af7032d0ae4e8ace2437094303e16e39 100644
--- a/core/modules/field/tests/src/Functional/String/StringFieldTest.php
+++ b/core/modules/field/tests/src/Functional/FunctionalString/StringFieldTest.php
@@ -1,6 +1,6 @@
 <?php
 
-namespace Drupal\Tests\field\Functional\String;
+namespace Drupal\Tests\field\Functional\FunctionalString;
 
 use Drupal\Component\Render\FormattableMarkup;
 use Drupal\entity_test\Entity\EntityTest;
diff --git a/core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php b/core/modules/field/tests/src/Kernel/KernelString/RawStringFormatterTest.php
similarity index 98%
rename from core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
rename to core/modules/field/tests/src/Kernel/KernelString/RawStringFormatterTest.php
index 1f07902108ff3e60cea979010baa91f9743fb0f5..7bdaba59564717d53240b4b27edee70328f3bb71 100644
--- a/core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
+++ b/core/modules/field/tests/src/Kernel/KernelString/RawStringFormatterTest.php
@@ -1,6 +1,6 @@
 <?php
 
-namespace Drupal\Tests\field\Kernel\String;
+namespace Drupal\Tests\field\Kernel\KernelString;
 
 use Drupal\Component\Utility\Html;
 use Drupal\Core\Entity\Display\EntityViewDisplayInterface;
diff --git a/core/modules/field/tests/src/Kernel/String/StringFormatterTest.php b/core/modules/field/tests/src/Kernel/KernelString/StringFormatterTest.php
similarity index 99%
rename from core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
rename to core/modules/field/tests/src/Kernel/KernelString/StringFormatterTest.php
index a01cd6a8f5d71a5bd4838ffbe527e2c6453dcf1b..94878dbd12754d63d523640eda1415401b449514 100644
--- a/core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
+++ b/core/modules/field/tests/src/Kernel/KernelString/StringFormatterTest.php
@@ -1,6 +1,6 @@
 <?php
 
-namespace Drupal\Tests\field\Kernel\String;
+namespace Drupal\Tests\field\Kernel\KernelString;
 
 use Drupal\Component\Utility\Html;
 use Drupal\Core\Entity\Display\EntityViewDisplayInterface;
diff --git a/core/modules/field/tests/src/Kernel/String/UuidFormatterTest.php b/core/modules/field/tests/src/Kernel/KernelString/UuidFormatterTest.php
similarity index 97%
rename from core/modules/field/tests/src/Kernel/String/UuidFormatterTest.php
rename to core/modules/field/tests/src/Kernel/KernelString/UuidFormatterTest.php
index fa37b11d6c4899724b90ea862f7ac5349d26f06d..8346a41480185b7f9810e7ae3295befd45904d19 100644
--- a/core/modules/field/tests/src/Kernel/String/UuidFormatterTest.php
+++ b/core/modules/field/tests/src/Kernel/KernelString/UuidFormatterTest.php
@@ -1,6 +1,6 @@
 <?php
 
-namespace Drupal\Tests\field\Kernel\String;
+namespace Drupal\Tests\field\Kernel\KernelString;
 
 use Drupal\entity_test\Entity\EntityTest;
 use Drupal\KernelTests\KernelTestBase;
diff --git a/core/modules/field/tests/src/Kernel/String/UuidItemTest.php b/core/modules/field/tests/src/Kernel/KernelString/UuidItemTest.php
similarity index 91%
rename from core/modules/field/tests/src/Kernel/String/UuidItemTest.php
rename to core/modules/field/tests/src/Kernel/KernelString/UuidItemTest.php
index 480057b90a4dc3c581303d58e898fc0b40b65fe4..6cdb32b004f4db0ef3ae5ce229206a415051e5c9 100644
--- a/core/modules/field/tests/src/Kernel/String/UuidItemTest.php
+++ b/core/modules/field/tests/src/Kernel/KernelString/UuidItemTest.php
@@ -1,6 +1,6 @@
 <?php
 
-namespace Drupal\Tests\field\Kernel\String;
+namespace Drupal\Tests\field\Kernel\KernelString;
 
 use Drupal\entity_test\Entity\EntityTest;
 use Drupal\Tests\field\Kernel\FieldKernelTestBase;
diff --git a/core/modules/text/tests/src/Functional/TextFieldTest.php b/core/modules/text/tests/src/Functional/TextFieldTest.php
index ab9ba107a3ea57e8587d8985de5a2dddcaeafe66..c62a9c8ede15e4a9867fc22f7ee798c736ffd595 100644
--- a/core/modules/text/tests/src/Functional/TextFieldTest.php
+++ b/core/modules/text/tests/src/Functional/TextFieldTest.php
@@ -8,7 +8,7 @@
 use Drupal\field\Entity\FieldStorageConfig;
 use Drupal\filter\Entity\FilterFormat;
 use Drupal\filter\Render\FilteredMarkup;
-use Drupal\Tests\field\Functional\String\StringFieldTest;
+use Drupal\Tests\field\Functional\FunctionalString\StringFieldTest;
 use Drupal\Tests\TestFileCreationTrait;
 
 /**