mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-04 00:08:33 +00:00
chore: Attempt at stabilizing Bridge launch for e2e tests
This commit is contained in:
committed by
gzafirova
parent
ac3d7375f7
commit
6ab8558e17
@ -148,7 +148,10 @@ namespace ProtonMailBridge.UI.Tests
|
||||
string appExecutable = TestData.AppExecutable;
|
||||
Application.Launch(appExecutable);
|
||||
Wait.UntilInputIsProcessed(TestData.FiveSecondsTimeout);
|
||||
Retry.WhileException( () =>
|
||||
{
|
||||
App = Application.Attach("bridge-gui.exe");
|
||||
}, TimeSpan.FromSeconds(60), null, true);
|
||||
RefreshWindow(TestData.OneMinuteTimeout);
|
||||
Window.Focus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user