Interface IssueNavigatorAssertions
- All Known Implementing Classes:
IssueNavigatorAssertionsImpl
public interface IssueNavigatorAssertions
Class that can be used to make assertions about the current state of the issue navigator.
- Since:
- v3.13
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classRepresents selected parameters in the filter form (simple issue navigator). -
Method Summary
Modifier and TypeMethodDescriptionvoidassertAdvancedSearch(net.sourceforge.jwebunit.WebTester tester, String... values) Assert that the advanced navigator is a JQL expression that contains the passed snippets.voidassertExactIssuesInResults(String... keys) Asserts that the passed issues are displayed on the issue navigator.voidassertIssueNavigatorDisplaying(Locator locator, String from, String to, String of) Assert that the issue navigator is displaying with bug from, to and totalNumber (of)voidassertJqlErrors(String... errorMessages) Assert that the passed errors appears on the advanced issue navigator.voidassertJqlFitsInFilterForm(String jqlQuery, IssueNavigatorAssertions.FilterFormParam... formParams) Executes a JQL query search and asserts that it fits in the simple filter form, and that the specified params are present and set.voidAssert that the JQL query was too complex to fit in simple mode.voidassertJqlWarnings(String... warningMessages) Assert that the passed warnings appears on the advanced issue navigator.voidAssert that there were no errors with submitted JQL queryvoidAssert that the navigator displays the correct description.voidassertSearchResults(SearchResultsCondition... conditions) Assert properties of the result set displayed in the Issue Navigator.voidassertSearchResults(Iterable<? extends SearchResultsCondition> conditions) Assert properties of the result set displayed in the Issue Navigator.voidAsserts that current issue navigator search results are empty.voidassertSearchResultsContain(String... keys) Assert that the current results displayed in the issue navigator contain a list of issues in the specified order.voidassertSearchResultsDoNotContain(String... keys) Assert that the current results displayed in the issue navigator do not contain the specified issues.voidassertSimpleSearch(NavigatorSearch search, net.sourceforge.jwebunit.WebTester tester) Assert that the navigator is currently configured like the passed search.
-
Method Details
-
assertAdvancedSearch
Assert that the advanced navigator is a JQL expression that contains the passed snippets.- Parameters:
tester- the web tester to test. Is should be pointing to the configure advanced screen.values- the JQL snippets that we try to find.
-
assertSearchResults
Assert properties of the result set displayed in the Issue Navigator.- Parameters:
conditions- the conditions to be met. All must be satisfied.
-
assertSearchResultsAreEmpty
void assertSearchResultsAreEmpty()Asserts that current issue navigator search results are empty. -
assertExactIssuesInResults
Asserts that the passed issues are displayed on the issue navigator. This method requires that every key be listed or the assertion will fail. Its a shortcut forassertSearchResults(Iterable)using theContainsIssueKeysConditionand theNumberOfIssuesCondition.- Parameters:
keys- the keys of the issues that must appear on navigator. Every key must be entered.
-
assertSearchResultsContain
Assert that the current results displayed in the issue navigator contain a list of issues in the specified order.- Parameters:
keys- The keys of the issues that must appear in the issue navigator results. Must not be null or empty.
-
assertSearchResultsDoNotContain
Assert that the current results displayed in the issue navigator do not contain the specified issues.- Parameters:
keys- The keys of the issues that must not appear in the issue navigator results. Must not be null or empty.
-
assertJqlErrors
Assert that the passed errors appears on the advanced issue navigator. Only works for the the advanced view.- Parameters:
errorMessages- the error messages that should appear.
-
assertJqlWarnings
Assert that the passed warnings appears on the advanced issue navigator. Only works for the the advanced view.- Parameters:
warningMessages- the warning messages that should appear.
-
assertJqlTooComplex
void assertJqlTooComplex()Assert that the JQL query was too complex to fit in simple mode. -
assertNoJqlErrors
void assertNoJqlErrors()Assert that there were no errors with submitted JQL query