diff --git a/core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php b/core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php
index c63a03050d1df1b8c4fde365c47213cc2ef26e23..2406038a346759536b9eb3ba2637fd5ad26a7535 100644
--- a/core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php
@@ -26,6 +26,16 @@ class ElementsLabelsTest extends BrowserTestBase {
    */
   protected $defaultTheme = 'stark';
 
+  /**
+   * Tests form elements.
+   */
+  public function testFormElements(): void {
+    $this->testFormLabels();
+    $this->testTitleEscaping();
+    $this->testFormDescriptions();
+    $this->testFormsInThemeLessEnvironments();
+  }
+
   /**
    * Tests form element rendering.
    *
@@ -35,7 +45,7 @@ class ElementsLabelsTest extends BrowserTestBase {
    * - Prefix and suffix render element placement.
    * - Form element title attributes.
    */
-  public function testFormLabels(): void {
+  protected function testFormLabels(): void {
     $this->drupalGet('form_test/form-labels');
 
     // Check that the checkbox/radio processing is not interfering with
@@ -104,7 +114,7 @@ public function testFormLabels(): void {
   /**
    * Tests XSS-protection of element labels.
    */
-  public function testTitleEscaping(): void {
+  protected function testTitleEscaping(): void {
     $this->drupalGet('form_test/form-labels');
     foreach (FormTestLabelForm::$typesWithTitle as $type) {
       $this->assertSession()->responseContains("$type alert('XSS') is XSS filtered!");
@@ -115,7 +125,7 @@ public function testTitleEscaping(): void {
   /**
    * Tests different display options for form element descriptions.
    */
-  public function testFormDescriptions(): void {
+  protected function testFormDescriptions(): void {
     $this->drupalGet('form_test/form-descriptions');
 
     // Check #description placement with #description_display='after'.
@@ -142,7 +152,7 @@ public function testFormDescriptions(): void {
   /**
    * Tests forms in theme-less environments.
    */
-  public function testFormsInThemeLessEnvironments(): void {
+  protected function testFormsInThemeLessEnvironments(): void {
     $form = $this->getFormWithLimitedProperties();
     $render_service = $this->container->get('renderer');
     // This should not throw any notices.