mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-16 01:01:02 +00:00
Updated ui tests tutorial (markdown)
This commit is contained in:
1 parent
b2a3943469
commit
431a6769b1
1 file changed
+1
-1
@@ -4,7 +4,7 @@ In this tutorial, we want to give a practical introduction in how to write UI-Te
|
||||
|
||||
When you start to write UI tests, the first thing you have to do is, to ensure that the UI is testable. This means, that you have to be able to easily find all widgets in the final HTML-Document the user interacts with. The simplest approach here is to use debug identifiers which are provided by GWT and to assign an identifier to all important widgets, like buttons and text fields. Our framework contains a corresponding mechanism to lookup elements by the debug identifier, but more on this later.
|
||||
|
||||
If we look at the >Events tab of the administration console, we can see that we need the button for adding a new event as well as the table for the validation of the creation (Listing 1). In addition we need all the text fields, checkboxes and buttons of the dialog for creating a new event, which are instantiated by the class EventCreateDialog, as well as for the dialog itself (Listing 2).
|
||||
If we look at the > Events tab of the administration console, we can see that we need the button for adding a new event as well as the table for the validation of the creation (Listing 1). In addition we need all the text fields, checkboxes and buttons of the dialog for creating a new event, which are instantiated by the class EventCreateDialog, as well as for the dialog itself (Listing 2).
|
||||
|
||||
public class SailingEventManagementPanel extends SimplePanel implements EventRefresher {
|
||||
public SailingEventManagementPanel(final SailingServiceAsync sailingService,
|
||||
|
||||
Reference in new issue
Block a user