You are here

protected function AjaxInGroupTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxInGroupTest.php \Drupal\FunctionalJavascriptTests\Ajax\AjaxInGroupTest::setUp()
  2. 9 core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxInGroupTest.php \Drupal\FunctionalJavascriptTests\Ajax\AjaxInGroupTest::setUp()

Overrides BrowserTestBase::setUp

File

core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxInGroupTest.php, line 27

Class

AjaxInGroupTest
Tests that form elements in groups work correctly with AJAX.

Namespace

Drupal\FunctionalJavascriptTests\Ajax

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'access content',
  ]));
}