geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Oleske <mole...@pivotal.io>
Subject Re: How to run PulseAuthorizationTest
Date Mon, 22 Apr 2019 20:19:10 GMT
These test require you to have the Chrome Driver from Selenium.  You can
find it here

https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver

If you are on a Mac, you can probably (haven't tested this in awhile) use
brew with this command

brew cask install chromedriver

-michael

On Mon, Apr 22, 2019 at 12:15 PM Kirk Lund <klund@apache.org> wrote:

> Is there a way to run a geode-pulse uiTest on the command-line without it
> failing due to "webdriver.chrome.driver system property"? I would expect
> the gradle build to be setting this property.
>
> $ ./gradlew geode-pulse:uiTest --tests PulseAuthorizationTest
>
> ...
>
> > Task :geode-pulse:uiTest
>
> org.apache.geode.tools.pulse.tests.ui.PulseAuthorizationTest >
> authenticatedUserWithNoClusterReadPermissionShouldGetAccessDeniedPage
> FAILED
>     java.lang.IllegalStateException: The path to the driver executable must
> be set by the webdriver.chrome.driver system property; for more
> information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver.
> The latest version can be downloaded from
> http://chromedriver.storage.googleapis.com/index.html
>
> org.apache.geode.tools.pulse.tests.ui.PulseAuthorizationTest >
>
> authenticatedUserWithClusterReadButNoDataReadPermissionShouldSeeClusterDetailsButGetAccessDeniedPageForDataBrowser
> FAILED
>     java.lang.IllegalStateException: The path to the driver executable must
> be set by the webdriver.chrome.driver system property; for more
> information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver.
> The latest version can be downloaded from
> http://chromedriver.storage.googleapis.com/index.html
>
> 2 tests completed, 2 failed
>
> > Task :geode-pulse:uiTest FAILED
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message