Skip to content

Commit 1709ae0

Browse files
[wasm] Bump chrome for testing - linux: 145.0.7632.116, windows: 146.0.7680.31 (#125017)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Ilona Tomkowicz <32700855+ilonatommy@users.noreply.github.com>
1 parent e717462 commit 1709ae0

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

eng/testing/BrowserVersions.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<Project>
22
<PropertyGroup>
3-
<linux_ChromeVersion>145.0.7632.109</linux_ChromeVersion>
3+
<linux_ChromeVersion>145.0.7632.116</linux_ChromeVersion>
44
<linux_ChromeRevision>1568190</linux_ChromeRevision>
55
<linux_ChromeBaseSnapshotUrl>https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/1568190</linux_ChromeBaseSnapshotUrl>
66
<linux_V8Version>14.5.201</linux_V8Version>
77
<macos_ChromeVersion>143.0.7499.40</macos_ChromeVersion>
88
<macos_ChromeRevision>1536371</macos_ChromeRevision>
99
<macos_ChromeBaseSnapshotUrl>https://storage.googleapis.com/chromium-browser-snapshots/Mac_Arm/1536376</macos_ChromeBaseSnapshotUrl>
1010
<macos_V8Version>14.3.127</macos_V8Version>
11-
<win_ChromeVersion>145.0.7632.77</win_ChromeVersion>
12-
<win_ChromeRevision>1568190</win_ChromeRevision>
13-
<win_ChromeBaseSnapshotUrl>https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1568195</win_ChromeBaseSnapshotUrl>
14-
<win_V8Version>14.5.201</win_V8Version>
11+
<win_ChromeVersion>146.0.7680.31</win_ChromeVersion>
12+
<win_ChromeRevision>1582197</win_ChromeRevision>
13+
<win_ChromeBaseSnapshotUrl>https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1582218</win_ChromeBaseSnapshotUrl>
14+
<win_V8Version>14.6.202</win_V8Version>
1515
<linux_FirefoxRevision>125.0.1</linux_FirefoxRevision>
1616
<linux_GeckoDriverRevision>0.34.0</linux_GeckoDriverRevision>
1717
<win_FirefoxRevision>125.0.1</win_FirefoxRevision>

src/mono/wasm/Wasm.Build.Tests/Templates/WasmTemplateTestsBase.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,19 @@ protected async Task<RunResult> BrowserRun(ToolCommand cmd, string runArgs, RunO
419419
_testOutput.WriteLine("Waiting for page to load");
420420
await page.WaitForLoadStateAsync(LoadState.DOMContentLoaded, new() { Timeout = 1 * 60 * 1000 });
421421

422+
if (runOptions is BlazorRunOptions)
423+
{
424+
// DOMContentLoaded fires as soon as the initial HTML is parsed,
425+
// but Blazor WebAssembly still needs to download the runtime,
426+
// assemblies, and render the component tree. Wait for actual
427+
// Blazor content to appear before interacting with the page.
428+
// The ".page" class comes from MainLayout.razor and is only
429+
// present after Blazor has rendered (client-side apps) or is
430+
// included in the initial server-rendered HTML (Blazor Web apps).
431+
_testOutput.WriteLine("Waiting for Blazor to finish rendering");
432+
await page.Locator(".page").WaitForAsync(new() { Timeout = 1 * 60 * 1000 });
433+
}
434+
422435
if (runOptions.ExecuteAfterLoaded is not null)
423436
{
424437
await runOptions.ExecuteAfterLoaded(runOptions, page);

0 commit comments

Comments
 (0)