public class

ContainsIssueKeysCondition

extends Object
implements SearchResultsCondition
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.navigator.ContainsIssueKeysCondition

Class Overview

A condition which asserts that the table containing search results specifies the issue keys in the correct order.

Note: the current implementation is pretty loose - if issue keys appear in other parts of the table besides the issue key column, this might affect the results.

Summary

Public Constructors
ContainsIssueKeysCondition(TextAssertions assertions, String... issueKeys)
Public Methods
void assertCondition(WebTester tester)
Executes assertions for this condition on the search results by inspecting the state of the latest response.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.functest.framework.navigator.SearchResultsCondition

Public Constructors

public ContainsIssueKeysCondition (TextAssertions assertions, String... issueKeys)

Parameters
assertions text assertions
issueKeys the issue keys that should be present, in the specified order. You probably want to specify at least one issue.

Public Methods

public void assertCondition (WebTester tester)

Executes assertions for this condition on the search results by inspecting the state of the latest response. It is assumed that the search has already been executed, and we are currently on the page which should contain the search results.

Parameters
tester the web tester