function AdminTableDragTest::testNoDuplicates
Same name and namespace in other branches
- 11.x core/tests/Drupal/FunctionalJavascriptTests/Theme/AdminTableDragTest.php \Drupal\FunctionalJavascriptTests\Theme\AdminTableDragTest::testNoDuplicates()
Ensures that there are no duplicate tabledrag handles.
File
-
core/
tests/ Drupal/ FunctionalJavascriptTests/ Theme/ AdminTableDragTest.php, line 38
Class
- AdminTableDragTest
- Tests draggable tables with Admin theme.
Namespace
Drupal\FunctionalJavascriptTests\ThemeCode
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.