public function ViewsUITourTest::testViewsUiTourTips in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views_ui/src/Tests/ViewsUITourTest.php \Drupal\views_ui\Tests\ViewsUITourTest::testViewsUiTourTips()
Tests views_ui tour tip availability.
File
- core/
modules/ views_ui/ src/ Tests/ ViewsUITourTest.php, line 50 - Contains \Drupal\views_ui\Tests\ViewsUITourTest.
Class
- ViewsUITourTest
- Tests the Views UI tour.
Namespace
Drupal\views_ui\TestsCode
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
->drupalPostForm('admin/structure/views/add', $view, t('Save and edit'));
$this
->assertTourTips();
}