function ClaroTableDragTest::testNoDuplicates
Same name in other branches
- 9 core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroTableDragTest.php \Drupal\FunctionalJavascriptTests\Theme\ClaroTableDragTest::testNoDuplicates()
- 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 36
Class
- ClaroTableDragTest
- Tests draggable tables with Claro 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.