protected function TestBase::changeMode in The CodeMirror Editor 8
Changes editor mode.
1 call to TestBase::changeMode()
- EditorTest::testEditor in tests/
src/ FunctionalJavascript/ EditorTest.php - Test callback.
File
- tests/
src/ FunctionalJavascript/ TestBase.php, line 64
Class
- TestBase
- Base class for CodeMirror editor tests.
Namespace
Drupal\Tests\codemirror_editor\FunctionalJavascriptCode
protected function changeMode($mode) {
$this
->getSession()
->getPage()
->find('css', '.cme-mode')
->selectOption($mode);
}