pressDialogButton(f, "OK");
f.automationNameTextField.setText("Name of new automation");
enterClickAndLeave(f.copyButton);
pressDialogButton(f, "OK");
f.dispose();
<BUG>}
public void testFrameCreationWithAutomation() {
if (GraphicsEnvironment.isHeadless()) {
return; // can't use Assume in TestCase subclasses
}</BUG>
AutomationManager manager = AutomationManager.instance();

pressDialogButton(f, "OK");
f.automationNameTextField.setText("Name of new automation");
enterClickAndLeave(f.copyButton);
pressDialogButton(f, "OK");
f.dispose();
}
@Test
public void testFrameCreationWithAutomation() {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
AutomationManager manager = AutomationManager.instance();
