1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-14 20:32:29 +00:00

feat: add CLI command for importing and exporting Pocket ID data (#998)

Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Elias Schneider
2025-11-26 10:38:15 +01:00
committed by GitHub
parent e306d6eb58
commit 39c1f93756
56 changed files with 3276 additions and 823 deletions

15
tests/specs/fixtures/auth.setup.ts vendored Normal file
View File

@@ -0,0 +1,15 @@
import { test as setup } from '@playwright/test';
import { pathFromRoot } from 'utils/fs.util';
import authUtil from '../../utils/auth.util';
import { cleanupBackend } from '../../utils/cleanup.util';
const authFile = pathFromRoot('.tmp/auth/user.json');
setup('authenticate', async ({ page }) => {
await cleanupBackend();
await authUtil.authenticate(page);
await page.waitForURL('/settings/account');
await page.context().storageState({ path: authFile });
});