You are here

WebformExampleFunctionalTest.php in Webform 8.5

Same filename and directory in other branches
  1. 6.x tests/src/Functional/WebformExampleFunctionalTest.php

File

tests/src/Functional/WebformExampleFunctionalTest.php
View source
<?php

namespace Drupal\Tests\webform\Functional;


/**
 * Example of webform browser test.
 *
 * @group webform_browser
 */
class WebformExampleFunctionalTest extends WebformBrowserTestBase {

  /**
   * {@inheritdoc}
   */
  public static $modules = [
    'webform',
  ];

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

}

Classes

Namesort descending Description
WebformExampleFunctionalTest Example of webform browser test.