// Delete new catalog piece of furniture
final Action deleteAction = homeView.getActionMap().get(HomePane.ActionType.DELETE);
assertTrue("Delete action isn't enable", deleteAction.isEnabled());
tester.invokeLater(new Runnable() {
public void run() {
deleteAction.actionPerformed(null);
}
});
// Wait for confirm dialog to be shown
tester.waitForFrameShowing(new AWTHierarchy(), preferences.getLocalizedString(
HomePane.class, "confirmDeleteCatalogSelection.title"));