function ViewsUITourTest::testViewsUiTourTips
Same name in other branches
- 8.9.x core/modules/views_ui/tests/src/Functional/ViewsUITourTest.php \Drupal\Tests\views_ui\Functional\ViewsUITourTest::testViewsUiTourTips()
- 10 core/modules/tour/tests/src/Functional/ViewsUi/ViewsUITourTest.php \Drupal\Tests\tour\Functional\ViewsUi\ViewsUITourTest::testViewsUiTourTips()
- 11.x core/modules/tour/tests/src/Functional/ViewsUi/ViewsUITourTest.php \Drupal\Tests\tour\Functional\ViewsUi\ViewsUITourTest::testViewsUiTourTips()
Tests views_ui tour tip availability.
File
-
core/
modules/ views_ui/ tests/ src/ Functional/ ViewsUITourTest.php, line 56
Class
- ViewsUITourTest
- Tests the Views UI tour.
Namespace
Drupal\Tests\views_ui\FunctionalCode
public function testViewsUiTourTips() {
// Create a basic view that shows all content, with a page and a block
// display.
$view['label'] = $this->randomMachineName(16);
$view['id'] = strtolower($this->randomMachineName(16));
$view['page[create]'] = 1;
$view['page[path]'] = $this->randomMachineName(16);
$this->drupalGet('admin/structure/views/add');
$this->submitForm($view, 'Save and edit');
$this->assertTourTips();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.