From c8dc5ef3e5896ccb24ad6ec1c81ba81e333c7324 Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Mon, 20 Jul 2026 16:43:47 +0200 Subject: [PATCH 1/2] test: update fixture pubkys --- test/helpers/fixtures.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/helpers/fixtures.ts b/test/helpers/fixtures.ts index 2784464..fc6e894 100644 --- a/test/helpers/fixtures.ts +++ b/test/helpers/fixtures.ts @@ -12,12 +12,12 @@ export type PubkyContact = { name: string; pubky: string; ableToPay: boolean }; export const STAGING_TEST_CONTACTS: readonly PubkyContact[] = [ { name: 'Contact #1', - pubky: 'pubkywxqciwrn63jc9oabfrdgq9ju9toxb6pbmtstyy9gkkxs41gk3r5o', + pubky: 'pubkydrd11pqzgdfkocfo5mmp98r7545rrtpchq4djdzsbeat7kp3y7uy', ableToPay: false, }, { name: 'Contact #2', - pubky: 'pubkyqgzi1fg1d1m5yp44euu7g5g7t86c3bipi7ci8ca9czc367q779zy', + pubky: 'pubkyhq8y44ibogtfa6xyrt1etcyimq5zchmqcjj7ecpchfpgoo7sudqy', ableToPay: false, }, ] as const; @@ -26,12 +26,12 @@ export const STAGING_TEST_CONTACTS: readonly PubkyContact[] = [ export const STAGING_PAYKIT_CONTACTS: readonly PubkyContact[] = [ { name: 'Contact Paykit #1', - pubky: 'pubky5eobej68sfnzcpzs9sn8yaupdi6gj5546iiwrrbq3nucjf4f17qy', + pubky: 'pubky1jy146y751hkgqk9p69ds5cqf461aj5x7c8ptbca5rw6m9asotso', ableToPay: true, }, { name: 'Contact Paykit #2', - pubky: 'pubky9tm89bfrr3qxic5nbf9oyxfym4cd4jagx68ukogw1j1pz66ksq6y', + pubky: 'pubkynekaxdyt5ktoqyufd7cgug6qppa7999hm46wfqdzm6jqnr8tj16o', ableToPay: true, }, ] as const; From 4aa69e4b1741be819fb23e29103377e8d13e348b Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Tue, 21 Jul 2026 12:17:19 +0200 Subject: [PATCH 2/2] test update able to pay: false contacts --- test/helpers/fixtures.ts | 4 ++-- test/specs/pubky-profile.e2e.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/helpers/fixtures.ts b/test/helpers/fixtures.ts index fc6e894..50e960f 100644 --- a/test/helpers/fixtures.ts +++ b/test/helpers/fixtures.ts @@ -12,12 +12,12 @@ export type PubkyContact = { name: string; pubky: string; ableToPay: boolean }; export const STAGING_TEST_CONTACTS: readonly PubkyContact[] = [ { name: 'Contact #1', - pubky: 'pubkydrd11pqzgdfkocfo5mmp98r7545rrtpchq4djdzsbeat7kp3y7uy', + pubky: 'pubkyidufsk43b5hetzawksc639xpyc8ckkiq7dp7ye38jtpns1tyyjho', ableToPay: false, }, { name: 'Contact #2', - pubky: 'pubkyhq8y44ibogtfa6xyrt1etcyimq5zchmqcjj7ecpchfpgoo7sudqy', + pubky: 'pubkybonj981epe4abdkx3kpixbz9abjgadii7dwhgw4r76jrm96obyiy', ableToPay: false, }, ] as const; diff --git a/test/specs/pubky-profile.e2e.ts b/test/specs/pubky-profile.e2e.ts index 56482ed..858d885 100644 --- a/test/specs/pubky-profile.e2e.ts +++ b/test/specs/pubky-profile.e2e.ts @@ -5,6 +5,7 @@ import { elementByText, enterAddress, enterAddressViaScanPrompt, + expectText, getSeed, restoreWallet, sleep, @@ -213,6 +214,7 @@ describe('@pubky @pubky_profile - Pubky profile', () => { for (const [i, stagingContact] of STAGING_TEST_CONTACTS.entries()) { await addContact({ pubky: stagingContact.pubky, firstContact: i === 0 }); await verifyContactRowDisplayed(stagingContact.pubky); + await expectText(stagingContact.name); } // try add duplicate contact