Skip to content
Snippets Groups Projects

Resolve #3493442 "Fix tests"

Merged Jürgen Haas requested to merge issue/drupal_cms-3493442:3493442-fix-tests into 1.x
Files
14
@@ -38,6 +38,13 @@ class ComponentValidationTest extends BrowserTestBase {
'--input=drupal_cms_analytics.property_id=nonsense',
];
$this->assertStringContainsString('This value is not valid.', $this->applyRecipe($dir, 1, $options)->getErrorOutput());
// The privacy settings should be available to anonymous users.
$this->drupalPlaceBlock('system_menu_block:footer', ['label' => 'Footer']);
$this->drupalGet('<front>');
$footer_menu = $this->assertSession()
->elementExists('css', 'nav > h2:contains("Footer") + ul');
$this->assertTrue($footer_menu->hasLink('My privacy settings'));
}
}
Loading