3c3 < index 0000000..03097bc --- > index 0000000..8f6b752 36,37c36 < + < \ No newline at end of file --- > +status: '1' 40c39 < index 0000000..0e35bbf --- > index 0000000..c19050a 43c42 < @@ -0,0 +1,37 @@ --- > @@ -0,0 +1,38 @@ 72c71 < + data-class: 'form-item-roles' --- > + data-class: 'form-item-roles' 80a80 > +status: '1' 81a82,150 > diff --git a/core/modules/user/lib/Drupal/user/Tests/UserAdminTourTest.php b/core/modules/user/lib/Drupal/user/Tests/UserAdminTourTest.php > new file mode 100644 > index 0000000..c2b5fab > --- /dev/null > +++ b/core/modules/user/lib/Drupal/user/Tests/UserAdminTourTest.php > @@ -0,0 +1,63 @@ > + + > +/** > + * @file > + * Contains \Drupal\user\Tests\UserAdminTourTest. > + */ > + > +namespace Drupal\user\Tests; > + > +use Drupal\tour\Tests\TourTestBase; > + > +/** > + * Tests tour functionality. > + */ > +class UserAdminTourTest extends TourTestBase { > + > + /** > + * An admin user with administrative permissions for menu. > + * > + * @var \Drupal\user\UserInterface > + */ > + protected $adminUser; > + > + /** > + * Modules to enable. > + * > + * @var array > + */ > + public static $modules = array('user', 'tour', 'views'); > + > +/** > + * The permissions required for a logged in user to test tour tips. > + * > + * @var array > + * A list of permissions. > + */ > + protected $permissions = array('access tour', 'administer users'); > + > + > + public static function getInfo() { > + return array( > + 'name' => 'User admin tour tests', > + 'description' => 'Tests the User admin tour.', > + 'group' => 'Tour', > + ); > + } > + > + protected function setUp() { > + parent::setUp(); > + $this->adminUser = $this->drupalCreateUser(array('access tour', 'administer users')); > + $this->drupalLogin($this->adminUser); > + } > + > + /** > + * Tests menu tour tip availability. > + */ > + public function testMenuTourTips() { > + // Visit user page. > + $this->drupalGet('admin/people'); > + $this->assertTourTips(); > + } > + > +}