Skip to content

Commit a295033

Browse files
committed
Fix CanFailRequest test
1 parent 042fd7c commit a295033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/test/common/BiDi/Network/NetworkTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,6 @@ public async Task CanFailRequest()
188188

189189
var action = async () => await context.NavigateAsync(UrlBuilder.WhereIs("basicAuth"), new() { Wait = ReadinessState.Complete });
190190

191-
Assert.That(action, Throws.TypeOf<BiDiException>().With.Message.Contain("net::ERR_FAILED"));
191+
Assert.That(action, Throws.TypeOf<BiDiException>().With.Message.Contain("net::ERR_FAILED").Or.Contain("NS_ERROR_ABORT"));
192192
}
193193
}

0 commit comments

Comments
 (0)