Skip to content

Commit d01fa74

Browse files
committed
Tests - Wpf/WaitForRenderIdleTests lower expected time
- Page is now rendered quicker than before.
1 parent d4d9777 commit d01fa74

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CefSharp.Test/Wpf/WaitForRenderIdleTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ public WaitForRenderIdleTests(ITestOutputHelper output, CefSharpFixture fixture)
2727
[WpfFact]
2828
public async Task ShouldWork()
2929
{
30-
const int expected = 500;
31-
3230
using (var browser = new ChromiumWebBrowser(null, CefExample.DefaultUrl, new Size(1024, 786)))
3331
{
3432
var start = DateTime.Now;
@@ -39,7 +37,7 @@ public async Task ShouldWork()
3937
var time = (end - start).TotalMilliseconds;
4038

4139
Assert.True(end > start);
42-
Assert.True(time > expected, $"Executed in {time}ms");
40+
Assert.True(time > 400, $"Executed in {time}ms");
4341

4442
output.WriteLine("Time {0}ms", time);
4543

0 commit comments

Comments
 (0)