Skip to content

feat: support browser download mirrors - #1333

Merged
KuznetsovRoman merged 1 commit into
masterfrom
TESTPLANE-905.browser_mirrors
Sep 24, 2026
Merged

KuznetsovRoman merged 1 commit into
masterfrom
TESTPLANE-905.browser_mirrors

Conversation

@KuznetsovRoman

Copy link
Copy Markdown
Member

No description provided.

@KuznetsovRoman

Copy link
Copy Markdown
Member Author

@codex review

@github-actions

github-actions Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

✅ Testplane E2E run succeed

Report

@pkg-pr-new

pkg-pr-new Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/gemini-testing/testplane@1333

commit: 2f9d36c

@github-actions

github-actions Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

✅ Testplane browser-env run succeed

Report

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 40af878995

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@KuznetsovRoman
KuznetsovRoman force-pushed the TESTPLANE-905.browser_mirrors branch from 7d59b6b to 49aede6 Compare September 18, 2026 02:51
Comment thread docs/dealing-with-browsers.md Outdated
Comment thread src/browser-installer/chrome/browser.ts Outdated
"Version examples: '120', '120.0'",
].join("\n"),
mirror
? "Couldn't download browser artifact from the configured mirror"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls, add current mirror here

Comment thread src/browser-installer/chrome/browser.ts
let filename: string;

if (isChannel) {
const channel = selector === "latest" ? "canary" : selector;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why should "latest" be "canary"? is this the same?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By puppeteer logic, yes
What you probably mean by "latest" is "stable", but "latest" === "canary"

}

const data = (await response.json()) as { LATEST_FIREFOX_VERSION?: unknown } | null;
const version = data?.LATEST_FIREFOX_VERSION;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use trim here once

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not quite. Version could be not a string here, so by using "trim" here once we have to throw error twice, so, no difference

Comment thread src/browser-installer/mirrors.ts Outdated
Comment thread src/browser/new-browser.ts Outdated
Comment thread src/config/defaults.js
@KuznetsovRoman
KuznetsovRoman force-pushed the TESTPLANE-905.browser_mirrors branch from 68228b6 to cba8566 Compare September 24, 2026 07:11
@KuznetsovRoman
KuznetsovRoman force-pushed the TESTPLANE-905.browser_mirrors branch from cba8566 to 2f9d36c Compare September 24, 2026 07:21
@KuznetsovRoman
KuznetsovRoman merged commit f3133ba into master Sep 24, 2026
9 checks passed
@KuznetsovRoman
KuznetsovRoman deleted the TESTPLANE-905.browser_mirrors branch September 24, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants