You are here

protected function ExposedFormUITest::assertNoGroupedFilterErrors in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php \Drupal\Tests\views_ui\Functional\ExposedFormUITest::assertNoGroupedFilterErrors()
  2. 9 core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php \Drupal\Tests\views_ui\Functional\ExposedFormUITest::assertNoGroupedFilterErrors()

Asserts that there are no Grouped Filters errors.

@internal

Parameters

string $message: The assert message.

File

core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php, line 300

Class

ExposedFormUITest
Tests exposed forms UI functionality.

Namespace

Drupal\Tests\views_ui\Functional

Code

protected function assertNoGroupedFilterErrors(string $message = '') : void {
  foreach ($this->groupFormUiErrors as $error) {
    if (empty($message)) {
      $this
        ->assertSession()
        ->responseNotContains($error);
    }
  }
}