From 3d9cdc72e944dee6ca0ac815564a029f074cc2b9 Mon Sep 17 00:00:00 2001 From: nielsonm Date: Fri, 24 Jan 2014 10:24:51 -0800 Subject: [PATCH] Issue #2040861 by nielsonm: Write tour integration for Extend (modules) admin page. --- .../Drupal/system/Tests/Module/ExtendTourTest.php | 61 ++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 core/modules/system/lib/Drupal/system/Tests/Module/ExtendTourTest.php diff --git a/core/modules/system/lib/Drupal/system/Tests/Module/ExtendTourTest.php b/core/modules/system/lib/Drupal/system/Tests/Module/ExtendTourTest.php new file mode 100644 index 0000000..4074024 --- /dev/null +++ b/core/modules/system/lib/Drupal/system/Tests/Module/ExtendTourTest.php @@ -0,0 +1,61 @@ + 'Extend page tour tests', + 'description' => 'Tests the Extend(module admin) page tour.', + 'group' => 'Tour', + ); + } + + protected function setUp() { + parent::setUp(); + $this->adminUser = $this->drupalCreateUser($permissions); + $this->drupalLogin($this->adminUser); + } + + /** + * Tests extends tour tip availability. + */ + public function testExtendTourTips() { + // Visit the extend page. + $this->drupalGet('admin/modules'); + $this->assertTourTips(); + } +} -- 1.7.10.4