I would like to start a discussion on how to test graphical user interfaces
related to WildFly.
There's a demand to test the client side of OpenID Connect. Other use cases
are integration tests in the Quickstarts [1] and smoke tests in the WildFly
test suite [2]. There has already been some discussion about this topic in
the chat [3].
We should find a common approach used for these use cases. There are several
different approaches:
1. Use Arquillian Drone and Graphene, Selenium and a WebDriver backed by
HtmlUnit. This approach is currently used in [2].
2. Use Arquillian Drone and Graphene, Selenium and a remote WebDriver provided
by Testcontainers [4].
3. Use HtmlUnit only
The list is not meant to be complete. Please let me know if you have any
suggestions for other methods or tools that could help us with our testing
needs.
One thing to keep in mind is that the final approach has to work also in a
closed CI environment without downloading resources from external
sources/repositories.
[1]
https://issues.redhat.com/browse/WFLY-20129
[2]
https://issues.redhat.com/browse/WFLY-20322
[3]
https://wildfly.zulipchat.com/#narrow/channel/174184-wildfly-developers/t...
[4]
https://java.testcontainers.org/modules/webdriver_containers/
--
Harald Pehl