You are here

protected function BlockContentTypeTest::assertOffCanvasWrapperRemoved in Acquia Content Hub 8

Assert that off-canvas wrapper has been removed.

3 calls to BlockContentTypeTest::assertOffCanvasWrapperRemoved()
BlockContentTypeHooksTest::testBlockContentView in tests/src/Functional/BlockContentTypeHooksTest.php
Checks the acquia-contenthub block hooks functionality.
BlockContentTypeTemplatesTest::testBlockContentView in tests/src/Functional/BlockContentTypeTemplatesTest.php
Checks the acquia-contenthub block templates functionality.
BlockContentTypeTest::testBlockContentView in tests/src/Functional/BlockContentTypeTest.php
Checks the acquia-contenthub block view functionality.

File

tests/src/Functional/BlockContentTypeTest.php, line 64

Class

BlockContentTypeTest
Create a block and test block markup by attempting to view the block.

Namespace

Drupal\Tests\acquia_contenthub\Functional

Code

protected function assertOffCanvasWrapperRemoved() {
  $this
    ->assertNoRaw('dialog-off-canvas-main-canvas', 'The off-canvas wrapper class was not found on the page.');
  $this
    ->assertNoRaw('data-off-canvas-main-canvas', 'The off-canvas wrapper attribute was not found on the page.');
}