function ActionListTest::testNonConfigurableActionsCanBeCreated
Same name in other branches
- 11.x core/modules/action/tests/src/Functional/ActionListTest.php \Drupal\Tests\action\Functional\ActionListTest::testNonConfigurableActionsCanBeCreated()
Tests that non-configurable actions can be created by the UI.
File
-
core/
modules/ action/ tests/ src/ Functional/ ActionListTest.php, line 48
Class
- ActionListTest
- Test behaviors when visiting the action listing page.
Namespace
Drupal\Tests\action\FunctionalCode
public function testNonConfigurableActionsCanBeCreated() : void {
$this->drupalLogin($this->drupalCreateUser([
'administer actions',
]));
$this->drupalGet('/admin/config/system/actions');
$this->assertSession()
->elementExists('css', 'select > option[value="user_block_user_action"]');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.