You are here

protected function PanelsEverywhereTest::checkFrontPageWorks in Panels Everywhere 8.4

Visits the front page and checks for a 200 status code.

5 calls to PanelsEverywhereTest::checkFrontPageWorks()
PanelsEverywhereTest::testBlockPlacement in tests/src/Functional/PanelsEverywhereTest.php
Verify that placed blocks actually show up.
PanelsEverywhereTest::testCustomVariants in tests/src/Functional/PanelsEverywhereTest.php
Verify that multiple variants work.
PanelsEverywhereTest::testFrontPage in tests/src/Functional/PanelsEverywhereTest.php
Verify the front page still loads while site_template is disabled.
PanelsEverywhereTest::testMixingRegularAndPanelsEverywherePages in tests/src/Functional/PanelsEverywhereTest.php
Verify that using site_template for only part of the page breaks nothing.
PanelsEverywhereTest::testSiteTemplate in tests/src/Functional/PanelsEverywhereTest.php
Verify that enabling and disabling site_template.

File

tests/src/Functional/PanelsEverywhereTest.php, line 223

Class

PanelsEverywhereTest
Make sure that PE can be enabled.

Namespace

Drupal\Tests\panels_everywhere\Functional

Code

protected function checkFrontPageWorks() {
  $this
    ->drupalGet('<front>');
  $this
    ->assertSession()
    ->statusCodeEquals(200);
}