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 0580942 commit 0ec791dCopy full SHA for 0ec791d
src/ElectronNET.IntegrationTests/Tests/BrowserWindowTests.cs
@@ -165,10 +165,14 @@ public async Task Progress_bar_and_always_on_top_toggle()
165
{
166
var win = this.fx.MainWindow;
167
win.SetProgressBar(0.5);
168
+ await Task.Delay(50);
169
win.SetProgressBar(0.8, new ProgressBarOptions { Mode = ProgressBarMode.normal });
170
171
win.SetAlwaysOnTop(true);
172
+ await Task.Delay(500);
173
(await win.IsAlwaysOnTopAsync()).Should().BeTrue();
174
win.SetAlwaysOnTop(false);
175
176
(await win.IsAlwaysOnTopAsync()).Should().BeFalse();
177
}
178
0 commit comments