예제 #1
0
 @Test(groups = "Enterprise-only")
 public void addLinksPage() {
   customizeSitePage = siteDashBoard.getSiteNav().selectCustomizeSite();
   List<SitePageType> addPageTypes = new ArrayList<SitePageType>();
   addPageTypes.add(SitePageType.LINKS);
   customizeSitePage.addPages(addPageTypes);
   linksPage = siteDashBoard.getSiteNav().selectLinksPage();
   assertNotNull(linksPage);
 }
 @Test
 public void addDiscussionsPage() {
   customizeSitePage = siteDashBoard.getSiteNav().selectCustomizeSite().render();
   List<SitePageType> addPageTypes = new ArrayList<SitePageType>();
   addPageTypes.add(SitePageType.DISCUSSIONS);
   customizeSitePage.addPages(addPageTypes);
   discussionsPage = siteDashBoard.getSiteNav().selectDiscussionsPage().render();
   assertNotNull(discussionsPage);
 }