protected function TestBase::assertVisible in The CodeMirror Editor 8
Asserts that the provided element is visible.
1 call to TestBase::assertVisible()
- EditorTest::testEditor in tests/
src/ FunctionalJavascript/ EditorTest.php - Test callback.
File
- tests/
src/ FunctionalJavascript/ TestBase.php, line 159
Class
- TestBase
- Base class for CodeMirror editor tests.
Namespace
Drupal\Tests\codemirror_editor\FunctionalJavascriptCode
protected function assertVisible($xpath) {
$is_visible = $this
->getSession()
->getDriver()
->isVisible($xpath);
$this
->assertTrue($is_visible);
}