Class TestHeaderDropdownInteractions
java.lang.Object
com.atlassian.jira.pageobjects.JiraWebDriverTest
com.atlassian.jira.pageobjects.BaseJiraWebTest
com.atlassian.jira.webtest.webdriver.tests.header.TestHeaderDropdownInteractions
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
-
Field Summary
Fields inherited from class com.atlassian.jira.pageobjects.BaseJiraWebTest
jiraWebTestClassRules, webTestRuleFields inherited from class com.atlassian.jira.pageobjects.JiraWebDriverTest
backdoor, jira, logger, mailHelper, pageBinder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidCheck we can activate menu items via keyboard.voidChecks the keyboard navigation within the Dashboards menu dropdown, an asynchronous dropdown menu where menu items are lazily loaded.voidChecks the keyboard navigation within the Help menu dropdown, a synchronous dropdown menu that contains all the menu items already loaded on the page.voidCheck we can activate menu items via mouse.Methods inherited from class com.atlassian.jira.pageobjects.JiraWebDriverTest
getBackdoor, getBaseClassRule, getBaseRule
-
Constructor Details
-
TestHeaderDropdownInteractions
public TestHeaderDropdownInteractions()
-
-
Method Details
-
setUp
public void setUp() -
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:
-