@Test
	public void testAskAddress() throws Exception {
		createScript();

		Address chosenAddress = ask_TextInput(() -> {
			return script.askAddress("Ask Test", "Enter an address:");
		});

		// Compare default value to expected properties value
		assertEquals(addr("100f1d0"), chosenAddress);

		// Set the address to a different value
		String newAddressString = "100888";
		chosenAddress = ask_TextInput(newAddressString, () -> {
			return script.askAddress("Ask Test", "Enter an address:");
		});

		// See if the last-set value is auto-populated
		chosenAddress = ask_TextInput(() -> {
			return script.askAddress("Ask Test", "Enter an address:");
		});

		assertEquals(addr(newAddressString), chosenAddress);
	}
A large timeout period that is usually not reached
Ghidra/Features/Base/src/test.slow/java/ghidra/app/script/GhidraScriptAskMethodsTest.java