File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -438,6 +438,7 @@ public async Task LookupServiceKey_Ok()
438438 builder . CloseComponent ( ) ;
439439 } ) ;
440440 } ) ;
441+ cut . WaitForAssertion ( ( ) => cut . Contains ( "LookupService-Test-1" ) ) ;
441442 var select = cut . FindComponent < Select < string > > ( ) ;
442443 var lookupService = Context . Services . GetRequiredService < ILookupService > ( ) ;
443444 var lookup = await lookupService . GetItemsAsync ( "FooLookup" , "" ) ;
@@ -471,7 +472,7 @@ public async Task LookupService_Ok()
471472 builder . CloseComponent ( ) ;
472473 } ) ;
473474 } ) ;
474- cut . WaitForElements ( ".select" ) ;
475+ cut . WaitForAssertion ( ( ) => cut . Contains ( "LookupService-Test-1-async" ) ) ;
475476 var select = cut . FindComponent < Select < string > > ( ) ;
476477 var lookup = await lookupService . GetItemsAsync ( "FooLookup" , "" ) ;
477478 Assert . NotNull ( lookup ) ;
You can’t perform that action at this time.
0 commit comments