diff --git a/core/modules/simpletest/src/WebTestBase.php b/core/modules/simpletest/src/WebTestBase.php
index 1d7d4b7..80e35a4 100644
--- a/core/modules/simpletest/src/WebTestBase.php
+++ b/core/modules/simpletest/src/WebTestBase.php
@@ -3145,8 +3145,9 @@ protected function assertThemeOutput($callback, array $variables = array(), $exp
    * @param $xpath
    *   XPath used to find the field.
    * @param $value
-   *   (optional) Value of the field to assert. You may pass in NULL to skip
-   *   checking the actual value, while still checking that the field exists.
+   *   (optional) Value of the field to assert. You may pass in NULL (default)
+   *   to skip checking the actual value, while still checking that the field
+   *   exists.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
@@ -3221,16 +3222,15 @@ protected function getSelectedItem(\SimpleXMLElement $element) {
   }
 
   /**
-   * Asserts that a field does not exist in the current page by the given XPath.
+   * Asserts that a field does not exist in the current page by the given XPath,
+   * or if it exists but the field's value doesn't match the provided value.
    *
    * @param $xpath
    *   XPath used to find the field.
    * @param $value
-   *   (optional) A field value to check: the assertion will pass
-   *   either if the field doesn't exist, or if it exists but
-   *   the field's value doesn't match the provided value.
-   *   You may pass in NULL (default) to skip the value check;
-   *   in this case, the assertion will only pass if the field doesn't exist.
+   *   (optional) Value of the field to assert. You may pass in NULL (default)
+   *   to skip checking the actual value, while still checking that the field
+   *   doesn't exist.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
@@ -3268,8 +3268,8 @@ protected function assertNoFieldByXPath($xpath, $value = NULL, $message = '', $g
    * @param $name
    *   Name of field to assert.
    * @param $value
-   *   Value of the field to assert. You may pass in NULL to skip checking the
-   *   actual value, while still checking that the field exists.
+   *   Value of the field to assert. You may pass in NULL (default) to skip
+   *   checking the actual value, while still checking that the field exists.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
@@ -3306,10 +3306,9 @@ protected function assertFieldByName($name, $value = NULL, $message = NULL, $gro
    * @param $name
    *   Name of field to assert.
    * @param $value
-   *   Value of the field to assert. Asserts that the provided value doesn't
-   *   match, or that the field itself doesn't exist. Providing a NULL value
-   *   asserts that the field doesn't exist. Note that if no value is provided,
-   *   this asserts that the field value is not ''.
+   *   (optional) Value of the field to assert. Providing a NULL value asserts
+   *   that the field doesn't exist. Note that if no value is provided, this
+   *   asserts that the field value is not ''.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
@@ -3334,7 +3333,8 @@ protected function assertNoFieldByName($name, $value = '', $message = '', $group
    *   ID of field to assert.
    * @param $value
    *   Value of the field to assert. You may pass in NULL to skip checking the
-   *   actual value, while still checking that the field exists.
+   *   actual value, while still checking that the field exists. Note that if no
+   *   value is provided, this asserts that the field value is not ''.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
@@ -3358,10 +3358,9 @@ protected function assertFieldById($id, $value = '', $message = '', $group = 'Br
    * @param $id
    *   ID of field to assert.
    * @param $value
-   *   Value of the field to assert. Asserts that the provided value doesn't
-   *   match, or that the field itself doesn't exist. Providing a NULL value
-   *   asserts that the field doesn't exist. Note that if no value is provided,
-   *   this asserts that the field value is ''.
+   *   (optional) Value of the field to assert. Providing a NULL value asserts
+   *   that the field doesn't exist. Note that if no value is provided, this
+   *   asserts that the field value is not ''.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
