public function ClaroTableDragTest::testNoDuplicates in Drupal 9
Same name and namespace in other branches
- 10 core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroTableDragTest.php \Drupal\FunctionalJavascriptTests\Theme\ClaroTableDragTest::testNoDuplicates()
Ensures that there are no duplicate tabledrag handles.
File
- core/
tests/ Drupal/ FunctionalJavascriptTests/ Theme/ ClaroTableDragTest.php, line 34
Class
- ClaroTableDragTest
- Tests draggable tables with Claro theme.
Namespace
Drupal\FunctionalJavascriptTests\ThemeCode
public function testNoDuplicates() {
$this
->drupalGet('tabledrag_test_nested');
$this
->assertCount(1, $this
->findRowById(1)
->findAll('css', '.tabledrag-handle'));
}