public function AglsTest::testAglsBasic in AGLS Metadata 8
Ensure the tags appear, without any errors.
File
- tests/
src/ Functional/ AglsTest.php, line 36
Class
- AglsTest
- Test the AGLS module.
Namespace
Drupal\Tests\agls\FunctionalCode
public function testAglsBasic() {
$this
->drupalGet('/admin/config/search/metatag/add');
/** @var \Drupal\metatag\MetatagTagPluginManager $manager */
$manager = \Drupal::service('plugin.manager.metatag.tag');
foreach ($manager
->getDefinitions() as $definition) {
$this
->assertSession()
->pageTextContains($definition['label']);
}
}