Ideally the console tests should work with HtmlUnit, but failing that they
certainly need to work with PhantomJS.
Pavel - any chance we can get the console tests working with HtmlUnit? If
not I guess we need to set the default for the console tests to PhantomJS.
On 30 May 2017 at 17:37, Alex Szczuczko <aszczucz(a)redhat.com> wrote:
Hi,
I just lost a couple days to a really simple mistake when running the UI
tests. I didn't set -Dbrowser=firefox, so the headless WebDriver was used,
which produces a lot of impossible errors that I couldn't figure out at
all. To save the next person the same agony, I think there are two possible
solutions:
1. Define a default browser=firefox property in testsuite/integration-
arquillian/tests/other/console/pom.xml
2. Use a plugin to fail the build if the user has not defined the browser
property on the command line.
Note that you need to enable a profile to run these tests
(-Pconsole-ui-tests), so this doesn't impact the project's normal mvn clean
install.
Opinions on either of these options?
Thanks,
Alex
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev