ClaroTableDragTest.php

Same filename and directory in other branches
  1. 9 core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroTableDragTest.php
  2. 10 core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroTableDragTest.php
  3. 11.x core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroTableDragTest.php

Namespace

Drupal\FunctionalJavascriptTests\Theme

File

core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroTableDragTest.php

View source
<?php

namespace Drupal\FunctionalJavascriptTests\Theme;

use Drupal\FunctionalJavascriptTests\TableDrag\TableDragTest;

/**
 * Runs TableDragTest in Claro.
 *
 * @group claro
 *
 * @see \Drupal\FunctionalJavascriptTests\TableDrag\TableDragTest
 */
class ClaroTableDragTest extends TableDragTest {
    
    /**
     * {@inheritdoc}
     */
    protected $defaultTheme = 'claro';
    
    /**
     * {@inheritdoc}
     */
    protected function findWeightsToggle($expected_text) {
        $toggle = $this->getSession()
            ->getPage()
            ->findLink($expected_text);
        $this->assertNotEmpty($toggle);
        return $toggle;
    }

}

Classes

Title Deprecated Summary
ClaroTableDragTest Runs TableDragTest in Claro.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.