// Test the default value of use_more_always.
$view = View::
create()->
getExecutable();
$this->
assertTrue($view->
getDisplay()->
getOption('use_more_always'
), 'Always display the more link by default.'
);
} /**
* Tests the templates with empty rows.
*/
public function testEmptyRow() { $view = Views::
getView('test_page_display'
);
$view->
initDisplay();
$view->
newDisplay('page', 'Page', 'empty_row'
);
$view->
save();
$styles =
[ 'default' => '//div[@class="views-row"]',
// Olivero does not use the 'views-col' class.
'grid' => '//div[contains(@class, "views-col") or contains(@class, "views-view-grid__item-inner")]',
'html_list' => '//div[@class="item-list"]//li',
];
$themes =
['olivero', 'stable9', 'stark', 'claro'
];