Class ConfirmDialogTester
-
- All Implemented Interfaces:
public class ConfirmDialogTester extends ComponentTester<T>
Tester for ConfirmDialog.
-
-
Constructor Summary
Constructors Constructor Description ConfirmDialogTester(ConfirmDialog component)Wrap given component for testing.
-
Method Summary
Modifier and Type Method Description voidopen()voidconfirm()Click the confirm button. voidcancel()Click cancel button. voidreject()Click reject button. StringgetText()Get the confirmation message text set to the component. StringgetHeader()Get the header of the confirm dialog. ElementgetHeaderElement()Get the header element set to the confirm dialog. -
-
Method Detail
-
open
void open()
-
confirm
void confirm()
Click the confirm button.
-
cancel
void cancel()
Click cancel button.
-
reject
void reject()
Click reject button.
-
getText
String getText()
Get the confirmation message text set to the component.
- Returns:
confirmation message
-
getHeader
String getHeader()
Get the header of the confirm dialog.
- Returns:
current header of dialog
-
getHeaderElement
Element getHeaderElement()
Get the header element set to the confirm dialog.
- Returns:
header element
-
-
-
-