function TemplateProjectTestBase::visitPackageManagerChangeLog

Visits the 'admin/reports/dblog' and selects Package Manager's change log.

2 calls to TemplateProjectTestBase::visitPackageManagerChangeLog()
TemplateProjectTestBase::assertAppliedChangesWereLogged in core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php
Asserts that changes applied during the stage life cycle were logged.
TemplateProjectTestBase::assertRequestedChangesWereLogged in core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php
Asserts changes requested during the stage life cycle were logged.

File

core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php, line 641

Class

TemplateProjectTestBase
Base class for tests which create a test site from a core project template.

Namespace

Drupal\Tests\package_manager\Build

Code

private function visitPackageManagerChangeLog() : void {
    $mink = $this->getMink();
    $assert_session = $mink->assertSession();
    $page = $mink->getSession()
        ->getPage();
    $this->visit('/admin/reports/dblog');
    $assert_session->statusCodeEquals(200);
    $page->selectFieldOption('Type', 'package_manager_change_log');
    $page->pressButton('Filter');
    $assert_session->statusCodeEquals(200);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.