Skip to content
Snippets Groups Projects
Commit 3192c1bf authored by l26yan's avatar l26yan Committed by Liam Morland
Browse files

ISTWCMS-4630 Make sure account settings first name and last name field are not displayed

parent 354e8cb8
No related branches found
No related tags found
2 merge requests!433ISTWCMS-6296 Create test for all event dates test cases,!152ISTWCMS-4630 Make "Who's online" block available for all roles
......@@ -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');
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment