You are here

protected function IntegrationTest::cancelAlert in Webform Deter 8

Click "Cancel" to dismiss the confirmation / alert dialog.

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

File

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

Class

IntegrationTest
Tests basic webform_deter functionality.

Namespace

Drupal\Tests\webform_deter\FunctionalJavascript

Code

protected function cancelAlert() {
  $this
    ->getSession()
    ->getDriver()
    ->getWebDriverSession()
    ->dismiss_alert();
}