function ClaroTableDragTest::testNoDuplicates

Ensures that there are no duplicate tabledrag handles.

File

core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroTableDragTest.php, line 36

Class

ClaroTableDragTest
Tests draggable tables with Claro theme.

Namespace

Drupal\FunctionalJavascriptTests\Theme

Code

public function testNoDuplicates() : void {
  $this->drupalGet('tabledrag_test_nested');
  $this->assertCount(1, $this->findRowById(1)
    ->findAll('css', '.tabledrag-handle'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.