protected function CoreViewsIntegrationTest::checkEmptyOverview in Core Views Facets 8
Get the facet overview page and make sure the overview is empty.
1 call to CoreViewsIntegrationTest::checkEmptyOverview()
- CoreViewsIntegrationTest::testFramework in tests/
src/ Functional/ CoreViewsIntegrationTest.php - Tests various operations via the Facets' admin UI.
File
- tests/
src/ Functional/ CoreViewsIntegrationTest.php, line 217
Class
- CoreViewsIntegrationTest
- Tests the overall functionality of the Facets admin UI.
Namespace
Drupal\Tests\core_views_facets\FunctionalCode
protected function checkEmptyOverview() {
$this
->drupalGet(Url::fromRoute('entity.facets_facet.collection'));
$this
->assertSession()
->statusCodeEquals(200);
// The list overview has Field: field_name as description. This tests on the
// absence of that.
$this
->assertSession()
->pageTextNotContains('Field:');
}