Class TestHeaderDropdownInteractions

java.lang.Object
com.atlassian.jira.pageobjects.JiraWebDriverTest
com.atlassian.jira.pageobjects.BaseJiraWebTest
com.atlassian.jira.webtest.webdriver.tests.header.TestHeaderDropdownInteractions

public class TestHeaderDropdownInteractions extends BaseJiraWebTest
Checking various kinds of dropdown items in the header for their ability to be interacted with in a variety of ways.

!!! IMPORTANT NOTICE!!! These tests deliberately do not use page objects. There is a reason for this.

Page objects exist to separate the concerns of the goal of the test and how to achieve that goal. For example, most tests won't care about how a dropdown is opened; they just want it to be opened, so they can do stuff with its contents.

In these tests, the thing we're trying to test is precisely that means of achieving the goal. We want to check what user inputs result in what outputs.

Since:
v7.2
  • Constructor Details

    • TestHeaderDropdownInteractions

      public TestHeaderDropdownInteractions()
  • Method Details

    • setUp

      public void setUp()
    • testKeyboardNavigationWithSynchronousDropdown

      public void testKeyboardNavigationWithSynchronousDropdown()
      Checks the keyboard navigation within the Help menu dropdown, a synchronous dropdown menu that contains all the menu items already loaded on the page.
      See Also:
    • testKeyboardNavigationWithAsynchronousDropdown

      public void testKeyboardNavigationWithAsynchronousDropdown()
      Checks the keyboard navigation within the Dashboards menu dropdown, an asynchronous dropdown menu where menu items are lazily loaded.
      See Also:
    • testKeyboardInteractionWithDropdownItem

      public void testKeyboardInteractionWithDropdownItem()
      Check we can activate menu items via keyboard.
      See Also:
    • testMouseInteractionWithDropdownItem

      public void testMouseInteractionWithDropdownItem()
      Check we can activate menu items via mouse.
      See Also: