File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,29 @@ public void ToolbarTemplate_Ok()
4949 cut . Contains ( "test-toolbar-template" ) ;
5050 }
5151
52+ [ Fact ]
53+ public void ToolbarTooltipText_Ok ( )
54+ {
55+ var cut = Context . RenderComponent < Tab > ( pb =>
56+ {
57+ pb . AddChildContent < TabItem > ( pb =>
58+ {
59+ pb . Add ( a => a . Text , "Tab1" ) ;
60+ pb . Add ( a => a . Url , "/Index" ) ;
61+ pb . Add ( a => a . Closable , true ) ;
62+ pb . Add ( a => a . Icon , "fa-solid fa-font-awesome" ) ;
63+ pb . Add ( a => a . ChildContent , "Tab1-Content" ) ;
64+ } ) ;
65+ pb . Add ( a => a . ShowToolbar , true ) ;
66+ pb . Add ( a => a . RefreshToolbarButtonIcon , "test-refresh-icon" ) ;
67+ pb . Add ( a => a . RefreshToolbarTooltipText , "test-refresh-tooltip-text" ) ;
68+ pb . Add ( a => a . FullscreenToolbarButtonIcon , "test-fullscreen-icon" ) ;
69+ pb . Add ( a => a . FullscreenToolbarTooltipText , "test-fullscreen-tooltip-text" ) ;
70+ } ) ;
71+ cut . Contains ( "test-refresh-icon" ) ;
72+ cut . Contains ( "test-refresh-tooltip-text" ) ;
73+ }
74+
5275 [ Fact ]
5376 public void TabItem_Ok ( )
5477 {
You can’t perform that action at this time.
0 commit comments