diff --git a/test/e2e/setup.go b/test/e2e/setup.go index 88158750afe..b352c29813b 100644 --- a/test/e2e/setup.go +++ b/test/e2e/setup.go @@ -237,13 +237,13 @@ func adminPortalSessionSetup() (string, *selenium.WebDriver) { } if err := wd.AddCookie(cookieGroup); err != nil { - panic(err) + panic("error while adding the cookie:" + err.Error()) } if err := wd.AddCookie(cookieUser); err != nil { - panic(err) + panic("error while adding the cookie:" + err.Error()) } if err := wd.AddCookie(cookieAuth); err != nil { - panic(err) + panic("error while adding the cookie:" + err.Error()) } return host, &wd