ClaroTableDragTest.php 591 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Drupal\FunctionalJavascriptTests\Theme;
  3. use Drupal\FunctionalJavascriptTests\TableDrag\TableDragTest;
  4. /**
  5. * Runs TableDragTest in Claro.
  6. *
  7. * @group claro
  8. *
  9. * @see \Drupal\FunctionalJavascriptTests\TableDrag\TableDragTest
  10. */
  11. class ClaroTableDragTest extends TableDragTest {
  12. /**
  13. * {@inheritdoc}
  14. */
  15. protected $defaultTheme = 'claro';
  16. /**
  17. * {@inheritdoc}
  18. */
  19. protected function findWeightsToggle($expected_text) {
  20. $toggle = $this->getSession()->getPage()->findLink($expected_text);
  21. $this->assertNotEmpty($toggle);
  22. return $toggle;
  23. }
  24. }