Skip to content

Commit

Permalink
rc5
Browse files Browse the repository at this point in the history
  • Loading branch information
futurepaul committed Mar 25, 2024
1 parent 33b8190 commit 52d89a2
Show file tree
Hide file tree
Showing 37 changed files with 2,011 additions and 2,456 deletions.
8 changes: 3 additions & 5 deletions e2e/fedimint.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect, test } from "@playwright/test";

import { loadHome, visitSettings } from "./utils";
import { loadHome } from "./utils";

const SIGNET_INVITE_CODE =
"fed11qgqzc2nhwden5te0vejkg6tdd9h8gepwvejkg6tdd9h8garhduhx6at5d9h8jmn9wshxxmmd9uqqzgxg6s3evnr6m9zdxr6hxkdkukexpcs3mn7mj3g5pc5dfh63l4tj6g9zk4er";
Expand All @@ -11,10 +11,9 @@ test.beforeEach(async ({ page }) => {

test("fedmint join, receive, send", async ({ page }) => {
await loadHome(page);
await visitSettings(page);

// Click "Manage Federations" link
await page.click("text=Manage Federations");
// Click "Join a federation" cta
await page.click("text=Join a federation");

// Fill the input with the federation code
await page.fill("input[name='federation_code']", SIGNET_INVITE_CODE);
Expand All @@ -29,7 +28,6 @@ test("fedmint join, receive, send", async ({ page }) => {

// Navigate back home
await page.goBack();
await page.goBack();

// Click the top left button (it's the profile button), a child of header
// TODO: better ARIA stuff
Expand Down
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
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@
"@capacitor/share": "^5.0.6",
"@capacitor/status-bar": "^5.0.6",
"@capacitor/toast": "^5.0.6",
"@kobalte/core": "^0.12.1",
"@kobalte/core": "^0.12.6",
"@kobalte/tailwindcss": "^0.9.0",
"@mutinywallet/mutiny-wasm": "0.6.0-rc3",
"@mutinywallet/mutiny-wasm": "0.6.0-rc5",
"@modular-forms/solid": "^0.20.0",
"@solid-primitives/upload": "^0.0.111",
"@solid-primitives/upload": "^0.0.117",
"@solidjs/meta": "^0.29.3",
"@solidjs/router": "^0.10.9",
"@solidjs/router": "^0.13.1",
"capacitor-secure-storage-plugin": "^0.9.0",
"i18next": "^23.10.1",
"i18next-browser-languagedetector": "^7.1.0",
"lucide-solid": "^0.330.0",
"lucide-solid": "^0.363.0",
"qr-scanner": "^1.4.2",
"solid-js": "^1.8.12",
"solid-js": "^1.8.16",
"solid-qr-code": "^0.0.8",
"solid-transition-group": "^0.2.3"
},
Expand Down
Loading

0 comments on commit 52d89a2

Please sign in to comment.