mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-14 11:00:34 +08:00
explorer: Run e2e tests on heartwood 1.10.3
- Bump heartwood-release to 1.10.3, as desktop uses - Spread defaultConfig into the peer config instead of nesting it - Clone from the known seed, as 1.10 no longer waits for one - Match the full agent version on the node page
This commit is contained in:
@@ -23,7 +23,7 @@ test("node metadata", async ({ page, peerManager }) => {
|
||||
await page.goto(peer.uiUrl());
|
||||
|
||||
await expect(page.getByText(shortNodeRemote).first()).toBeVisible();
|
||||
await expect(page.getByText(/\/radicle:\d\//)).toBeVisible();
|
||||
await expect(page.getByText(/\/radicle:[\d.]+\//)).toBeVisible();
|
||||
});
|
||||
|
||||
test("node repos", async ({ page }) => {
|
||||
|
||||
@@ -274,7 +274,9 @@ export async function createCobsFixture(
|
||||
await eve.startNode({
|
||||
node: { ...defaultConfig.node, connect: [peer.address], alias: "eve" },
|
||||
});
|
||||
await eve.rad(["clone", rid], { cwd: eve.checkoutPath });
|
||||
await eve.rad(["clone", rid, "--seed", peer.nodeId], {
|
||||
cwd: eve.checkoutPath,
|
||||
});
|
||||
|
||||
const issueOne = await issue.create(
|
||||
peer,
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.6.1
|
||||
1.10.3
|
||||
|
||||
@@ -405,7 +405,7 @@ async function updateConfig(radHome: string, configParams: Partial<Config>) {
|
||||
const configPath = Path.join(radHome, "config.json");
|
||||
const configFile = await Fs.readFile(configPath, "utf-8");
|
||||
const config = configSchema.parse({
|
||||
defaultConfig,
|
||||
...defaultConfig,
|
||||
...JSON.parse(configFile),
|
||||
});
|
||||
config.preferredSeeds = [];
|
||||
|
||||
@@ -94,7 +94,9 @@ export async function createContributor(
|
||||
await contributor.startNode({
|
||||
node: { ...defaultConfig.node, connect: [delegate.address], alias: "eve" },
|
||||
});
|
||||
await contributor.rad(["clone", rid], { cwd: contributor.checkoutPath });
|
||||
await contributor.rad(["clone", rid, "--seed", delegate.nodeId], {
|
||||
cwd: contributor.checkoutPath,
|
||||
});
|
||||
|
||||
return {
|
||||
contributor,
|
||||
|
||||
Reference in New Issue
Block a user