You are here

public function BambooTwigLoaderTest::testRegion in Bamboo Twig 8

@covers Drupal\bamboo_twig_loaders\TwigExtension\Loader::loadRegion

File

tests/src/Functional/BambooTwigLoadersTest.php, line 76

Class

BambooTwigLoaderTest
Tests Loaders twig filters and functions.

Namespace

Drupal\Tests\bamboo_twig\Functional

Code

public function testRegion() {
  $this
    ->drupalGet('/bamboo-twig-loaders');
  $this
    ->assertElementPresent('.test-loaders div.loader-region');
  $this
    ->assertElementPresent('.test-loaders div.loader-region #block-stark-login');
}