Assert.assertEquals(1, AutomationManager.instance().getSize());
enterClickAndLeave(f.deleteAutomationButton);
pressDialogButton(f, "Yes");
Assert.assertEquals(0, AutomationManager.instance().getSize());
f.dispose();
<BUG>}
public void testFrameCreationWithAction() {
if (GraphicsEnvironment.isHeadless()) {
return; // can't use Assume in TestCase subclasses
}</BUG>
Automation automation = AutomationManager.instance().newAutomation("Automation Table Frame Name");

Assert.assertEquals(1, AutomationManager.instance().getSize());
enterClickAndLeave(f.deleteAutomationButton);
pressDialogButton(f, "Yes");
Assert.assertEquals(0, AutomationManager.instance().getSize());
f.dispose();
}
@Test
public void testFrameCreationWithAction() {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
Automation automation = AutomationManager.instance().newAutomation("Automation Table Frame Name");
