You are here

public function WebformExampleFunctionalTest::testGet in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/WebformExampleFunctionalTest.php \Drupal\Tests\webform\Functional\WebformExampleFunctionalTest::testGet()

Test get.

File

tests/src/Functional/WebformExampleFunctionalTest.php, line 20

Class

WebformExampleFunctionalTest
Example of webform browser test.

Namespace

Drupal\Tests\webform\Functional

Code

public function testGet() {
  $this
    ->drupalGet('/webform/contact');
  $this
    ->verbose('hi');
  $this
    ->assertSession()
    ->responseContains('Contact');
}