On Fri, 10 Mar 2023 19:50:03 GMT, Alexander Zuev <kiz...@openjdk.org> wrote:

> My question would be - is it really necessary to bring the entire HTML set 
> from the demo to test the accessibility? 

The idea to get entire HTML set is that we can validate the child count for 
existing HTML doc (index and title html files). It should be similar to 
swingset2 demo. 

> Can we just create a small and simple HTML document with some structure that 
> should be interpreted as a document with nested children? 

I think we can, I will try to check this.

> Additionally - i do not understand why do we even need an interactive UI test 
> with the robot and such. Why is it necessary?

When html files are loaded in JEditorPane and I try to get the child count, it 
always returned 1. So, I thought to change the page and get child count using 
interactive UI and it does return the correct child count.

> Why simple creation of JEditorPane and assigning url to it does not work?

I am not sure why it doesn't return the correct child count by simply assigning 
url to JEditorpane.

-------------

PR: https://git.openjdk.org/jdk/pull/12707

Reply via email to