File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ export const FRONTEND_BASE_URL: string = __ENV.FRONTEND_BASE_URL?.replace(
88 / \/ $ / ,
99 "" ,
1010)
11- export const SSO_BASE_URL : string = __ENV . SSO_BASE_URL ?. replace ( / \/ $ / , "" )
11+ export const SSO_BASE_URL : string = (
12+ __ENV . SSO_BASE_URL ?? "http://localhost"
13+ ) . replace ( / \/ $ / , "" )
1214
1315export const IGNORE_HTTPS_ERRORS : boolean =
1416 ( __ENV . IGNORE_HTTPS_ERRORS || "false" ) . toLowerCase ( ) == "true"
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ async function loginKeycloak(
103103 await page . locator ( "button[type=submit]" ) . click ( )
104104 console . log ( "Login > Keycloak > submitting email address" )
105105
106- await page . waitForNavigation ( KEYCLOAK_PASSWORD_URL_RE )
106+ await page . waitForURL ( KEYCLOAK_PASSWORD_URL_RE )
107107 console . log ( "Login > Keycloak > on login password page" )
108108
109109 const passwordInput = await page . locator ( "input[name=password]" )
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ export const options = {
3939 thresholds : {
4040 // the rate of successful checks should be higher than 90%
4141 checks : [ "rate>0.9" ] ,
42+ http_req_failed : [ "rate<0.01" ] ,
43+ browser_http_req_failed : [ "rate<0.05" ] ,
4244 } ,
4345 insecureSkipTLSVerify : IGNORE_HTTPS_ERRORS ,
4446}
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ export const options = {
3030 thresholds : {
3131 // the rate of successful checks should be higher than 90%
3232 checks : [ "rate>0.9" ] ,
33+ http_req_failed : [ "rate<0.01" ] ,
34+ browser_http_req_failed : [ "rate<0.05" ] ,
3335 } ,
3436 insecureSkipTLSVerify : IGNORE_HTTPS_ERRORS ,
3537}
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ export const options = {
3939 thresholds : {
4040 // the rate of successful checks should be higher than 90%
4141 checks : [ "rate>0.9" ] ,
42+ http_req_failed : [ "rate<0.01" ] ,
43+ browser_http_req_failed : [ "rate<0.05" ] ,
4244 } ,
4345 insecureSkipTLSVerify : IGNORE_HTTPS_ERRORS ,
4446}
You can’t perform that action at this time.
0 commit comments