diff --git a/tests/src/Functional/UwWcmsBasicTest.php b/tests/src/Functional/UwWcmsBasicTest.php index b53b6268220f6c776b1cc4af99ddb0c0050af068..7be775344da4d36d015a5cf9143c905ebd6d1fda 100644 --- a/tests/src/Functional/UwWcmsBasicTest.php +++ b/tests/src/Functional/UwWcmsBasicTest.php @@ -1892,6 +1892,12 @@ class UwWcmsBasicTest extends BrowserTestBase { $this->drupalGet('admin/people'); $this->assertSession()->statusCodeEquals(200); $this->assertSession()->pageTextContains($fname . ' ' . $lname); + + // field_uw_first_name and field_uw_last_name are not displayed. + $this->drupalGet('users/wcmstest'); + $this->assertSession()->pageTextContains($fname . ' ' . $lname); + $this->assertSession()->pageTextNotContains('First name'); + $this->assertSession()->pageTextNotContains('Last name'); } /**