diff -u b/core/modules/user/src/Tests/UserPermissionsTest.php b/core/modules/user/src/Tests/UserPermissionsTest.php --- b/core/modules/user/src/Tests/UserPermissionsTest.php +++ b/core/modules/user/src/Tests/UserPermissionsTest.php @@ -40,6 +40,19 @@ } /** + * Test acessing the Permissions administration page. + */ + public function testPermissionsAdministration() { + $this->drupalLogin($this->adminUser); + $default_langcode = \Drupal::languageManager() + ->getDefaultLanguage() + ->getId(); + + $this->drupalGet('admin/config/people/permissions'); + $this->assertTitle(t('Permissions' . ' | Drupal')); + } + + /** * Test changing user permissions through the permissions page. */ public function testUserPermissionChanges() { diff -u b/core/modules/user/src/Tests/UserRoleAdminTest.php b/core/modules/user/src/Tests/UserRoleAdminTest.php --- b/core/modules/user/src/Tests/UserRoleAdminTest.php +++ b/core/modules/user/src/Tests/UserRoleAdminTest.php @@ -43,6 +43,10 @@ $this->drupalLogin($this->adminUser); $default_langcode = \Drupal::languageManager()->getDefaultLanguage()->getId(); + // Test accessing the Roles administration page. + $this->drupalGet( 'admin/config/people/roles'); + $this->assertTitle(t('Roles' . ' | Drupal')); + // Test adding a role. (In doing so, we use a role name that happens to // correspond to an integer, to test that the role administration pages // correctly distinguish between role names and IDs.)