From c53fb940dec5a4b46837944d617dd5928b4a0d17 Mon Sep 17 00:00:00 2001 From: Georgios Jason Efstathiou Date: Tue, 26 Sep 2023 11:45:05 +0200 Subject: [PATCH 1/2] fix: drip list editor not updating drip list --- src/lib/flows/edit-drip-list/steps/edit-drip-list.svelte | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/flows/edit-drip-list/steps/edit-drip-list.svelte b/src/lib/flows/edit-drip-list/steps/edit-drip-list.svelte index aba780661..c2f7dcff6 100644 --- a/src/lib/flows/edit-drip-list/steps/edit-drip-list.svelte +++ b/src/lib/flows/edit-drip-list/steps/edit-drip-list.svelte @@ -105,10 +105,7 @@ const callerClient = await getCallerClient(); const { receivers, projectsSplitMetadata } = - await dripListService.getProjectsSplitMetadataAndReceivers({ - percentages, - items, - }); + await dripListService.getProjectsSplitMetadataAndReceivers(dripList); const setSplitsTx = await nftDriverTxFactory.setSplits(dripListId, receivers); From f9da6e2f87a007a8e3f9dbfc053ea40510b3530c Mon Sep 17 00:00:00 2001 From: Georgios Jason Efstathiou Date: Tue, 26 Sep 2023 11:47:24 +0200 Subject: [PATCH 2/2] test: ensure drip list editing properly tested --- src/e2e-tests/top-up-create-stream.e2e.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/e2e-tests/top-up-create-stream.e2e.test.ts b/src/e2e-tests/top-up-create-stream.e2e.test.ts index d07182b4a..0c7965902 100644 --- a/src/e2e-tests/top-up-create-stream.e2e.test.ts +++ b/src/e2e-tests/top-up-create-stream.e2e.test.ts @@ -550,6 +550,7 @@ describe('app', async () => { await expect(page.locator('text=This is an EDITED title')).toHaveCount(1); await expect(page.locator('text=This is an EDITED description.')).toHaveCount(1); + await expect(page.locator('text=drips-test-repo-11')).toHaveCount(1); await expect(page.locator('text=0x43')).toHaveCount(0); });