@@ -441,12 +441,12 @@ await Task.WhenAll(
441
441
if ( usesAuth )
442
442
{
443
443
await Task . WhenAll (
444
- page . WaitForNavigationAsync ( new ( ) { UrlString = "**/Identity/Account/Login**" , WaitUntil = LifecycleEvent . Networkidle } ) ,
444
+ page . WaitForNavigationAsync ( new ( ) { UrlString = "**/Identity/Account/Login**" , WaitUntil = WaitUntilState . NetworkIdle } ) ,
445
445
page . ClickAsync ( "text=Log in" ) ) ;
446
446
447
447
await Task . WhenAll (
448
448
page . WaitForSelectorAsync ( "[name=\" Input.Email\" ]" ) ,
449
- page . WaitForNavigationAsync ( new ( ) { UrlString = "**/Identity/Account/Register**" , WaitUntil = LifecycleEvent . Networkidle } ) ,
449
+ page . WaitForNavigationAsync ( new ( ) { UrlString = "**/Identity/Account/Register**" , WaitUntil = WaitUntilState . NetworkIdle } ) ,
450
450
page . ClickAsync ( "text=Register as a new user" ) ) ;
451
451
452
452
var userName = $ "{ Guid . NewGuid ( ) } @example.com";
@@ -458,12 +458,12 @@ await Task.WhenAll(
458
458
459
459
// We will be redirected to the RegisterConfirmation
460
460
await Task . WhenAll (
461
- page . WaitForNavigationAsync ( new ( ) { UrlString = "**/Identity/Account/RegisterConfirmation**" , WaitUntil = LifecycleEvent . Networkidle } ) ,
461
+ page . WaitForNavigationAsync ( new ( ) { UrlString = "**/Identity/Account/RegisterConfirmation**" , WaitUntil = WaitUntilState . NetworkIdle } ) ,
462
462
page . ClickAsync ( "#registerSubmit" ) ) ;
463
463
464
464
// We will be redirected to the ConfirmEmail
465
465
await Task . WhenAll (
466
- page . WaitForNavigationAsync ( new ( ) { UrlString = "**/Identity/Account/ConfirmEmail**" , WaitUntil = LifecycleEvent . Networkidle } ) ,
466
+ page . WaitForNavigationAsync ( new ( ) { UrlString = "**/Identity/Account/ConfirmEmail**" , WaitUntil = WaitUntilState . NetworkIdle } ) ,
467
467
page . ClickAsync ( "text=Click here to confirm your account" ) ) ;
468
468
469
469
// Now we can login
0 commit comments