@ministryofjustice/hmpps-probation-integration-e2e-tests 1.217.0 → 1.218.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.218.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/ministryofjustice/hmpps-probation-integration-e2e-tests#readme",
|
|
7
7
|
"bugs": {
|
|
@@ -65,8 +65,8 @@ async function createCheckin(page, uuid, person) {
|
|
|
65
65
|
await page.getByRole("checkbox", { name: "No, I do not need any support" }).check();
|
|
66
66
|
await page.getByRole("button", { name: "Continue" }).click();
|
|
67
67
|
await page.getByRole("button", { name: "Continue" }).click();
|
|
68
|
-
await page.
|
|
69
|
-
await page.getByRole("button", { name: /Submit
|
|
68
|
+
await page.goto(`${process.env.PROBATION_CHECK_IN_URL}/${uuid}/liveness/view`);
|
|
69
|
+
await page.getByRole("button", { name: /Submit anyway/ }).click();
|
|
70
70
|
await page.getByRole("checkbox", { name: /I confirm/ }).check();
|
|
71
71
|
await page.getByRole("button", { name: "Complete check in" }).click();
|
|
72
72
|
await expect(page.locator("h1")).toContainText("Check in completed");
|