You are here

public function WebformExampleFunctionalTest::testGet in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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');
}