You are here

protected function SiteAlertWebDriverTestBase::assertSiteAlertBlockPresent in Site Alert 8

Asserts that the site alert block is present on the page.

2 calls to SiteAlertWebDriverTestBase::assertSiteAlertBlockPresent()
SiteAlertTimeoutTest::testSiteAlertTimeouts in tests/src/FunctionalJavascript/SiteAlertTimeoutTest.php
Tests the automatic refreshing of site alerts.
SiteAlertTimeoutTest::testSiteAlertTimeoutsDisabled in tests/src/FunctionalJavascript/SiteAlertTimeoutTest.php
Tests that automatic refreshing of site alerts can be disabled.

File

tests/src/FunctionalJavascript/SiteAlertWebDriverTestBase.php, line 116

Class

SiteAlertWebDriverTestBase
Base class for functional JS tests for the Site Alerts module.

Namespace

Drupal\Tests\site_alert\FunctionalJavascript

Code

protected function assertSiteAlertBlockPresent() {
  $this
    ->assertElementPresent('#block-site-alert-block');
}