Support Beta release channel (#591)

This commit is contained in:
Will Chen
2025-07-07 17:15:02 -07:00
committed by GitHub
parent ab6a9d3b34
commit a93536386b
21 changed files with 181 additions and 2 deletions

View File

@@ -837,6 +837,15 @@ export class PageObject {
await this.page.getByRole("switch", { name: "Auto-update" }).click();
}
async changeReleaseChannel(channel: "stable" | "beta") {
// await page.getByRole('combobox').filter({ hasText: 'Stable' }).click();
// await page.getByRole('option', { name: 'Beta' }).dblclick();
await this.page.getByRole("combobox", { name: "Release Channel" }).click();
await this.page
.getByRole("option", { name: channel === "stable" ? "Stable" : "Beta" })
.click();
}
async clickTelemetryAccept() {
await this.page.getByTestId("telemetry-accept-button").click();
}