src/DrupalExtension/Context/EmailContext.php
public function beforeScenarioNoContactFlood(BeforeScenarioScope $scope) {
    $config = $this->getCore()->getEditableConfig('contact.settings');
    $this->contactSettings = $config->getData();
    $config->set('flood.limit', 100000);
    $config->set('flood.interval', 100000);
    $config->save();
  }
public function beforeScenarioNoContactFlood(BeforeScenarioScope $scope) {
    $config = $this->getCore()->getEditableConfig('contact.settings');
    $this->contactSettings = $config->getData();
    $config->set('flood.limit', 100000);
    $config->set('flood.interval', 100000);
    $config->save();
  }
public function beforeScenarioNoContactFlood ( BeforeScenarioScope $ scope ) { $ config = $ this -> getCore ( ) -> getEditableConfig ( 'contact.settings' ) ; $ this -> contactSettings = $ config -> getData ( ) ; $ config -> set ( 'flood.limit' , 100000 ) ; $ config -> set ( 'flood.interval' , 100000 ) ; $ config -> save ( ) ; }
Increase value of contact form flooding.

@BeforeScenario @no_contact_flood
Increase value of contact form flooding .