1 package it.com.atlassian.webdriver.confluence.test;
2
3 import com.atlassian.webdriver.confluence.data.User;
4 import com.atlassian.webdriver.confluence.page.PeopleDirectoryPage;
5 import org.junit.Test;
6
7 import static org.junit.Assert.assertNotNull;
8
9
10
11 public class TestPeopleDirectoryPage extends AbstractConfluenceWebTest
12 {
13
14 private final static User ADMIN = new User("admin", "admin", "fullname", "email");
15
16 @Test
17 public void testPeopleDirectoryPage()
18 {
19 product.visit(PeopleDirectoryPage.class);
20 }
21
22 @Test
23 public void testUserMacro()
24 {
25 PeopleDirectoryPage peopleDirectory = product.visit(PeopleDirectoryPage.class);
26 assertNotNull(peopleDirectory.getUserMacro(ADMIN.getUsername()));
27 }
28
29 }