protected function ConfigUpdateTest::assertNoReport in Configuration Update Manager 8
Asserts that the report is not shown.
Assumes you are already on the report form page.
1 call to ConfigUpdateTest::assertNoReport()
- ConfigUpdateTest::testConfigReport in config_update_ui/
tests/ src/ Functional/ ConfigUpdateTest.php - Tests the config report and its linked pages.
File
- config_update_ui/
tests/ src/ Functional/ ConfigUpdateTest.php, line 516
Class
- ConfigUpdateTest
- Verify the config revert report and its links.
Namespace
Drupal\Tests\config_update_ui\FunctionalCode
protected function assertNoReport() {
$session = $this
->assertSession();
$session
->pageTextContains('Report type');
$session
->pageTextContains('Full report');
$session
->pageTextContains('Single configuration type');
$session
->pageTextContains('Single module');
$session
->pageTextContains('Single theme');
$session
->pageTextContains('Installation profile');
$session
->pageTextContains('Updates report');
$session
->pageTextNotContains('Missing configuration items');
$session
->pageTextNotContains('Added configuration items');
$session
->pageTextNotContains('Changed configuration items');
$session
->pageTextNotContains('Unchanged configuration items');
// Verify that certain report links are shown or not shown. For extensions,
// only extensions that have configuration should be shown.
// Modules.
$session
->linkExists('Search');
$session
->linkExists('Field');
$session
->linkNotExists('Configuration Update Base');
$session
->linkNotExists('Configuration Update Reports');
// Themes.
$session
->linkNotExists('Stark');
$session
->linkNotExists('Classy');
// Profiles.
$session
->linkExists('Testing');
// Configuration types.
$session
->linkExists('Everything');
$session
->linkExists('Simple configuration');
$session
->linkExists('Search page');
}