Bruce and Clebert thanks a lot for your feedback and suggestions. I didn't know cypress.io, it is very impressive. ATM selenium seems the most advantageous choice because it can be executed using the standalone docker images[1] and they can be easily integrated in the junit tests using the relative testcontainers modules[2]. This feature will allow anyone to create and to run the interactive web console tests without installing selenium. I have updated my POC to use the testcontainers modules[3].
[1] https://hub.docker.com/u/selenium [2] https://www.testcontainers.org/modules/webdriver_containers/ [3] https://github.com/brusdev/activemq-artemis/blob/add_console_tests/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/ConsoleTest.java Thanks, Domenico Il giorno mer 16 dic 2020 alle ore 19:54 Bruce Snyder < [email protected]> ha scritto: > An alternative to Selenium that is much more modern and powerful: > > https://www.cypress.io/ > > Bruce > > On Wed, Dec 16, 2020 at 08:18 Clebert Suconic <[email protected]> > wrote: > > > Selenium is apache 2.0 license... > > > > > > I'm +1000 on this actually... Go for it! > > > > On Tue, Dec 15, 2020 at 3:07 PM Clebert Suconic > > <[email protected]> wrote: > > > > > > I looked into this.. and it looked a solid choice. > > > > > > This is a very positive contribution, no one should oppose to anything > > > like this IMO. > > > > > > Only thing I would say is to document on README or Hacking (maybe > > > both) on how someone would run such tests.... > > > > > > On Mon, Dec 14, 2020 at 9:31 AM Domenico Francesco Bruscino > > > <[email protected]> wrote: > > > > > > > > I would like to add some tests to check the Artemis web console. I > have > > > > used the selenium framework[1] to create a POC[2]. Do you know a > > better web > > > > application testing framework? > > > > > > > > [1] https://github.com/SeleniumHQ/selenium > > > > [2] > > > > > > > https://github.com/brusdev/activemq-artemis/blob/add_console_tests/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/console/ConsoleLoginTest.java > > > > > > > > Thanks, > > > > Domenico > > > > > > > > > > > > -- > > > Clebert Suconic > > > > > > > > -- > > Clebert Suconic > > > -- > perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E > > ActiveMQ in Action: http://bit.ly/2je6cQ > Blog: http://bsnyder.org/ > Twitter: http://twitter.com/brucesnyder >
