Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add `--alias` to `rad auth`
Sebastian Martinez committed 2 years ago
commit 28718ba0cf74e41a10444d4f628aa8ad87eb9a5e
parent 6e3bcc1998a928a2e812c23824a48273055d7bdc
3 files changed +3 -3
modified tests/e2e/project.spec.ts
@@ -274,7 +274,7 @@ test("peer and branch switching", async ({ page }) => {
    await expect(page.getByTitle("Change peer")).toHaveText(
      `did:key:${aliceRemote.substring(8).substring(0, 6)}…${aliceRemote.slice(
        -6,
-
      )} delegate`,
+
      )} (radicle) delegate`,
    );
    await expect(
      page.locator(
modified tests/e2e/project/commits.spec.ts
@@ -20,7 +20,7 @@ test("peer and branch switching", async ({ page }) => {
    await expect(page.getByTitle("Change peer")).toHaveText(
      `  did:key:${aliceRemote
        .substring(8)
-
        .substring(0, 6)}…${aliceRemote.slice(-6)} delegate`,
+
        .substring(0, 6)}…${aliceRemote.slice(-6)} (radicle) delegate`,
    );

    await expect(page.getByText("Thursday, November 17, 2022")).toBeVisible();
modified tests/support/peerManager.ts
@@ -172,7 +172,7 @@ export class RadiclePeer {
      RAD_SOCKET: socket,
    };

-
    await execa("rad", ["auth"], { env });
+
    await execa("rad", ["auth", "--alias", name], { env });
    const { stdout: nodeId } = await execa("rad", ["self", "--nid"], { env });

    return new RadiclePeer({