Skip to content

Commit c81b0e5

Browse files
committed
increasing test timeout times
1 parent b89e3ca commit c81b0e5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ElectronNET.IntegrationTests/Tests/WebContentsTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public WebContentsTests(ElectronFixture fx)
1212
this.fx = fx;
1313
}
1414

15-
[Fact(Timeout = 5000)]
15+
[Fact(Timeout = 15000)]
1616
public async Task Can_get_url_after_navigation()
1717
{
1818
var wc = this.fx.MainWindow.WebContents;
@@ -21,7 +21,7 @@ public async Task Can_get_url_after_navigation()
2121
url.Should().Contain("example.com");
2222
}
2323

24-
[Fact(Timeout = 5000)]
24+
[Fact(Timeout = 15000)]
2525
public async Task ExecuteJavaScript_returns_title()
2626
{
2727
var wc = this.fx.MainWindow.WebContents;
@@ -30,7 +30,7 @@ public async Task ExecuteJavaScript_returns_title()
3030
title.Should().NotBeNull();
3131
}
3232

33-
[Fact(Timeout = 5000)]
33+
[Fact(Timeout = 15000)]
3434
public async Task DomReady_event_fires()
3535
{
3636
var wc = this.fx.MainWindow.WebContents;
@@ -41,7 +41,7 @@ public async Task DomReady_event_fires()
4141
fired.Should().BeTrue();
4242
}
4343

44-
[Fact(Timeout = 5000)]
44+
[Fact(Timeout = 15000)]
4545
public async Task Can_print_to_pdf()
4646
{
4747
var html = "data:text/html,<html><body><h1>PDF Test</h1><p>Electron.NET</p></body></html>";
@@ -63,7 +63,7 @@ public async Task Can_print_to_pdf()
6363
}
6464
}
6565

66-
[Fact(Timeout = 5000)]
66+
[Fact(Timeout = 15000)]
6767
public async Task Can_basic_print()
6868
{
6969
var html = "data:text/html,<html><body><h2>Print Test</h2></body></html>";
@@ -72,7 +72,7 @@ public async Task Can_basic_print()
7272
ok.Should().BeTrue();
7373
}
7474

75-
[SkippableFact(Timeout = 5000)]
75+
[SkippableFact(Timeout = 15000)]
7676
public async Task GetPrintersAsync_check()
7777
{
7878
Skip.If(Environment.GetEnvironmentVariable("GITHUB_TOKEN") != null, "Skipping printer test in CI environment.");

0 commit comments

Comments
 (0)