mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 03:40:37 +08:00
Add tests to verify authenticated identities
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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("palm")).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("palm")).toBeVisible();
|
||||
});
|
||||
Reference in New Issue
Block a user