You are here

function PanelsEverywhereBasicsTestCase::testFrontPage in Panels Everywhere 7

Ensure the front page loads correctly when PE is enabled for a theme.

File

tests/PanelsEverywhereBasicsTestCase.test, line 87
Basic tests for the Panels Everywhere module.

Class

PanelsEverywhereBasicsTestCase
@file Basic tests for the Panels Everywhere module.

Code

function testFrontPage() {

  // Enable PE for use on Bartik.
  $this
    ->enableBartik();

  // Load the frotn page.
  $this
    ->drupalGet('<front>');
  $this
    ->assertResponse(200);

  // Confirm this is the front page.
  $this
    ->assertText(t('No front page content has been created yet.'));
}