function OffCanvasTestBase::waitForOffCanvasToClose
Same name in other branches
- 9 core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::waitForOffCanvasToClose()
- 8.9.x core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::waitForOffCanvasToClose()
- 11.x core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::waitForOffCanvasToClose()
Waits for off-canvas dialog to close.
4 calls to OffCanvasTestBase::waitForOffCanvasToClose()
- ConfigAccessTest::testBlockConfigAccess in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ ConfigAccessTest.php - Tests access to block forms with related configuration is correct.
- OverriddenConfigurationTest::testOverriddenConfigurationRemoved in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ OverriddenConfigurationTest.php - Tests blocks with overridden related configuration removed when overridden.
- SettingsTrayBlockFormTest::doTestBlocks in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ SettingsTrayBlockFormTest.php - Tests opening off-canvas dialog by click blocks and elements in the blocks.
- WorkspaceToolbarIntegrationTest::testWorkspaceCanvasToggling in core/
modules/ workspaces/ tests/ src/ FunctionalJavascript/ WorkspaceToolbarIntegrationTest.php - Tests workspace canvas can be toggled with JavaScript.
File
-
core/
modules/ system/ tests/ src/ FunctionalJavascript/ OffCanvasTestBase.php, line 89
Class
- OffCanvasTestBase
- Base class contains common test functionality for the Off-canvas dialog.
Namespace
Drupal\Tests\system\FunctionalJavascriptCode
protected function waitForOffCanvasToClose() {
$this->assertSession()
->assertNoElementAfterWait('css', '#drupal-off-canvas');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.