diff --git a/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php b/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php index f85b65d..3ce88a9 100644 --- a/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php +++ b/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php @@ -74,9 +74,9 @@ public function testForm() { $this->assertSession()->fieldExists('bananas'); // Check that the hidden field exists and has a specific value. - $this->assertSession()->hiddenFieldExists('strawberry'); // By name. - $this->assertSession()->hiddenFieldExists('red'); // By value. - $this->assertSession()->hiddenFieldExists('redstrawberryhiddenfield'); // By id. + $this->assertSession()->hiddenFieldExists('strawberry'); + $this->assertSession()->hiddenFieldExists('red'); + $this->assertSession()->hiddenFieldExists('redstrawberryhiddenfield'); $this->assertSession()->hiddenFieldValueNotEquals('strawberry', 'brown'); $this->assertSession()->hiddenFieldValueEquals('strawberry', 'red');