Results
01.10.2020
message_thread 8.x-1.x-dev ::
tests/src/Functional/MessageThreadTextHandlerTest.php
* {@inheritdoc}
*/
public static $modules = ['filter_test'];
/**
* Currently experiencing schema errors.
*
* @var strictConfigSchema
*/ 01.10.2020
message_thread 8.x-1.x-dev ::
tests/src/Functional/MessageThreadTemplateUiTest.php
'config_translation',
'message_thread',
'filter_test',
];
/**
* The user object.
*
* @var \Drupal\user\UserInterface 16.02.2021
ckeditor5 1.0.x-dev ::
tests/src/Kernel/ValidatorsTest.php
'editor',
'filter',
'filter_test',
];
/**
* {@inheritdoc}
*/
protected function setUp(): void {
'filter_test_restrict_tags_and_attributes' => [
'id' => 'filter_test_restrict_tags_and_attributes',
'provider' => 'filter_test',
'status' => TRUE,
'weight' => 0,
'settings' => [
'restrictions' => [
'forbidden_tags' => ['p' => FALSE],
], 23.12.2019
content_moderation_notifications 8.x-3.2 ::
tests/src/Functional/Form/CrudFormTest.php
'content_moderation_notifications',
'node',
'filter_test',
];
/**
* {@inheritdoc}
*/
protected function setUp():void { 23.12.2019
content_moderation_notifications 8.x-3.2 ::
tests/src/Kernel/TokenNotificationsTest.php
'filter',
// This is a short-cut to get a filtered_html format "for free".
'filter_test',
'node',
'text',
'token',
'system',
'user',
'workflows',
$this->installEntitySchema('node');
$this->installSchema('node', ['node_access']);
$this->installConfig(['content_moderation', 'filter', 'filter_test', 'node', 'system']);
$this->createContentType(['type' => 'article']);
// Setup site email.
$this->config('system.site')->set('mail', 'admin@example.com')->save(); 12.10.2020
cookies 1.0.3 ::
modules/cookies_facebook_pixel/tests/src/FunctionalJavascript/CookiesFacebookPixelFunctionalJavascriptTest.php
'node',
'test_page_test',
'filter_test',
'cookies',
'block',
'facebook_pixel',
'cookies_facebook_pixel',
];
'body' => [
'value' => 'TEST123',
'format' => 'filter_test',
],
]);
$this->drupalGet('/node/' . $node->id());
// Consent denied, expected result:
// @codingStandardsIgnoreStart
'body' => [
'value' => 'TEST123',
'format' => 'filter_test',
],
]);
$this->drupalGet('/node/' . $node->id());
// Consent denied, expected result:
// @codingStandardsIgnoreStart 12.10.2020
cookies 1.0.3 ::
modules/cookies_filter/tests/src/Functional/TestCookiesFilterFunctional.php
'cookies',
'cookies_filter',
'filter_test',
'block',
];
/**
* A user with authenticated permissions.
* 12.10.2020
cookies 1.0.3 ::
modules/cookies_filter/tests/src/FunctionalJavascript/CookiesFilterJsTestBase.php
'cookies',
'cookies_filter',
'filter_test',
'block',
];
/**
* {@inheritDoc}
*/ 12.10.2020
cookies 1.0.3 ::
modules/cookies_filter/tests/src/FunctionalJavascript/TestCookiesFilterJsObject.php
'body' => [
'value' => '<object id="testid" class="testClass" data="demo_object.html"></object>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the object gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'object#testid');
$session->elementAttributeNotExists('css', '#testid', 'data');
'body' => [
'value' => '<object id="testid" class="testClass" data="demo_object.html"></object>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the object gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'object#testid');
$session->elementAttributeNotExists('css', '#testid', 'data');
'body' => [
'value' => '<object id="testid" class="testClass" data="demo_object.html"></object>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the object gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'object#testid');
$session->elementAttributeNotExists('css', '#testid', 'data'); 12.10.2020
cookies 1.0.3 ::
modules/cookies_filter/tests/src/FunctionalJavascript/TestCookiesFilterJsMixed.php
'cookies',
'cookies_filter',
'filter_test',
'block',
// Install cookies_ga, so we have an additional filter service, without
// much setup:
'cookies_video',
];
'value' => '<iframe id="testid" class="blocked" src="demo_iframe.html"></iframe>
<embed id="testid2" class="blockedAswell" src="demo_embed.html"></embed>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'embed#testid2');
'body' => [
'value' => '<iframe id="testid" class="blocked" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid'); 12.10.2020
cookies 1.0.3 ::
modules/cookies_filter/tests/src/FunctionalJavascript/TestCookiesFilterJsIframe.php
'body' => [
'value' => '<iframe id="testid" class="testClass" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementAttributeNotExists('css', '#testid', 'src');
<iframe id="testid2" class="testClass" src="demo_iframe.html"></iframe>
<iframe id="testid3" class="testClass" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
// Check first iframe:
'value' => '<iframe id="testid" class="blocked" src="demo_iframe.html"></iframe>
<iframe id="testid2" class="notBlocked" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
// Check all values for blocked iframe:
$session->elementExists('css', 'iframe#testid');
<iframe id="testid2" class="blockedAswell" src="demo_iframe.html"></iframe>
<iframe id="testid3" class="blocked blockedAswell" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'iframe#testid2');
'body' => [
'value' => '<iframe id="testid" class="blocked" src="demo_iframe.html"></iframe> <iframe id="testid2" class="blockedAswell" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'iframe#testid2');
'body' => [
'value' => '<iframe id="testid" src="demo_iframe.html"></iframe> <iframe id="testid2" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'iframe#testid2');
'body' => [
'value' => '<iframe id="testid" class="testClass" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementAttributeNotExists('css', '#testid', 'src');
<iframe id="testid2" class="testClass" src="demo_iframe.html"></iframe>
<iframe id="testid3" class="testClass" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
// Check first iframe:
'value' => '<iframe id="testid" class="blocked" src="demo_iframe.html"></iframe>
<iframe id="testid2" class="notBlocked" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
// Check all values for blocked iframe:
$session->elementExists('css', 'iframe#testid');
<iframe id="testid2" class="blockedAswell" src="demo_iframe.html"></iframe>
<iframe id="testid3" class="blocked blockedAswell" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'iframe#testid2');
'body' => [
'value' => '<iframe id="testid" class="blocked" src="demo_iframe.html"></iframe> <iframe id="testid2" class="blockedAswell" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'iframe#testid2');
'body' => [
'value' => '<iframe id="testid" src="demo_iframe.html"></iframe> <iframe id="testid2" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'iframe#testid2');
'value' => '<iframe id="testid" class="testClass" src="demo_iframe.html"></iframe>
<div id="testDiv" class="specificDiv"></div>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'div#testDiv');
<iframe id="testid2" class="testClass" src="demo_iframe.html"></iframe>
<div id="testDiv" class="specificDiv"></div>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'div#testDiv');
<div id="testDiv"div>
<div id="testDiv2"></div>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'div#testDiv');
'body' => [
'value' => '<iframe id="testid" class="testClass" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementAttributeNotExists('css', '#testid', 'src');
<iframe id="testid2" class="testClass" src="demo_iframe.html"></iframe>
<iframe id="testid3" class="testClass" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
// Check first iframe:
'value' => '<iframe id="testid" class="blocked" src="demo_iframe.html"></iframe>
<iframe id="testid2" class="notBlocked" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
// Check all values for blocked iframe:
$session->elementExists('css', 'iframe#testid');
<iframe id="testid2" class="blockedAswell" src="demo_iframe.html"></iframe>
<iframe id="testid3" class="blocked blockedAswell" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'iframe#testid2');
'body' => [
'value' => '<iframe id="testid" class="blocked" src="demo_iframe.html"></iframe> <iframe id="testid2" class="blockedAswell" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'iframe#testid2');
'body' => [
'value' => '<iframe id="testid" src="demo_iframe.html"></iframe> <iframe id="testid2" src="demo_iframe.html"></iframe>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'iframe#testid2');
'value' => '<iframe id="testid" class="testClass" src="demo_iframe.html"></iframe>
<div id="testDiv" class="specificDiv"></div>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'div#testDiv');
<iframe id="testid2" class="testClass" src="demo_iframe.html"></iframe>
<div id="testDiv" class="specificDiv"></div>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
// Check first iframe:
<div id="testDiv"div>
<div id="testDiv2"></div>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the iframe gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'iframe#testid');
$session->elementExists('css', 'div#testDiv'); 12.10.2020
cookies 1.0.3 ::
modules/cookies_filter/tests/src/FunctionalJavascript/TestCookiesFilterJsEmbed.php
'body' => [
'value' => '<embed id="testid" class="testClass" src="demo_embed.html"></embed>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the embed gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'embed#testid');
$session->elementAttributeNotExists('css', '#testid', 'src');
'body' => [
'value' => '<embed id="testid" class="testClass" src="demo_embed.html"></embed>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the embed gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'embed#testid');
$session->elementAttributeNotExists('css', '#testid', 'src');
'body' => [
'value' => '<embed id="testid" class="testClass" src="demo_embed.html"></embed>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the embed gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'embed#testid');
$session->elementAttributeNotExists('css', '#testid', 'src'); 12.10.2020
cookies 1.0.3 ::
modules/cookies_filter/tests/src/FunctionalJavascript/TestCookiesFilterJsRemoteScript.php
'body' => [
'value' => '<script id="testid" class="testClass" src="bla.js" />',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the script gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'script#testid');
$session->elementAttributeContains('css', 'script#testid', 'type', CookiesConstants::COOKIES_SCRIPT_KO_TYPE); 12.10.2020
cookies 1.0.3 ::
modules/cookies_filter/tests/src/FunctionalJavascript/TestCookiesFilterJsImage.php
'body' => [
'value' => '<img id="testid" class="testClass" src="demo_img.html"></img>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the img gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'img#testid');
$session->elementAttributeNotExists('css', '#testid', 'src');
'body' => [
'value' => '<img id="testid" class="testClass" src="demo_img.html"></img>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the img gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'img#testid');
$session->elementAttributeNotExists('css', '#testid', 'src');
'body' => [
'value' => '<img id="testid" class="testClass" src="demo_img.html"></img>',
'format' => 'filter_test',
],
]);
// Go to the created node and check if the img gets knocked out:
$this->drupalGet('/node/' . $node->id());
$session->elementExists('css', 'img#testid');
$session->elementAttributeNotExists('css', '#testid', 'src'); 12.10.2020
cookies 1.0.3 ::
modules/cookies_matomo/tests/src/FunctionalJavascript/CookiesMatomoFunctionalJavascriptTest.php
protected static $modules = [
'test_page_test',
'filter_test',
'block',
'matomo',
'cookies',
'cookies_matomo',
]; 12.10.2020
cookies 1.0.3 ::
modules/cookies_gtag/tests/src/FunctionalJavascript/CookiesGtagFunctionalJavascriptTest.php
protected static $modules = [
'test_page_test',
'filter_test',
'block',
'cookies',
'google_tag',
'cookies_gtag',
]; 12.10.2020
cookies 1.0.3 ::
modules/cookies_recaptcha/tests/src/FunctionalJavascript/CookiesRecaptchaFunctionalJavascriptTest.php
protected static $modules = [
'test_page_test',
'filter_test',
'block',
'captcha',
'recaptcha',
'cookies',
'cookies_recaptcha',
]; 05.03.2024
cookies_addons 1.0.3 ::
modules/cookies_addons_embed_video/tests/src/Functional/TestCookiesAddonsEmbedVideoFilterFunctional.php
'cookies_addons',
'cookies_addons_embed_video',
'filter_test',
'block',
];
/**
* A user with authenticated permissions.
* 14.06.2024
danse_moderation_notifications 1.0.x-dev ::
tests/src/Functional/Form/CrudFormTest.php
'content_moderation_notifications',
'node',
'filter_test',
];
/**
* {@inheritdoc}
*/
protected function setUp():void { 14.06.2024
danse_moderation_notifications 1.0.x-dev ::
tests/src/Kernel/NotificationsTest.php
'entity_test',
'filter',
'filter_test',
'system',
'user',
'workflows',
];
/**
$this->installEntitySchema('content_moderation_state');
$this->installEntitySchema('user');
$this->installConfig(['content_moderation', 'filter_test']);
$this->installSchema('system', ['sequences']);
// Setup site email.
$this->config('system.site')->set('mail', 'admin@example.com')->save();
// Attach workflow to entity test. 