Skip to content
Snippets Groups Projects

Issue #3412061: Permissions filter test

@@ -33,6 +33,7 @@ class ModuleFilterJavascriptPermissionsTest extends ModuleFilterJavascriptTestBa
// works on the module's readable name.
$page->fillField('edit-text', 'ses');
$this->waitForNoText('Banana');
$assert->waitForText('Roses');
$assert->pageTextContains('Roses');
$assert->pageTextContains('Buy flowers');
$assert->pageTextContains('Send flowers');
@@ -45,6 +46,7 @@ class ModuleFilterJavascriptPermissionsTest extends ModuleFilterJavascriptTestBa
// text of the permission and that the module name is also shown.
$page->fillField('edit-text', 'rui');
$this->waitForNoText('Roses');
$assert->waitForText('Banana');
$assert->pageTextNotContains('Roses');
$assert->pageTextNotContains('Buy flowers');
$assert->pageTextNotContains('Send flowers');
@@ -73,6 +75,7 @@ class ModuleFilterJavascriptPermissionsTest extends ModuleFilterJavascriptTestBa
$assert->pageTextContains('Send flowers to Panama');
$assert->pageTextContains('Banana');
$assert->pageTextContains('Buy fruit');
$this->createScreenshot(\Drupal::root() . '/sites/default/files/simpletest/screen1.png');
}
Loading