Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions eng/testing/BrowserVersions.props
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<Project>
<PropertyGroup>
<linux_ChromeVersion>145.0.7632.109</linux_ChromeVersion>
<linux_ChromeVersion>145.0.7632.116</linux_ChromeVersion>
<linux_ChromeRevision>1568190</linux_ChromeRevision>
<linux_ChromeBaseSnapshotUrl>https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/1568190</linux_ChromeBaseSnapshotUrl>
<linux_V8Version>14.5.201</linux_V8Version>
<macos_ChromeVersion>143.0.7499.40</macos_ChromeVersion>
<macos_ChromeRevision>1536371</macos_ChromeRevision>
<macos_ChromeBaseSnapshotUrl>https://storage.googleapis.com/chromium-browser-snapshots/Mac_Arm/1536376</macos_ChromeBaseSnapshotUrl>
<macos_V8Version>14.3.127</macos_V8Version>
<win_ChromeVersion>145.0.7632.77</win_ChromeVersion>
<win_ChromeRevision>1568190</win_ChromeRevision>
<win_ChromeBaseSnapshotUrl>https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1568195</win_ChromeBaseSnapshotUrl>
<win_V8Version>14.5.201</win_V8Version>
<win_ChromeVersion>146.0.7680.31</win_ChromeVersion>
<win_ChromeRevision>1582197</win_ChromeRevision>
<win_ChromeBaseSnapshotUrl>https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1582218</win_ChromeBaseSnapshotUrl>
<win_V8Version>14.6.202</win_V8Version>
<linux_FirefoxRevision>125.0.1</linux_FirefoxRevision>
<linux_GeckoDriverRevision>0.34.0</linux_GeckoDriverRevision>
<win_FirefoxRevision>125.0.1</win_FirefoxRevision>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,19 @@ protected async Task<RunResult> BrowserRun(ToolCommand cmd, string runArgs, RunO
_testOutput.WriteLine("Waiting for page to load");
await page.WaitForLoadStateAsync(LoadState.DOMContentLoaded, new() { Timeout = 1 * 60 * 1000 });

if (runOptions is BlazorRunOptions)
{
// DOMContentLoaded fires as soon as the initial HTML is parsed,
// but Blazor WebAssembly still needs to download the runtime,
// assemblies, and render the component tree. Wait for actual
// Blazor content to appear before interacting with the page.
// The ".page" class comes from MainLayout.razor and is only
// present after Blazor has rendered (client-side apps) or is
// included in the initial server-rendered HTML (Blazor Web apps).
_testOutput.WriteLine("Waiting for Blazor to finish rendering");
await page.Locator(".page").WaitForAsync(new() { Timeout = 1 * 60 * 1000 });
}

if (runOptions.ExecuteAfterLoaded is not null)
{
await runOptions.ExecuteAfterLoaded(runOptions, page);
Expand Down