-
Notifications
You must be signed in to change notification settings - Fork 5k
[browser] Clean up Wasm.Build.Tests #114993
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR cleans up the Wasm.Build.Tests by removing obsolete tests and parameters now that OverrideHtmlAssetPlaceholders is enabled by default for both wasm and blazor apps.
- Removed the explicit OverrideHtmlAssetPlaceholders parameter in tests and updated AssertAppBundle values in PreloadingTests.
- Deleted the FingerprintingTests file and the test for OverrideHtmlAssetPlaceholders in Blazor MiscTests.
- Updated project and job list files to reflect the consolidated testing strategy.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
src/mono/wasm/Wasm.Build.Tests/PreloadingTests.cs | Removed obsolete MSBuild flag and updated AssertAppBundle parameter. |
src/mono/wasm/Wasm.Build.Tests/FingerprintingTests.cs | Entire file removed as the behavior is now covered elsewhere. |
src/mono/wasm/Wasm.Build.Tests/Blazor/MiscTests.cs | Removed outdated test for OverrideHtmlAssetPlaceholders from Blazor tests. |
src/mono/wasm/Wasm.Build.Tests/Blazor/AppsettingsTests.cs | Eliminated the extra property for OverrideHtmlAssetPlaceholders. |
eng/testing/scenarios/BuildWasmAppsJobsList.txt | Removed the FingerprintingTests entry from the job list. |
Comments suppressed due to low confidence (3)
src/mono/wasm/Wasm.Build.Tests/FingerprintingTests.cs:1
- The removal of the FingerprintingTests file may reduce test coverage for fingerprinting behavior. Ensure that the scenarios previously covered in this file are adequately tested in the remaining test suites.
// Licensed to the .NET Foundation under one or more agreements.
src/mono/wasm/Wasm.Build.Tests/Blazor/MiscTests.cs:98
- The removal of the TestOverrideHtmlAssetPlaceholders in Blazor tests may leave a gap in verifying the behavior of OverrideHtmlAssetPlaceholders. Verify that this scenario is covered elsewhere in the test suite.
public async Task TestOverrideHtmlAssetPlaceholders() { ... }
eng/testing/scenarios/BuildWasmAppsJobsList.txt:48
- Removing the FingerprintingTests job from the testing scenarios can reduce automated verification of fingerprinting behavior. Confirm that all important fingerprinting scenarios are still being exercised by other tests.
Wasm.Build.Tests.FingerprintingTests
checking if #114548 fixed the
failures |
…fingerprinted set.
OverrideHtmlAssetPlaceholders
is now default for both wasm & blazor apps