@ministryofjustice/hmpps-probation-integration-e2e-tests 1.91.0 → 1.93.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ministryofjustice/hmpps-probation-integration-e2e-tests",
3
3
  "description": "Playwright end to end tests for hmpps-probation-integration-services.",
4
- "version": "1.91.0",
4
+ "version": "1.93.0",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/ministryofjustice/hmpps-probation-integration-e2e-tests#readme",
7
7
  "bugs": {
@@ -18,7 +18,7 @@
18
18
  "devDependencies": {
19
19
  "@faker-js/faker": "^9.0.3",
20
20
  "@kubernetes/client-node": "^1.0.0",
21
- "@playwright/test": "1.53.2",
21
+ "@playwright/test": "1.54.1",
22
22
  "@types/luxon": "^3.4.2",
23
23
  "@types/node": "^24.0.7",
24
24
  "@types/uuid": "^10.0.0",
@@ -44,7 +44,7 @@ export var getToken = function () { return __awaiter(void 0, void 0, void 0, fun
44
44
  })];
45
45
  case 1:
46
46
  context = _a.sent();
47
- creds = Buffer.from("".concat(process.env.CRED_USERNAME, ":").concat(process.env.CRED_PASSWORD)).toString('base64');
47
+ creds = Buffer.from("".concat(process.env.HMPPS_AUTH_CLIENT_ID, ":").concat(process.env.HMPPS_AUTH_CLIENT_SECRET)).toString('base64');
48
48
  return [4 /*yield*/, context.post("/auth/oauth/token?grant_type=client_credentials&username=".concat(process.env.DPS_USERNAME), {
49
49
  headers: {
50
50
  Accept: 'application/json',
@@ -1 +1 @@
1
- {"version":3,"file":"get-token.js","sourceRoot":"","sources":["../../../../steps/api/auth/get-token.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAE1C,MAAM,CAAC,IAAM,QAAQ,GAAG;;;;oBACJ,qBAAM,OAAO,CAAC,UAAU,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