protected function DeveloperAppAnalyticsTest::assertAnalyticsPage in Apigee Edge 8
Asserts the visited analytics page.
1 call to DeveloperAppAnalyticsTest::assertAnalyticsPage()
- DeveloperAppAnalyticsTest::visitAnalyticsPage in tests/
src/ Functional/ DeveloperAppAnalyticsTest.php - Visits the developer app analytics page using the given path.
File
- tests/
src/ Functional/ DeveloperAppAnalyticsTest.php, line 243
Class
- DeveloperAppAnalyticsTest
- Developer app analytics test.
Namespace
Drupal\Tests\apigee_edge\FunctionalCode
protected function assertAnalyticsPage() {
$timezone = date_default_timezone_get();
$this
->assertSession()
->pageTextContains("Analytics of {$this->developerApp->label()}");
$this
->assertSession()
->pageTextContains("Your timezone: {$timezone}");
$this
->assertSession()
->pageTextContains('No performance data is available for the criteria you supplied.');
$this
->assertSession()
->pageTextNotContains('Export CSV');
}