Add tests to verify authenticated identities

This commit is contained in:
Sebastian Martinez
2024-11-21 10:29:24 +01:00
parent f23206b83d
commit c35ab783a7
+17
View File
@@ -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();
});