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
2 changes: 0 additions & 2 deletions test/helpers/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1388,8 +1388,6 @@ export type ToastId =
| 'ExpiredLightningToast'
| 'DevModeEnabledToast'
| 'DevModeDisabledToast'
| 'PaykitUiEnabledToast'
| 'PaykitUiDisabledToast'
| 'InsufficientSpendingToast'
| 'InsufficientSavingsToast'
| 'ProfilePubkyCopiedToast'
Expand Down
10 changes: 0 additions & 10 deletions test/helpers/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ export async function openSupport() {
await sleep(500);
}

/**
* Opens Dev Settings from the Advanced settings tab.
*/
export async function openDevSettings() {
await openSettings('advanced');
await elementById('DevSettings').waitForDisplayed();
await tap('DevSettings');
await sleep(500);
}

/**
* Opens the Contacts entry from the drawer menu.
*/
Expand Down
65 changes: 0 additions & 65 deletions test/helpers/paykit.ts

This file was deleted.

2 changes: 0 additions & 2 deletions test/helpers/qa-fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import path from 'node:path';

import { completeOnboarding, receiveOnchainFunds, transferSavingsToSpending } from './actions';
import { doNavigationClose } from './navigation';
import { enablePaykitUi } from './paykit';
import { createProfile } from './profile';
import type { ElectrumClient } from './electrum';

Expand Down Expand Up @@ -89,7 +88,6 @@ export async function applyQaFixture(
}

if (needsProfile(kind)) {
await enablePaykitUi();
result.profileName = profileName();
const created = await createProfile({ name: result.profileName });
result.pubky = created.pubky;
Expand Down
2 changes: 0 additions & 2 deletions test/specs/paykit.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
} from '../helpers/actions';
import { STAGING_PAYKIT_CONTACTS } from '../helpers/fixtures';
import { doNavigationClose, openContacts } from '../helpers/navigation';
import { enablePaykitUi } from '../helpers/paykit';
import { addContact, createProfile, verifyAddContactRoute } from '../helpers/profile';
import { reinstallApp } from '../helpers/setup';
import { ciIt } from '../helpers/suite';
Expand Down Expand Up @@ -139,7 +138,6 @@ describe('@pubky @paykit @pubky_staging, @staging - Public payments', () => {
beforeEach(async () => {
await reinstallApp();
await completeOnboarding();
await enablePaykitUi();
});

ciIt('@paykit_1 - Can pay saved contact via public on-chain endpoint', async () => {
Expand Down
5 changes: 0 additions & 5 deletions test/specs/pubky-profile.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
} from '../helpers/actions';
import { STAGING_TEST_CONTACTS } from '../helpers/fixtures';
import { openContacts, openProfile } from '../helpers/navigation';
import { enablePaykitUi } from '../helpers/paykit';
import {
addContact,
ADD_CONTACT_INVALID_KEY_MESSAGE_SNIPPET,
Expand Down Expand Up @@ -48,7 +47,6 @@ describe('@pubky @pubky_profile @pubky_staging, @staging - Pubky profile', () =>
beforeEach(async () => {
await reinstallApp();
await completeOnboarding();
await enablePaykitUi();
});

// Section A: with no profile, every entry point must funnel into the choice screen.
Expand Down Expand Up @@ -125,7 +123,6 @@ describe('@pubky @pubky_profile @pubky_staging, @staging - Pubky profile', () =>
console.warn(error);
}
await restoreWallet(seed);
await enablePaykitUi();
await verifyMyProfileDetails(details);
const pubkyAfterRestore = await readPubkyFromProfileCopy();
await expect(pubkyAfterRestore).toBe(pubky.trim());
Expand Down Expand Up @@ -235,7 +232,6 @@ describe('@pubky @pubky_profile @pubky_staging, @staging - Pubky profile', () =>
);
await reinstallApp();
await completeOnboarding();
await enablePaykitUi();
await createProfile({ name: 'Bob Wallet B' });

await addContact({ pubky: pubkyA, firstContact: true });
Expand All @@ -256,7 +252,6 @@ describe('@pubky @pubky_profile @pubky_staging, @staging - Pubky profile', () =>
'Wallet A: restore wallet A and verify wallet A profile is unchanged by wallet B contact edits.'
);
await restoreWallet(seedA);
await enablePaykitUi();
await verifyMyProfileDetails(detailsA);
}
);
Expand Down