View Javadoc

1   package it.com.atlassian.webdriver.jira.test;
2   
3   import com.atlassian.pageobjects.TestedProductFactory;
4   import com.atlassian.webdriver.jira.JiraTestedProduct;
5   import com.atlassian.webdriver.jira.page.DashboardPage;
6   import com.atlassian.webdriver.jira.page.ViewAttachmentsSettingsPage;
7   import org.junit.After;
8   import org.junit.Before;
9   import org.junit.Test;
10  
11  /**
12   * @since 2.0
13   */
14  public class TestViewAttachmentsSettingsPage
15  {
16  
17      private static final JiraTestedProduct JIRA = TestedProductFactory.create(JiraTestedProduct.class);
18  
19      private DashboardPage dashboard;
20  
21      @Before
22      public void login()
23      {
24          dashboard = JIRA.gotoLoginPage().loginAsSysAdmin(DashboardPage.class);
25      }
26  
27      @After
28      public void cleanUpCookies()
29      {
30          JIRA.getTester().getDriver().manage().deleteAllCookies();
31      }
32  
33      @Test
34      public void testViewAttachmentSettingsPage()
35      {
36          JIRA.getPageBinder().navigateToAndBind(ViewAttachmentsSettingsPage.class);
37      }
38  
39  }