@@ -23,7 +23,8 @@ public class MultiApiTest : IClassFixture<InstallPlaywrightBrowserFixture>
23
23
private const string SignOutPageUriPath = @"/MicrosoftIdentity/Account/SignedOut" ;
24
24
private const uint ClientPort = 44321 ;
25
25
private const string TraceFileClassName = "OpenIDConnect" ;
26
- private readonly LocatorAssertionsToBeVisibleOptions _assertVisibleOptions = new ( ) { Timeout = 5000 } ;
26
+ private const uint NumProcessRetries = 3 ;
27
+ private readonly LocatorAssertionsToBeVisibleOptions _assertVisibleOptions = new ( ) { Timeout = 15000 } ;
27
28
private readonly string _sampleAppPath = "3-WebApp-multi-APIs" + Path . DirectorySeparatorChar . ToString ( ) ;
28
29
private readonly string _testAssemblyLocation = typeof ( MultiApiTest ) . Assembly . Location ;
29
30
private readonly ITestOutputHelper _output ;
@@ -61,11 +62,11 @@ public async Task ChallengeUser_MicrosoftIdFlow_LocalApp_ValidEmailPasswordCreds
61
62
// The delay before starting client prevents transient devbox issue where the client fails to load the first time after rebuilding
62
63
var clientProcessOptions = new ProcessStartOptions ( _testAssemblyLocation , _sampleAppPath , TC . s_oidcWebAppExe , clientEnvVars ) ;
63
64
64
- bool areProcessesRunning = TH . StartAndVerifyProcessesAreRunning ( [ clientProcessOptions ] , out processes ) ;
65
+ bool areProcessesRunning = TH . StartAndVerifyProcessesAreRunning ( [ clientProcessOptions ] , out processes , NumProcessRetries ) ;
65
66
66
67
if ( ! areProcessesRunning )
67
68
{
68
- _output . WriteLine ( "Process not started after 3 attempts." ) ;
69
+ _output . WriteLine ( $ "Process not started after { NumProcessRetries } attempts.") ;
69
70
StringBuilder runningProcesses = new StringBuilder ( ) ;
70
71
foreach ( var process in processes )
71
72
{
0 commit comments