public function LingotekConfigBulkFormTest::testConfigFilter in Lingotek Translation 8
Tests that the config filtering works correctly.
File
- src/
Tests/ Form/ LingotekConfigBulkFormTest.php, line 66
Class
- LingotekConfigBulkFormTest
- Tests the config bulk management form.
Namespace
Drupal\lingotek\Tests\FormCode
public function testConfigFilter() {
$this
->goToConfigBulkManagementForm();
// Assert that there is a "Bundle" header on the second position.
// First position is the checkbox, that's why we care about the second.
$second_header = (string) $this
->xpath('//*[@id="edit-table"]/thead/tr/th[2]')[0];
$this
->assertEqual($second_header, 'Entity', 'There is a Entity header.');
}