File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5544,7 +5544,7 @@ public async Task OnAfterCancelSaveAsync_EditForm()
55445544 }
55455545
55465546 [ Fact ]
5547- public async Task OnAfterCancelSaveAsync_InCell ( )
5547+ public async Task OnAfterCancelSaveAsync_EditForm ( )
55485548 {
55495549 var localizer = Context . Services . GetRequiredService < IStringLocalizer < Foo > > ( ) ;
55505550 var items = Foo . GenerateFoo ( localizer , 2 ) ;
@@ -5579,8 +5579,8 @@ public async Task OnAfterCancelSaveAsync_InCell()
55795579 await cut . InvokeAsync ( ( ) => button [ 0 ] . Click ( ) ) ;
55805580
55815581 // 取消按钮
5582- button = cut . FindAll ( "tbody tr button" ) ;
5583- await cut . InvokeAsync ( ( ) => button [ 1 ] . Click ( ) ) ;
5582+ button = cut . FindAll ( "tbody tr.is-editform button" ) ;
5583+ await cut . InvokeAsync ( ( ) => button [ 0 ] . Click ( ) ) ;
55845584 Assert . True ( afterCancelSave ) ;
55855585 }
55865586
You can’t perform that action at this time.
0 commit comments