@ministryofjustice/hmpps-probation-integration-e2e-tests 1.226.0 → 1.228.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 +1 -1
- package/steps/accredited-programmes/application.mjs +0 -1
- package/steps/api/arns/arns-api.d.mts +1 -3
- package/steps/api/court-case/court-case-api.d.mts +1 -3
- package/steps/api/probation-access-control/probation-access-control.d.mts +1 -3
- package/steps/cas1-approved-premises/create-booking.mjs +1 -1
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.228.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/ministryofjustice/hmpps-probation-integration-e2e-tests#readme",
|
|
7
7
|
"bugs": {
|
|
@@ -138,7 +138,6 @@ async function recordPostProgrammeSessionAttendance(page, person) {
|
|
|
138
138
|
name: "Sessions and attendance",
|
|
139
139
|
exact: true
|
|
140
140
|
}).click();
|
|
141
|
-
await page.getByRole("button", { name: /Post-programme reviews/ }).click();
|
|
142
141
|
await page.getByRole("link", { name: `${person.firstName} ${person.lastName}` }).click();
|
|
143
142
|
await expect(page.locator("h1.govuk-fieldset__heading")).toContainText(`${person.firstName} ${person.lastName}: Post programme review`);
|
|
144
143
|
await page.getByRole("button", { name: "Update attendance and notes" }).click();
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import * as _$playwright_core0 from "playwright-core";
|
|
2
|
-
|
|
3
1
|
//#region steps/api/arns/arns-api.d.ts
|
|
4
|
-
declare function getRisksFromArns(crn: string): Promise<
|
|
2
|
+
declare function getRisksFromArns(crn: string): Promise<import("playwright-core").APIResponse>;
|
|
5
3
|
//#endregion
|
|
6
4
|
export { getRisksFromArns };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import * as _$playwright_core0 from "playwright-core";
|
|
2
|
-
|
|
3
1
|
//#region steps/api/court-case/court-case-api.d.ts
|
|
4
|
-
declare function addCourtHearing(hearing: CourtHearing): Promise<
|
|
2
|
+
declare function addCourtHearing(hearing: CourtHearing): Promise<import("playwright-core").APIResponse>;
|
|
5
3
|
interface CourtHearing {
|
|
6
4
|
hearing: {
|
|
7
5
|
jurisdictionType: string;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import * as _$playwright_core0 from "playwright-core";
|
|
2
|
-
|
|
3
1
|
//#region steps/api/probation-access-control/probation-access-control.d.ts
|
|
4
|
-
declare function getAccessControlForUserAndPerson(user: string, crn: string): Promise<
|
|
2
|
+
declare function getAccessControlForUserAndPerson(user: string, crn: string): Promise<import("playwright-core").APIResponse>;
|
|
5
3
|
//#endregion
|
|
6
4
|
export { getAccessControlForUserAndPerson };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NextMonth, Tomorrow } from "../delius/utils/date-time.mjs";
|
|
2
|
-
import { splitDate } from "../common/common.mjs";
|
|
3
2
|
import { selectApprovedPremises } from "./approved-premises-home.mjs";
|
|
4
3
|
import { selectCreatePlacementAction } from "./approved-premises.mjs";
|
|
4
|
+
import { splitDate } from "../common/common.mjs";
|
|
5
5
|
import { login, navigateToApplications } from "./login.mjs";
|
|
6
6
|
import { submitAPApplication } from "./applications/submit-application-full.mjs";
|
|
7
7
|
import { searchOffenderWithCrn } from "./create-placement.mjs";
|