You are here

protected function IntegrationTest::confirmAlert in Webform Deter 8

Click "OK" in the confirmation / alert dialog.

1 call to IntegrationTest::confirmAlert()
IntegrationTest::testIntegration in tests/src/FunctionalJavascript/IntegrationTest.php
Tests basic webform deter functionality.

File

tests/src/FunctionalJavascript/IntegrationTest.php, line 130

Class

IntegrationTest
Tests basic webform_deter functionality.

Namespace

Drupal\Tests\webform_deter\FunctionalJavascript

Code

protected function confirmAlert() {
  $this
    ->getSession()
    ->getDriver()
    ->getWebDriverSession()
    ->accept_alert();
}