You are here

protected function TestBase::assertNotVisible in The CodeMirror Editor 8

Asserts that the provided element is not visible.

1 call to TestBase::assertNotVisible()
EditorTest::testEditor in tests/src/FunctionalJavascript/EditorTest.php
Test callback.

File

tests/src/FunctionalJavascript/TestBase.php, line 169

Class

TestBase
Base class for CodeMirror editor tests.

Namespace

Drupal\Tests\codemirror_editor\FunctionalJavascript

Code

protected function assertNotVisible($xpath) {
  $is_visible = $this
    ->getSession()
    ->getDriver()
    ->isVisible($xpath);
  $this
    ->assertFalse($is_visible);
}