mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-09 03:22:40 +00:00
fix(e2e): budget macOS Parallels onboarding
This commit is contained in:
@@ -499,7 +499,7 @@ class MacosSmoke {
|
||||
this.status.freshVersion = await this.extractLastVersion("fresh.install-main");
|
||||
await this.phase("fresh.verify-main-version", 60, () => this.verifyTargetVersion());
|
||||
await this.phase("fresh.verify-bundle-permissions", 180, () => this.verifyBundlePermissions());
|
||||
await this.phase("fresh.onboard-ref", 180, () => this.runRefOnboard());
|
||||
await this.phase("fresh.onboard-ref", 420, () => this.runRefOnboard());
|
||||
await this.phase("fresh.gateway-start", 180, () => this.startManualGatewayIfNeeded());
|
||||
await this.phase("fresh.gateway-status", 180, () => this.verifyGateway());
|
||||
this.status.freshGateway = "pass";
|
||||
@@ -551,7 +551,7 @@ class MacosSmoke {
|
||||
this.status.upgradeVersion = await this.extractLastVersion("upgrade.update-dev");
|
||||
await this.phase("upgrade.verify-dev-channel", 60, () => this.verifyDevChannelUpdate());
|
||||
}
|
||||
await this.phase("upgrade.onboard-ref", 180, () => this.runRefOnboard());
|
||||
await this.phase("upgrade.onboard-ref", 420, () => this.runRefOnboard());
|
||||
await this.phase("upgrade.gateway-start", 180, () => this.startManualGatewayIfNeeded());
|
||||
await this.phase("upgrade.gateway-status", 180, () => this.verifyGateway());
|
||||
this.status.upgradeGateway = "pass";
|
||||
|
||||
@@ -936,10 +936,11 @@ if (isPrlctl) {
|
||||
expect(guestTransports.match(/umask 022/g)).toHaveLength(2);
|
||||
});
|
||||
|
||||
it("clears restored macOS npm content cache before install lanes", () => {
|
||||
it("hardens restored macOS install lanes", () => {
|
||||
const macos = readFileSync(TS_PATHS.macos, "utf8");
|
||||
|
||||
expect(macos).toContain('rm -rf "$HOME/.npm/_cacache"');
|
||||
expect(macos.match(/\.onboard-ref", 420/g)).toHaveLength(2);
|
||||
});
|
||||
|
||||
it("provisions portable Git before Windows dev update lanes", () => {
|
||||
|
||||
Reference in New Issue
Block a user