You are here

public function BambooTwigRenderTest::testForm in Bamboo Twig 8.2

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/BambooTwigRenderTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigRenderTest::testForm()
  2. 8.3 tests/src/Functional/BambooTwigRenderTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigRenderTest::testForm()
  3. 8.4 tests/src/Functional/BambooTwigRenderTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigRenderTest::testForm()

@covers Drupal\bamboo_twig_loader\TwigExtension\Render::renderForm

File

tests/src/Functional/BambooTwigRenderTest.php, line 191

Class

BambooTwigRenderTest
Tests Renders twig filters and functions.

Namespace

Drupal\Tests\bamboo_twig\Functional

Code

public function testForm() {
  $this
    ->drupalGet('/bamboo-twig-render');
  $this
    ->assertElementPresent('.test-render div.render-form');
  $this
    ->assertElementPresent('.test-render div.render-form form.system-cron-settings');
}