protected $defaultTheme = 'stark';
public static $testViews =
['test_content_ajax', 'test_display'
];
/**
* {@inheritdoc}
*/
protected function setUp(): void
{ parent::
setUp();
ViewTestData::
createTestViews(self::
class,
['views_test_config'
]);
$admin_user =
$this->
drupalCreateUser([ 'administer site configuration',
'administer views',
'administer nodes',
'access content overview',
'access contextual links',
]);
// Disable automatic live preview to make the sequence of calls clearer.
\Drupal::
configFactory()->
getEditable('views.settings'
)->
set('ui.always_live_preview', FALSE
)->
save();