From b399a54a1f47bde03f320fb3a5320c19e5325077 Mon Sep 17 00:00:00 2001 From: Kurt Date: Thu, 23 Mar 2023 10:10:15 +0000 Subject: [PATCH] CIV-0000 PBA testing (#2390) * Adding fix for api test pbav3 enabled * Update PR * Fix api test * Update api_1v1_test.js * Update fix * Update steps.js * Update step test * added e2e page change and pba value as toggle was turned off * lint * Added wait * moved steps call * Update steps.js * Update steps_file_LRspec.js * linting * Update pbaNumber.page.js * Update pbaNumber.page.js * Update pbaNumber.page.js * Update test * removed service pointing * removed toggle hard coding * Adding fix for api test pbav3 enabled * Update PR * added e2e page change and pba value as toggle was turned off * Fix api test * Update api_1v1_test.js * Update fix * Update steps.js * Update step test * lint * Added wait * moved steps call * Update steps.js * Update steps_file_LRspec.js * linting * removed service pointing * Update pbaNumber.page.js * Update pbaNumber.page.js * Update pbaNumber.page.js * Update test * removed toggle hard coding * CIV-6955 Attempting again with build * Revert "CIV-6955 Attempting again with build" This reverts commit 289fe26513706e4f52be22e18bbb6677f6c421bd. * CIV-6955 Attempting with PBAv3 turned on from civil-service pr image This reverts commit 66e9509a9bcdadc710d6970a64dcb202acf90102. * Revert "CIV-6955 Attempting with PBAv3 turned on from civil-service pr image" This reverts commit 14f375599210e8b994c328b2829a32a6af07855a. * pointed to pba service image * removed pointing to service pr * api test investigation * removed pba condition on object type * found erronious pba in place of string and replaced toggle checker * linting * updated days as 40 falls on a bank holiday so test is failing today --------- Co-authored-by: miguelMolina3691 Co-authored-by: skhajuria Co-authored-by: Filippo Possenti --- e2e/fixtures/events/createClaimSpecFast.js | 2 +- e2e/fixtures/events/informAgreeExtensionDateSpec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/fixtures/events/createClaimSpecFast.js b/e2e/fixtures/events/createClaimSpecFast.js index 4af664fe4d..d3b86c1b37 100644 --- a/e2e/fixtures/events/createClaimSpecFast.js +++ b/e2e/fixtures/events/createClaimSpecFast.js @@ -203,7 +203,7 @@ module.exports = { version: 'string' }, ...isPBAv3(pbaV3) ? { - paymentTypePBASpec: 'PBAv3' + paymentTypePBASpec: 'string' } : {}, } } diff --git a/e2e/fixtures/events/informAgreeExtensionDateSpec.js b/e2e/fixtures/events/informAgreeExtensionDateSpec.js index 67e52162eb..52dde7ab93 100644 --- a/e2e/fixtures/events/informAgreeExtensionDateSpec.js +++ b/e2e/fixtures/events/informAgreeExtensionDateSpec.js @@ -6,7 +6,7 @@ module.exports = { const extension = { userInput: { ExtensionDate: { - respondentSolicitor1AgreedDeadlineExtension: dateNoWeekends(40) + respondentSolicitor1AgreedDeadlineExtension: dateNoWeekends(30) } }, midEventData: {