public class AlertAssert extends org.assertj.core.api.AbstractAssert<AlertAssert,AlertImpl>
| Constructor and Description |
|---|
AlertAssert(AlertImpl actual)
Creates a new assertion object for alert.
|
| Modifier and Type | Method and Description |
|---|---|
AlertAssert |
hasText(String text)
Check that the alert box contains the given text
|
AlertAssert |
isPresent()
Check that an alert box is present
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, setCustomRepresentation, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorpublic AlertAssert(AlertImpl actual)
actual - actual alertpublic AlertAssert hasText(String text)
text - text to search forpublic AlertAssert isPresent()
Copyright © 2016 FluentLenium. All Rights Reserved.