public function SimpleRecaptchaWebformTest::testWebformPage in Simple Google reCAPTCHA 8
Verify that webform has been installed from config.
File
- modules/
simple_recaptcha_webform/ tests/ src/ Functional/ SimpleRecaptchaWebformTest.php, line 15
Class
- SimpleRecaptchaWebformTest
- Tests for the Simple reCAPTCHA webform module.
Namespace
Drupal\Tests\simple_recaptcha_webform\FunctionalCode
public function testWebformPage() {
// Permissions / config page existance check.
$this
->drupalLogin($this->user);
$this
->drupalGet('/admin/structure/webform/manage/simple_recaptcha_v2');
$this
->assertSession()
->statusCodeEquals(200);
$this
->drupalGet('/admin/structure/webform/manage/simple_recaptcha_v2/handlers/recaptcha/edit');
$this
->assertSession()
->statusCodeEquals(200);
$this
->drupalLogout();
}