Skip to content

Commit

Permalink
fix routes test
Browse files Browse the repository at this point in the history
  • Loading branch information
futurepaul committed Mar 25, 2024
1 parent 033da5f commit d68feab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 27 deletions.
28 changes: 2 additions & 26 deletions e2e/routes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ const settingsRoutes = [
"/plus",
"/restore",
"/servers",
"/syncnostrcontacts",
"/federations"
"/nostrkeys"
];

const settingsRoutesPrefixed = settingsRoutes.map((route) => {
Expand Down Expand Up @@ -96,31 +95,8 @@ test("visit each route", async ({ page }) => {
await checkRoute(page, "/settings/servers", "Servers", checklist);
await page.goBack();

// Connections
await checkRoute(
page,
"/settings/connections",
"Wallet Connections",
checklist
);
await page.goBack();

// Sync Nostr Contacts
await checkRoute(
page,
"/settings/syncnostrcontacts",
"Sync Nostr Contacts",
checklist
);
await page.goBack();

// Manage Federations
await checkRoute(
page,
"/settings/federations",
"Manage Federations",
checklist
);
await checkRoute(page, "/settings/nostrkeys", "Nostr Keys", checklist);
await page.goBack();

// Emergency Kit
Expand Down
1 change: 0 additions & 1 deletion src/components/EditProfileForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ export function EditProfileForm(props: {
<Match when={props.initialProfile?.imageUrl}>
<img src={props.initialProfile?.imageUrl} />
</Match>
<Match when={true}>+</Match>
</Switch>
</div>
<div class="absolute top-0 flex h-[8rem] w-[8rem] items-center justify-center bg-m-grey-975/25">
Expand Down

0 comments on commit d68feab

Please sign in to comment.