3 namespace Drupal\Tests\system\Functional\Theme;
5 use Drupal\Tests\BrowserTestBase;
8 * Tests autocompletion not loading registry.
12 class FastTest extends BrowserTestBase {
19 public static $modules = ['theme_test'];
21 protected function setUp() {
23 $this->account = $this->drupalCreateUser(['access user profiles']);
27 * Tests access to user autocompletion and verify the correct results.
29 public function testUserAutocomplete() {
30 $this->drupalLogin($this->account);
31 $this->drupalGet('user/autocomplete', ['query' => ['q' => $this->account->getUsername()]]);
32 $this->assertRaw($this->account->getUsername());
33 $this->assertNoText('registry initialized', 'The registry was not initialized');