[keycloak-dev] The browser property and the org.keycloak.testsuite.console.* UI tests

Stian Thorgersen sthorger at redhat.com
Wed May 31 02:31:33 EDT 2017

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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev

More information about the keycloak-dev mailing list