Test fails intermittently on macosx-aarch64. Adding a delay between the first and second drag fixes the issue since there may be some timing issue between the two drag events. Tested the change twice, with 100 repeats per test on all OS's. All tests passed. Also corrected a spelling mistake and added logical newlines to read/debug cleaner.
------------- Commit messages: - Add delay and fix syntax/spelling Changes: https://git.openjdk.org/jdk/pull/15213/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15213&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8313633 Stats: 7 lines in 1 file changed: 4 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/15213.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/15213/head:pull/15213 PR: https://git.openjdk.org/jdk/pull/15213
