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

		// Compare default value to expected properties value
		String chosenString = ask_TextInput(() -> {
			return script.askString("Ask Test", "Enter a string:");
		});
		assertEquals("feedme", chosenString);

		// Set String to a different value
		String newString = "This is an entirely new string.";
		ask_TextInput(newString, () -> {
			return script.askString("Ask Test", "Enter a string:");
		});

		// See if the last-set value is auto-populated
		chosenString = ask_TextInput(() -> {
			return script.askString("Ask Test", "Enter a string:");
		});
		assertEquals(newString, chosenString);
	}
A large timeout period that is usually not reached
Ghidra/Features/Base/src/test.slow/java/ghidra/app/script/GhidraScriptAskMethodsTest.java