File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ public void ValidateForm_Ok()
218218 }
219219
220220 [ Fact ]
221- public void IsButton_Ok ( )
221+ public async Task IsButton_Ok ( )
222222 {
223223 var cut = Context . RenderComponent < RadioList < EnumEducation > > ( pb =>
224224 {
@@ -232,14 +232,14 @@ public void IsButton_Ok()
232232 {
233233 pb . Add ( a => a . Color , Color . Danger ) ;
234234 } ) ;
235- cut . Contains ( "btn btn-outline-danger " ) ;
235+ cut . Contains ( "btn border-secondary " ) ;
236236
237- cut . InvokeAsync ( ( ) =>
237+ var btn = cut . Find ( ".btn" ) ;
238+ await cut . InvokeAsync ( ( ) =>
238239 {
239- var btn = cut . Find ( ".btn" ) ;
240240 btn . Click ( ) ;
241- cut . Contains ( "btn btn-outline-danger active" ) ;
242241 } ) ;
242+ cut . Contains ( "btn border-secondary active bg-danger" ) ;
243243 }
244244
245245 [ Fact ]
You can’t perform that action at this time.
0 commit comments