Skip to content

Commit b7b6114

Browse files
committed
tmf.ui.swtbot.tests: Modify button name to make the test work
Signed-off-by: Arnaud Fiorini <fiorini.arnaud@gmail.com>
1 parent 1c6b215 commit b7b6114

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/src/org/eclipse/tracecompass/tmf/ui/swtbot/tests/project

tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/src/org/eclipse/tracecompass/tmf/ui/swtbot/tests/project/AddProjectNatureTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public class AddProjectNatureTest {
9090
private static final String CUSTOMIZE_VIEW_DIALOG_TITLE_4_7 = "Filters and Customization";
9191
private static final String CUSTOMIZE_VIEW_RESOURCES_FILTER = ".* resources";
9292
private static final String CUSTOMIZE_VIEW_SHADOW_FILTER = "Trace Compass Shadow Projects";
93-
private static final String OK_BUTTON = "OK";
93+
private static final String APPLY_BUTTON = "Apply";
9494

9595
private static IWorkspaceRoot fWorkspaceRoot;
9696
private static IProject fSomeProject;
@@ -249,6 +249,6 @@ private static void toggleFilters(boolean checked) {
249249
item.toggleCheck();
250250
}
251251

252-
shell.bot().button(OK_BUTTON).click();
252+
shell.bot().button(APPLY_BUTTON).click();
253253
}
254254
}

0 commit comments

Comments
 (0)