protected function SettingsTrayTestBase::disableEditMode in Drupal 10
Same name and namespace in other branches
- 8 core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php \Drupal\Tests\settings_tray\FunctionalJavascript\SettingsTrayTestBase::disableEditMode()
- 9 core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php \Drupal\Tests\settings_tray\FunctionalJavascript\SettingsTrayTestBase::disableEditMode()
Disables edit mode by pressing edit button in the toolbar.
File
- core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ SettingsTrayTestBase.php, line 70
Class
- SettingsTrayTestBase
- Base class for Settings Tray tests.
Namespace
Drupal\Tests\settings_tray\FunctionalJavascriptCode
protected function disableEditMode() {
$this
->assertSession()
->assertWaitOnAjaxRequest();
$this
->pressToolbarEditButton();
$this
->assertEditModeDisabled();
}