You are here

protected function TestBase::assertElementNotExist in The CodeMirror Editor 8

Assets that specific element does not exist on the current page.

2 calls to TestBase::assertElementNotExist()
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 152

Class

TestBase
Base class for CodeMirror editor tests.

Namespace

Drupal\Tests\codemirror_editor\FunctionalJavascript

Code

protected function assertElementNotExist($xpath) {
  $this
    ->assertSession()
    ->elementNotExists('xpath', $xpath);
}