Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add tests to verify authenticated identities
Sebastian Martinez committed 1 year ago
commit c35ab783a7bddf45a01b5696765152ed3e5e4998
parent f23206b83dfa95c9962a351e5826ed49882a74da
1 file changed +17 -0
added tests/e2e/authenticate.spec.ts
@@ -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();
+
});