diff --git a/.zap/autorun.yml b/.zap/autorun.yml index 5a703057..8ce69808 100644 --- a/.zap/autorun.yml +++ b/.zap/autorun.yml @@ -3,19 +3,19 @@ env: contexts: - name: HMPPSAuth urls: - - "https://manage-a-supervision-dev.hmpps.service.justice.gov.uk" + - "https://manage-people-on-probation-dev.hmpps.service.justice.gov.uk" includePaths: - - "https://manage-a-supervision-dev.hmpps.service.justice.gov.uk.*" + - "https://manage-people-on-probation-dev.hmpps.service.justice.gov.uk.*" excludePaths: - "https://sign-in-dev.hmpps.service.justice.gov.uk.*" authentication: method: browser parameters: - loginPageUrl: "https://sign-in-dev.hmpps.service.justice.gov.uk/auth/sign-in?redirect_uri=https://manage-a-supervision-dev.hmpps.service.justice.gov.uk/sign-in/callback" - loginRequestUrl: "https://sign-in-dev.hmpps.service.justice.gov.uk/auth/sign-in?redirect_uri=https://manage-a-supervision-dev.hmpps.service.justice.gov.uk/sign-in/callback" + loginPageUrl: "https://sign-in-dev.hmpps.service.justice.gov.uk/auth/sign-in?redirect_uri=https://manage-people-on-probation-dev.hmpps.service.justice.gov.uk/sign-in/callback" + loginRequestUrl: "https://sign-in-dev.hmpps.service.justice.gov.uk/auth/sign-in?redirect_uri=https://manage-people-on-probation-dev.hmpps.service.justice.gov.uk/sign-in/callback" verification: method: "poll" - pollUrl: "https://manage-a-supervision-dev.hmpps.service.justice.gov.uk/" + pollUrl: "https://manage-people-on-probation-dev.hmpps.service.justice.gov.uk/" pollFrequency: 1 pollUnits: "requests" loggedInRegex: "\\Q 200\\E" @@ -43,7 +43,7 @@ jobs: parameters: context: "HMPPSAuth" user: "TestUser" - url: "https://manage-a-supervision-dev.hmpps.service.justice.gov.uk/case/X756510" + url: "https://manage-people-on-probation-dev.hmpps.service.justice.gov.uk/case/X756510" maxDuration: 5 # minutes - name: "Add script" type: script @@ -77,7 +77,7 @@ jobs: confidences: - high sites: - - "https://manage-a-supervision-dev.hmpps.service.justice.gov.uk" + - "https://manage-people-on-probation-dev.hmpps.service.justice.gov.uk" - name: "JSON Report" type: report parameters: @@ -91,4 +91,4 @@ jobs: confidences: - high sites: - - "https://manage-a-supervision-dev.hmpps.service.justice.gov.uk" + - "https://manage-people-on-probation-dev.hmpps.service.justice.gov.uk" diff --git a/.zap/traverse.js b/.zap/traverse.js index 9afac7e9..c7adcb45 100644 --- a/.zap/traverse.js +++ b/.zap/traverse.js @@ -1,5 +1,5 @@ function listChildren(node, level) { - let j + var j for (j = 0; j < node.getChildCount(); j++) { print(Array(level + 1).join(' ') + node.getChildAt(j).getNodeName()) listChildren(node.getChildAt(j), level + 1)