We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 748171b commit 2869ff2Copy full SHA for 2869ff2
src/Controls/tests/TestCases.Shared.Tests/UITest.cs
@@ -386,8 +386,8 @@ double ExtractDifferencePercentage(Exception ex)
386
}
387
388
389
- // If can't extract specific percentage, assume significant difference
390
- return 1.0;
+ // If can't extract specific percentage, throw an exception to indicate failure
+ throw new InvalidOperationException("Unable to extract difference percentage from exception message.");
391
392
393
protected void VerifyInternetConnectivity()
0 commit comments