protected void waitForApply(boolean enabled) throws Exception {
		MergeManagerPlugin mergePlugin =
			(MergeManagerPlugin) getInstanceField("mergePlugin", mergeMgr);
		assertNotNull(mergePlugin);
		Object mergeManagerProvider = getInstanceField("provider", mergePlugin);
		assertNotNull(mergeManagerProvider);
		JButton applyButton = (JButton) getInstanceField("applyButton", mergeManagerProvider);
		assertNotNull(applyButton);

		waitForCondition(() -> applyButton.isEnabled() == enabled,
			"Failed waiting for Apply to be " + (enabled ? "enabled." : "disabled."));
	}
Call this after executeMerge() if you expect to get a prompt from one of the merge
manager's "choose" dialogs. It will give the initial automerge a chance to occur
before you begin trying to programmatically choose buttons.
This currently waits up to 5 seconds for prompting to begin.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/AbstractMergeTest.java