com.atlassian.jira.webtest.webdriver.tests.issue
Class TestLinkIssue

java.lang.Object
  extended by com.atlassian.jira.pageobjects.BaseJiraWebTest
      extended by com.atlassian.jira.webtest.webdriver.tests.issue.TestLinkIssue

public class TestLinkIssue
extends BaseJiraWebTest

Tests linking an issue.

Since:
v5.0

Field Summary
 
Fields inherited from class com.atlassian.jira.pageobjects.BaseJiraWebTest
backdoor, jira, jiraWebTestClassRules, logger, pageBinder, webTestRule
 
Constructor Summary
TestLinkIssue()
           
 
Method Summary
 void testCancelDeleteRemoteIssueLink()
           
 void testCanCreateWebLink()
           
 void testCanCreateWebLinkWithComment()
           
 void testCanCreateWebLinkWithIconUrl()
           
 void testCanCreateWebLinkWithMissingIcon()
           
 void testCannotCreateWebLinkWithEmptyLinkText()
           
 void testCannotCreateWebLinkWithEmptyUrl()
           
 void testConfluenceLinkDialogIsHidden()
           
 void testDeleteRemoteIssueLinkWhileLinkingDisabled()
           
 void testDeleteRemoteIssueLinkWithoutEditLinkPermission()
          Tests that a user with no "edit link" permission cannot delete a remote link.
 void testDuplicateWebLinkCreation()
          Tests that it is possible to create duplicate web links.
 void testInitiallyHiddenLinksAreHidden()
           
 void testInitiallyHiddenLinksCanBeExpanded()
           
 void testIssueLinkSortOrder()
          Tests the sorting order of the issue links.
 void testPriorityIconIsHiddenIfPriorityFieldIsHidden()
           
 void testRemoteJiraLinkDialogIsPresent()
           
 void testRemoveWebLink()
           
 void testViewRemoteIssueLinks()
           
 void testViewRemoteIssueLinksWithMinimalRemoteIssueLinkFields()
          Tests that a remote link created with only the minimal fields filled in (i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestLinkIssue

public TestLinkIssue()
Method Detail

testPriorityIconIsHiddenIfPriorityFieldIsHidden

public void testPriorityIconIsHiddenIfPriorityFieldIsHidden()

testCancelDeleteRemoteIssueLink

public void testCancelDeleteRemoteIssueLink()

testViewRemoteIssueLinks

public void testViewRemoteIssueLinks()

testDeleteRemoteIssueLinkWithoutEditLinkPermission

public void testDeleteRemoteIssueLinkWithoutEditLinkPermission()
Tests that a user with no "edit link" permission cannot delete a remote link.


testViewRemoteIssueLinksWithMinimalRemoteIssueLinkFields

public void testViewRemoteIssueLinksWithMinimalRemoteIssueLinkFields()
Tests that a remote link created with only the minimal fields filled in (i.e. title and url) will display correctly.


testDeleteRemoteIssueLinkWhileLinkingDisabled

public void testDeleteRemoteIssueLinkWhileLinkingDisabled()

testIssueLinkSortOrder

public void testIssueLinkSortOrder()
Tests the sorting order of the issue links. Links should appears in the following order:
 blocker (mixed)
     - HSP-2 Critical improvement on project HSP
     - Alphabet (remote)
 same name (local)
     - GRL-1 Gorilla needs to be fed
     - HSP-2 Critical improvement on project HSP
 zzz (local)
     - GRL-1 Gorilla needs to be fed
 Blog Links (remote)
     - BLOG 3 (com.companytype1) (Instance 1)
     - ALL (com.companytype1) (Instance 2)
     - BLOG 6 (com.companytype1) (Instance 2)
     - HELLO 3 (com.companytype1)
     - CAT 4  (com.companytype2)
 Tickets (remote)
     - HELP-123 Need help
 


testCanCreateWebLink

public void testCanCreateWebLink()

testCanCreateWebLinkWithComment

public void testCanCreateWebLinkWithComment()

testCanCreateWebLinkWithIconUrl

public void testCanCreateWebLinkWithIconUrl()
                                     throws IOException
Throws:
IOException

testCanCreateWebLinkWithMissingIcon

public void testCanCreateWebLinkWithMissingIcon()
                                         throws IOException
Throws:
IOException

testCannotCreateWebLinkWithEmptyUrl

public void testCannotCreateWebLinkWithEmptyUrl()

testCannotCreateWebLinkWithEmptyLinkText

public void testCannotCreateWebLinkWithEmptyLinkText()

testRemoveWebLink

public void testRemoveWebLink()

testDuplicateWebLinkCreation

public void testDuplicateWebLinkCreation()
Tests that it is possible to create duplicate web links.


testInitiallyHiddenLinksAreHidden

public void testInitiallyHiddenLinksAreHidden()

testInitiallyHiddenLinksCanBeExpanded

public void testInitiallyHiddenLinksCanBeExpanded()

testConfluenceLinkDialogIsHidden

public void testConfluenceLinkDialogIsHidden()
                                      throws Exception
Throws:
Exception

testRemoteJiraLinkDialogIsPresent

public void testRemoteJiraLinkDialogIsPresent()
                                       throws Exception
Throws:
Exception


Copyright © 2002-2014 Atlassian. All Rights Reserved.