fix(e2e): budget macOS Parallels onboarding

This commit is contained in:
Vincent Koc
2026-06-16 13:15:41 +08:00
parent a2bc7ab269
commit 350f06362b
2 changed files with 4 additions and 3 deletions

View File

@@ -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";

View File

@@ -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", () => {