Skip to content

Commit

Permalink
ARO-9501: Fix E2E panic when ARO_SELENIUM_HOSTNAME is empty (#3909)
Browse files Browse the repository at this point in the history
  • Loading branch information
lranjbar authored Oct 21, 2024
1 parent d2a21c6 commit 32dac80
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,10 @@ func adminPortalSessionSetup() (string, *selenium.WebDriver) {
hubPort = 4444
hostPort = 8444
)
hubAddress := os.Getenv("ARO_SELENIUM_HOSTNAME")
hubAddress, exists := os.LookupEnv("ARO_SELENIUM_HOSTNAME")
if !exists {
hubAddress = "localhost"
}
os.Setenv("SE_SESSION_REQUEST_TIMEOUT", "9000")

caps := selenium.Capabilities{
Expand Down

0 comments on commit 32dac80

Please sign in to comment.