public class JiraFormAssertionsImpl extends Object implements JiraFormAssertions
JiraFormAssertions.| Constructor and Description |
|---|
JiraFormAssertionsImpl(TextAssertions textAssertions,
net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData) |
| Modifier and Type | Method and Description |
|---|---|
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 |
assertFormErrMsgContainsLink(String linkExactText)
Assert that error message on the form contains link with given exact text.
|
void |
assertFormNotificationMsg(String expectedText)
Asserts that there is a "form" notification message with the expectedText.
|
void |
assertFormNotificationMsgContainsLink(String linkExactText)
Assert that notification message on the form contains link with given exact text.
|
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 |
assertFormWarningMessageContainsLink(String linkExactText)
Assert that warning message on the form contains link with given exact 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 |
assertNoFormNotificationMsg(String notExpectedText)
Asserts that there is NO "form" notification message with the notExpectedText.
|
void |
assertNoFormWarningMessage(String notExpectedText)
Asserts that there is NO "form" warning message with the notExpectedText.
|
void |
assertSelectElementByIdHasOptionSelected(String selectElementId,
String optionName)
Asserts that the specified Select form element has this option selected.
|
void |
assertSelectElementByIdHasOptionSelectedById(String selectElementId,
String optionId)
Asserts that the specified Select form element has the option with the given id selected.
|
void |
assertSelectElementHasOptionSelected(String selectElementName,
String optionName)
Asserts that the specified Select form element has this option selected.
|
@Inject public JiraFormAssertionsImpl(TextAssertions textAssertions, net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
public void assertFieldErrMsg(String expectedText)
JiraFormAssertionsassertFieldErrMsg in interface JiraFormAssertionsexpectedText - the expected error messagepublic void assertAuiFieldErrMsg(String expectedText)
JiraFormAssertionsassertAuiFieldErrMsg in interface JiraFormAssertionsexpectedText - the expected error messagepublic void assertFormErrMsg(String expectedText)
JiraFormAssertionsassertFormErrMsg in interface JiraFormAssertionsexpectedText - the expected error messagepublic void assertFormErrMsgContainsLink(String linkExactText)
JiraFormAssertionsassertFormErrMsgContainsLink in interface JiraFormAssertionslinkExactText - text of the expected linkpublic void assertNoFieldErrMsg(String notExpectedText)
JiraFormAssertionsassertNoFieldErrMsg in interface JiraFormAssertionsnotExpectedText - the expected error messagepublic void assertNoFormErrMsg(String notExpectedText)
JiraFormAssertionsassertNoFormErrMsg in interface JiraFormAssertionsnotExpectedText - the 'not' expected error message (or part of it)public void assertNoErrorsPresent()
JiraFormAssertionsassertNoErrorsPresent in interface JiraFormAssertionspublic void assertFormNotificationMsg(String expectedText)
JiraFormAssertionsassertFormNotificationMsg in interface JiraFormAssertionsexpectedText - the expected notification messagepublic void assertNoFormNotificationMsg(String notExpectedText)
JiraFormAssertionsassertNoFormNotificationMsg in interface JiraFormAssertionsnotExpectedText - the 'not' expected notification message (or part of it)public void assertFormNotificationMsgContainsLink(String linkExactText)
JiraFormAssertionsassertFormNotificationMsgContainsLink in interface JiraFormAssertionslinkExactText - text of the expected linkpublic void assertFormSuccessMsg(String expectedText)
JiraFormAssertionsassertFormSuccessMsg in interface JiraFormAssertionsexpectedText - the expected notification messagepublic void assertFormWarningMessage(String messageText)
JiraFormAssertionsassertFormWarningMessage in interface JiraFormAssertionsmessageText - text of the messagepublic void assertNoFormWarningMessage(String notExpectedText)
JiraFormAssertionsassertNoFormWarningMessage in interface JiraFormAssertionsnotExpectedText - the 'not' expected warning message (or part of it)public void assertFormWarningMessageContainsLink(String linkExactText)
JiraFormAssertionsassertFormWarningMessageContainsLink in interface JiraFormAssertionslinkExactText - text of the expected linkpublic void assertSelectElementHasOptionSelected(String selectElementName, String optionName)
JiraFormAssertionsassertSelectElementHasOptionSelected in interface JiraFormAssertionsselectElementName - the name of the <select> element.optionName - the name of the option that should be selected (not the value of the option).public void assertSelectElementByIdHasOptionSelected(String selectElementId, String optionName)
JiraFormAssertionsassertSelectElementByIdHasOptionSelected in interface JiraFormAssertionsselectElementId - the id of the <select> element.optionName - the name of the option that should be selected (not the value of the option).public void assertSelectElementByIdHasOptionSelectedById(String selectElementId, String optionId)
JiraFormAssertionsassertSelectElementByIdHasOptionSelectedById in interface JiraFormAssertionsselectElementId - the id of the <select> element.optionId - the id of the option that should be selectedCopyright © 2002-2021 Atlassian. All Rights Reserved.