function OffCanvasTestBase::drupalGet

Same name in other branches
  1. 9 core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::drupalGet()
  2. 8.9.x core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::drupalGet()
  3. 10 core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::drupalGet()

Overrides UiHelperTrait::drupalGet

14 calls to OffCanvasTestBase::drupalGet()
AccessAnnouncementTest::testAnnounceFirstLogin in core/modules/announcements_feed/tests/src/FunctionalJavascript/AccessAnnouncementTest.php
Test of viewing announcements by a user with appropriate permission.
AccessAnnouncementTest::testAnnounceWithoutPermission in core/modules/announcements_feed/tests/src/FunctionalJavascript/AccessAnnouncementTest.php
Testing announce icon without announce permission.
AlertsJsonFeedTest::testAnnounceFeedEmpty in core/modules/announcements_feed/tests/src/FunctionalJavascript/AlertsJsonFeedTest.php
Check with an empty JSON feed.
AlertsJsonFeedTest::testAnnounceFeedUpdatedAndRemoved in core/modules/announcements_feed/tests/src/FunctionalJavascript/AlertsJsonFeedTest.php
Check the status of the announcements when the feed is updated and removed.
ConfigAccessTest::testBlockConfigAccess in core/modules/settings_tray/tests/src/FunctionalJavascript/ConfigAccessTest.php
Tests access to block forms with related configuration is correct.

... See full list

File

core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php, line 27

Class

OffCanvasTestBase
Base class contains common test functionality for the Off-canvas dialog.

Namespace

Drupal\Tests\system\FunctionalJavascript

Code

protected function drupalGet($path, array $options = [], array $headers = []) {
    $return = parent::drupalGet($path, $options, $headers);
    $this->assertPageLoadComplete();
    return $return;
}

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