> When testing jtreg manual tests, some tests had unclear instructions. This PR > is an attempt at updating these tests for clarity. > > `MouseDraggedOriginatedByScrollBarTest.java` works as expected when compared > to native apps and outputs drag events even when the mouse pointer is dragged > off of the scrollbar and window altogether. Events should still fire, but the > previous instructions may make this confusing since it reads as if no events > should be output to the textarea at all. > > `TextAreaAppendScrollTest2.java` seems to not work when testing with the > previous implementation of programmatically appending strings to the > textarea. When I scroll down using the down arrow key, none of the text below > would be visible when the textarea is scrolled down. However, it would show > if I pressed `ENTER` to create a new line or manually modify the text in the > textarea first. So instead, I have implemented the original reported approach > to the test of adding a button to append a string to the textarea to test for > automatic scrolling when the word is wrapped to a new line.
Damon Nguyen has updated the pull request incrementally with one additional commit since the last revision: Review comment update ------------- Changes: - all: https://git.openjdk.org/jdk/pull/26636/files - new: https://git.openjdk.org/jdk/pull/26636/files/39ed1e87..d893a744 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=26636&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26636&range=01-02 Stats: 15 lines in 1 file changed: 3 ins; 9 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/26636.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/26636/head:pull/26636 PR: https://git.openjdk.org/jdk/pull/26636