File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,14 @@ public void ShowFooter_OK()
2020 {
2121 pb . Add ( a => a . ShowFooter , true ) ;
2222 pb . Add ( a => a . Footer , CreateFooter ( ) ) ;
23+ pb . Add ( a => a . ShowGotoTop , true ) ;
2324 } ) ;
2425 Assert . Contains ( "Footer" , cut . Markup ) ;
26+ cut . SetParametersAndRender ( pb =>
27+ {
28+ pb . Add ( a => a . IsFixedTabHeader , true ) ;
29+ } ) ;
30+ cut . Contains ( "data-bb-target=\" .tabs-body\" " ) ;
2531
2632 cut . SetParametersAndRender ( pb => pb . Add ( a => a . ShowFooter , false ) ) ;
2733 cut . WaitForAssertion ( ( ) => Assert . DoesNotContain ( "Footer" , cut . Markup ) ) ;
@@ -54,7 +60,6 @@ public void IsFixedTabHeader_OK()
5460 {
5561 var cut = Context . RenderComponent < Layout > ( pb =>
5662 {
57- pb . Add ( a => a . ShowGotoTop , true ) ;
5863 pb . Add ( a => a . Side , new RenderFragment ( builder =>
5964 {
6065 builder . AddContent ( 0 , "test" ) ;
You can’t perform that action at this time.
0 commit comments