@ministryofjustice/hmpps-probation-integration-e2e-tests 1.153.0 → 1.154.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.154.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/ministryofjustice/hmpps-probation-integration-e2e-tests#readme",
|
|
7
7
|
"bugs": {
|
|
@@ -25,6 +25,7 @@ async function createUpwProject(page, { providerName, teamName, projectType = "G
|
|
|
25
25
|
await page.fill("#ProjectCode\\:prependedInputText", projectCode);
|
|
26
26
|
await page.fill("#ProjectName\\:inputText", projectName);
|
|
27
27
|
await fillDate(page, "#ProjectStartDate\\:datePicker", /* @__PURE__ */ new Date());
|
|
28
|
+
await fillDate(page, "#ProjectEndDate\\:datePicker", Tomorrow.toJSDate());
|
|
28
29
|
await page.getByRole("button", { name: "Save" }).click();
|
|
29
30
|
await expect(page.locator("#content > h1")).toContainText("Update Project");
|
|
30
31
|
await addProjectAvailability(page, projectAvailability);
|