@ministryofjustice/hmpps-probation-integration-e2e-tests 1.186.0 → 1.188.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.
|
|
4
|
+
"version": "1.188.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/ministryofjustice/hmpps-probation-integration-e2e-tests#readme",
|
|
7
7
|
"bugs": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as playwright_core0 from "playwright-core";
|
|
1
|
+
import * as _$playwright_core0 from "playwright-core";
|
|
2
2
|
|
|
3
3
|
//#region steps/api/arns/arns-api.d.ts
|
|
4
|
-
declare function getRisksFromArns(crn: string): Promise<playwright_core0.APIResponse>;
|
|
4
|
+
declare function getRisksFromArns(crn: string): Promise<_$playwright_core0.APIResponse>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { getRisksFromArns };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as playwright_core0 from "playwright-core";
|
|
1
|
+
import * as _$playwright_core0 from "playwright-core";
|
|
2
2
|
|
|
3
3
|
//#region steps/api/court-case/court-case-api.d.ts
|
|
4
|
-
declare function addCourtHearing(hearing: CourtHearing): Promise<playwright_core0.APIResponse>;
|
|
4
|
+
declare function addCourtHearing(hearing: CourtHearing): Promise<_$playwright_core0.APIResponse>;
|
|
5
5
|
interface CourtHearing {
|
|
6
6
|
hearing: {
|
|
7
7
|
jurisdictionType: string;
|
|
@@ -45,7 +45,7 @@ const createContact = async (page, crn, options) => {
|
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
const createInitialAppointment = async (page, crn, eventNumber, team = null) => createContact(page, crn, {
|
|
48
|
-
relatesTo: `Event ${eventNumber} -
|
|
48
|
+
relatesTo: `Event ${eventNumber} - SA2020 Community Order (6 Months)`,
|
|
49
49
|
allocation: { team },
|
|
50
50
|
date: Tomorrow.toJSDate(),
|
|
51
51
|
startTime: Tomorrow.toJSDate(),
|
|
@@ -6,10 +6,10 @@ import { findOffenderByCRN } from "../offender/find-offender.mjs";
|
|
|
6
6
|
import { expect } from "@playwright/test";
|
|
7
7
|
import { faker } from "@faker-js/faker";
|
|
8
8
|
//#region steps/delius/event/create-event.ts
|
|
9
|
-
const autoAddComponent = ["
|
|
9
|
+
const autoAddComponent = ["SA2020 Community Order\""];
|
|
10
10
|
const autoAddCourtReport = ["Adjourned - Pre-Sentence Report"];
|
|
11
11
|
const requiresAdditionalOutcomeDetails = [
|
|
12
|
-
"
|
|
12
|
+
"SA2020 Community Order",
|
|
13
13
|
"Adult Custody < 12m",
|
|
14
14
|
"CJA - Std Determinate Custody"
|
|
15
15
|
];
|