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 5ba4ab2 commit e8c5de6Copy full SHA for e8c5de6
2 files changed
.github/workflows/ci.yml
@@ -22,13 +22,6 @@ jobs:
22
8.0.x
23
10.0.x
24
25
- - name: Setup virtual environment
26
- run: |
27
- export DISPLAY=:99
28
- echo "DISPLAY=:99" >> $GITHUB_ENV
29
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
30
- sleep 30
31
-
32
- name: Build
33
run: ./build.sh
34
src/ElectronNET.IntegrationTests/Tests/WebContentsTests.cs
@@ -72,9 +72,10 @@ public async Task Can_basic_print()
72
ok.Should().BeTrue();
73
}
74
75
- [Fact(Timeout = 5000)]
+ [SkippableFact(Timeout = 5000)]
76
public async Task GetPrintersAsync_check()
77
{
78
+ Skip.If(Environment.GetEnvironmentVariable("GITHUB_TOKEN") != null, "Skipping printer test in CI environment.");
79
var info = await fx.MainWindow.WebContents.GetPrintersAsync();
80
info.Should().NotBeNull();
81
0 commit comments