From 4b9588c189544aee28e36f1fa66a23a7ed5ea27b Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 4 Oct 2024 08:55:48 +0200 Subject: [PATCH 1/7] refactor: refs #7825 modified worker list form to fill the field when a bank entity is created --- src/pages/Worker/WorkerList.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pages/Worker/WorkerList.vue b/src/pages/Worker/WorkerList.vue index f4ae20591..4b7d028e7 100644 --- a/src/pages/Worker/WorkerList.vue +++ b/src/pages/Worker/WorkerList.vue @@ -93,6 +93,11 @@ onBeforeMount(async () => { ).data?.payMethodFk; }); +const handleNewBankEntity = (response, formData) => { + bankEntitiesOptions.value = [...bankEntitiesOptions.value, response]; + formData.bankEntityFk = response.id; +}; + function handleLocation(data, location) { const { town, code, provinceFk, countryFk } = location ?? {}; data.postcode = code; @@ -319,7 +324,10 @@ async function autofillBic(worker) { > From e0c294bce61f055809d52c89a92ad91d1ab4788b Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 16 Oct 2024 09:16:57 +0200 Subject: [PATCH 7/7] test(claimDevelopment): skip intermitent e2e --- test/cypress/integration/claim/claimDevelopment.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cypress/integration/claim/claimDevelopment.spec.js b/test/cypress/integration/claim/claimDevelopment.spec.js index 81fc33ecd..eb39f340a 100755 --- a/test/cypress/integration/claim/claimDevelopment.spec.js +++ b/test/cypress/integration/claim/claimDevelopment.spec.js @@ -33,7 +33,8 @@ describe('ClaimDevelopment', () => { cy.saveCard(); }); - it('should add and remove new line', () => { + // TODO: #8112 + xit('should add and remove new line', () => { cy.wait(['@workers', '@workers']); cy.addCard();