removing properties

This commit is contained in:
agracio
2025-12-06 11:58:30 +00:00
parent 7c39d28f81
commit 4ee11aaeae
2 changed files with 0 additions and 101 deletions

View File

@@ -94,16 +94,6 @@ namespace ElectronNET.IntegrationTests.Tests
ok.Should().Be(2.0);
}
[Fact(Timeout = 20000)]
public async Task ZoomFactorProperty_check()
{
var ok = fx.MainWindow.WebContents.ZoomFactor;
ok.Should().Be(1.0);
fx.MainWindow.WebContents.ZoomFactor = 2.0;
ok = fx.MainWindow.WebContents.ZoomFactor;
ok.Should().Be(2.0);
}
[SkippableFact(Timeout = 20000)]
public async Task GetSetZoomLevel_check()
{
@@ -117,16 +107,6 @@ namespace ElectronNET.IntegrationTests.Tests
ok.Should().Be(2);
}
[Fact(Timeout = 20000)]
public async Task ZoomLevelProperty_check()
{
var ok = fx.MainWindow.WebContents.ZoomLevel;
ok.Should().Be(0);
fx.MainWindow.WebContents.ZoomLevel = 2;
ok = fx.MainWindow.WebContents.ZoomLevel;
ok.Should().Be(2);
}
[SkippableFact(Timeout = 20000)]
public async Task DevTools_check()
{
@@ -161,15 +141,6 @@ namespace ElectronNET.IntegrationTests.Tests
ok.Should().BeFalse();
}
[SkippableFact(Timeout = 20000)]
public async Task AudioMutedProperty_check()
{
Skip.If(Environment.GetEnvironmentVariable("GITHUB_RUN_ID") != null && RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipping test on Windows CI.");
fx.MainWindow.WebContents.AudioMuted.Should().BeFalse();
fx.MainWindow.WebContents.AudioMuted = true;
fx.MainWindow.WebContents.AudioMuted.Should().BeTrue();
}
[SkippableFact(Timeout = 20000)]
public async Task GetSetUserAgent_check()
{
@@ -182,14 +153,5 @@ namespace ElectronNET.IntegrationTests.Tests
ok.Should().Be("MyUserAgent/1.0");
}
[SkippableFact(Timeout = 20000)]
public async Task UserAgentProperty_check()
{
Skip.If(Environment.GetEnvironmentVariable("GITHUB_RUN_ID") != null && RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipping test on Windows CI.");
fx.MainWindow.WebContents.UserAgent.Should().NotBeNullOrEmpty();
fx.MainWindow.WebContents.UserAgent = "MyUserAgent/1.0";
fx.MainWindow.WebContents.UserAgent.Should().Be("MyUserAgent/1.0");
}
}
}