com.atlassian.jira.functest.framework.assertions
Interface JiraFormAssertions

All Known Implementing Classes:
JiraFormAssertionsImpl

public interface JiraFormAssertions

An assertions helper for working with JIRA forms

Since:
v3.13

Method Summary
 void assertAuiFieldErrMsg(String expectedText)
          Asserts that there is a "field" error message with the expectedText in an AUI form.
 void assertFieldErrMsg(String expectedText)
          Asserts that there is a "field" error message with the expectedText.
 void assertFormErrMsg(String expectedText)
          Asserts that there is a "form" error message with the expectedText.
 void assertFormNotificationMsg(String expectedText)
          Asserts that there is a "form" notification message with the expectedText
 void assertFormSuccessMsg(String expectedText)
          Asserts that there is a "form" success message with the expectedText
 void assertFormWarningMessage(String messageText)
          Assert that the form contains warning message with given text.
 void assertNoErrorsPresent()
          Asserts that there is no errors present.
 void assertNoFieldErrMsg(String notExpectedText)
          Asserts that there is NO "field" error message with the notExpectedText.
 void assertNoFormErrMsg(String notExpectedText)
          Asserts that there is NO "form" error message with the notExpectedText.
 void assertSelectElementHasOptionSelected(String selectElementName, String optionName)
          Asserts that the specified Select form element has this option selected.
 

Method Detail

assertFieldErrMsg

void assertFieldErrMsg(String expectedText)
Asserts that there is a "field" error message with the expectedText.

Parameters:
expectedText - the expected error message

assertAuiFieldErrMsg

void assertAuiFieldErrMsg(String expectedText)
Asserts that there is a "field" error message with the expectedText in an AUI form.

Parameters:
expectedText - the expected error message

assertFormErrMsg

void assertFormErrMsg(String expectedText)
Asserts that there is a "form" error message with the expectedText.

Parameters:
expectedText - the expected error message

assertNoFieldErrMsg

void assertNoFieldErrMsg(String notExpectedText)
Asserts that there is NO "field" error message with the notExpectedText.

Parameters:
notExpectedText - the expected error message

assertNoFormErrMsg

void assertNoFormErrMsg(String notExpectedText)
Asserts that there is NO "form" error message with the notExpectedText.

Parameters:
notExpectedText - the expected error message

assertFormWarningMessage

void assertFormWarningMessage(String messageText)
Assert that the form contains warning message with given text.

Parameters:
messageText - text of the message

assertNoErrorsPresent

void assertNoErrorsPresent()
Asserts that there is no errors present.


assertFormNotificationMsg

void assertFormNotificationMsg(String expectedText)
Asserts that there is a "form" notification message with the expectedText

Parameters:
expectedText - the expected notification message

assertFormSuccessMsg

void assertFormSuccessMsg(String expectedText)
Asserts that there is a "form" success message with the expectedText

Parameters:
expectedText - the expected notification message

assertSelectElementHasOptionSelected

void assertSelectElementHasOptionSelected(String selectElementName,
                                          String optionName)
Asserts that the specified Select form element has this option selected.

Parameters:
selectElementName - the name of the <select> element.
optionName - the name of the option that should be selected (not the value of the option).


Copyright © 2002-2012 Atlassian. All Rights Reserved.