Files
radicle-explorer/tests/e2e/authenticate.spec.ts
T
2025-01-23 22:28:00 +01:00

22 lines
553 B
TypeScript

import { test, expect } from "@tests/support/fixtures.js";
test("removing identities from ssh-agent and re-adding them", async ({
page,
peer,
}) => {
await page.goto("/");
await expect(
page.getByText("z6MktULudTtAsAhRegYPiZ6631RV3viv12qd4GQF8z1xB22S"),
).toBeVisible();
await peer.logOut();
await expect(
page.getByText("Not able to find your keys in the ssh agent"),
).toBeVisible();
await peer.authenticate();
await expect(
page.getByText("z6MktULudTtAsAhRegYPiZ6631RV3viv12qd4GQF8z1xB22S"),
).toBeVisible();
});