protected function SiteAlertWebDriverTestBase::assertSiteAlertBlockNotPresent in Site Alert 8
Asserts that the site alert block is not present on the page.
1 call to SiteAlertWebDriverTestBase::assertSiteAlertBlockNotPresent()
- 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 123
Class
- SiteAlertWebDriverTestBase
- Base class for functional JS tests for the Site Alerts module.
Namespace
Drupal\Tests\site_alert\FunctionalJavascriptCode
protected function assertSiteAlertBlockNotPresent() {
$this
->assertElementNotPresent('#block-site-alert-block');
}