protected function TestBase::assertElementExist in The CodeMirror Editor 8
Assets that specific element exists on the current page.
2 calls to TestBase::assertElementExist()
- EditorTest::testEditor in tests/
src/ FunctionalJavascript/ EditorTest.php - Test callback.
- TextEditorTest::testTextEditor in tests/
src/ FunctionalJavascript/ TextEditorTest.php - Test callback.
File
- tests/
src/ FunctionalJavascript/ TestBase.php, line 145
Class
- TestBase
- Base class for CodeMirror editor tests.
Namespace
Drupal\Tests\codemirror_editor\FunctionalJavascriptCode
protected function assertElementExist($xpath) {
$this
->assertSession()
->elementExists('xpath', $xpath);
}