function TourTestBasic::testTips

Same name in other branches
  1. 8.9.x core/modules/tour/tests/src/Functional/TourTestBasic.php \Drupal\Tests\tour\Functional\TourTestBasic::testTips()
  2. 10 core/modules/tour/tests/src/Functional/TourTestBasic.php \Drupal\Tests\tour\Functional\TourTestBasic::testTips()
  3. 11.x core/modules/tour/tests/src/Functional/TourTestBasic.php \Drupal\Tests\tour\Functional\TourTestBasic::testTips()

A simple tip test.

File

core/modules/tour/tests/src/Functional/TourTestBasic.php, line 66

Class

TourTestBasic
Simple tour tips test base.

Namespace

Drupal\Tests\tour\Functional

Code

public function testTips() {
    foreach ($this->tips as $path => $attributes) {
        $this->drupalGet($path);
        $this->assertTourTips($attributes);
    }
}

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