function ClaroTableDragTest::testNoDuplicates
Same name in other branches
- 10 core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroTableDragTest.php \Drupal\FunctionalJavascriptTests\Theme\ClaroTableDragTest::testNoDuplicates()
- 11.x 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'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.