File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,7 @@ public async Task Items_EditForm_Add(InsertRowMode insertMode)
210210 var table = cut . FindComponent < Table < Foo > > ( ) ;
211211 await cut . InvokeAsync ( table . Instance . AddAsync ) ;
212212 Assert . True ( updated ) ;
213-
214- var rows = table . FindAll ( "tbody tr" ) ;
215- Assert . Equal ( 2 , rows . Count ) ;
213+ Assert . Equal ( 2 , table . Instance . Rows . Count ) ;
216214 }
217215
218216 [ Fact ]
@@ -8931,11 +8929,8 @@ public async Task TestLoopQueryAsync()
89318929
89328930 public async Task TestDeleteAsync ( )
89338931 {
8934- if ( Items != null )
8935- {
8936- SelectedRows . Add ( Items . First ( ) ) ;
8937- await DeleteAsync ( ) ;
8938- }
8932+ SelectedRows . Add ( Rows [ 0 ] ) ;
8933+ await DeleteAsync ( ) ;
89398934 }
89408935
89418936 public string ? TestGetCellClassString ( ITableColumn col ) => base . GetCellClassString ( col , false , false ) ;
You can’t perform that action at this time.
0 commit comments