Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/helpers/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 'pubkyidufsk43b5hetzawksc639xpyc8ckkiq7dp7ye38jtpns1tyyjho',
ableToPay: false,
},
{
name: 'Contact #2',
pubky: 'pubkyqgzi1fg1d1m5yp44euu7g5g7t86c3bipi7ci8ca9czc367q779zy',
pubky: 'pubkybonj981epe4abdkx3kpixbz9abjgadii7dwhgw4r76jrm96obyiy',
ableToPay: false,
},
] as const;
Expand All @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions test/specs/pubky-profile.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
elementByText,
enterAddress,
enterAddressViaScanPrompt,
expectText,
getSeed,
restoreWallet,
sleep,
Expand Down Expand Up @@ -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
Expand Down