Skip to content

Commit f2c4612

Browse files
authored
Skip flaky BlazorWebView header interception test (dotnet#33928)
<!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ## Description Skips the flaky `RequestsCanBeInterceptedAndHeadersAddedForDifferentHosts` BlazorWebView device test which depends on an external echo service (`echo.free.beeceptor.com`), making it unreliable in CI. The test failed on CoreCLR MacCatalyst with `Assert.NotNull() Failure: Value is null` while passing on Mono MacCatalyst in the same build: - **Build**: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1282686&view=ms.vss-test-web.build-test-results-tab&runId=35819496&resultId=100136&paneView=debug ## Issues Fixed Related dotnet#33927
1 parent 6ebca19 commit f2c4612

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/BlazorWebView/tests/DeviceTests/Elements/BlazorWebViewTests.RequestInterception.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public Task RequestsCanBeInterceptedAndCustomDataReturnedForDifferentHosts(strin
154154
Assert.Equal("Hello Matthew (param1=value1, param2=value2)", responseObject.message);
155155
});
156156

157-
[Theory]
157+
[Theory(Skip = "Flaky due to external service dependency (echo.free.beeceptor.com). See https://github.com/dotnet/maui/issues/33927")]
158158
#if !ANDROID // Custom schemes are not supported on Android
159159
#if !WINDOWS // TODO: There seems to be a bug with the implementation in the WASDK version of WebView2
160160
[InlineData("app://echoservice/")]

0 commit comments

Comments
 (0)