Files
radicle-desktop/tests/e2e/authenticate.spec.ts
T
Rūdolfs Ošiņš 868dfcd2a8 Make top-bar narrow
This also moves the breadcrumbs into the main content area in selected
views.
2024-12-11 17:12:57 +01:00

22 lines
569 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("did:key: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("did:key:z6MktULudTtAsAhRegYPiZ6631RV3viv12qd4GQF8z1xB22S"),
).toBeVisible();
});