function ClaroViewsUiTest::setUp
Overrides BrowserTestBase::setUp
File
-
core/
tests/ Drupal/ FunctionalJavascriptTests/ Theme/ ClaroViewsUiTest.php, line 29
Class
- ClaroViewsUiTest
- Runs tests on Views UI using Claro.
Namespace
Drupal\FunctionalJavascriptTests\ThemeCode
protected function setUp() : void {
parent::setUp();
// Disable automatic live preview to make the sequence of calls clearer.
$this->config('views.settings')
->set('ui.always_live_preview', FALSE)
->save();
// Create the test user and log in.
$admin_user = $this->drupalCreateUser([
'administer views',
'access administration pages',
'view the administration theme',
]);
$this->drupalLogin($admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.