File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,14 @@ public async Task TabStyle_Ok()
5757 cut . SetParametersAndRender ( pb => pb . Add ( a => a . TabContextMenuTemplate , tab => b => b . AddContent ( 0 , "test-tab-context-menu" ) ) ) ;
5858 cut . Contains ( "test-tab-context-menu" ) ;
5959
60+ cut . SetParametersAndRender ( pb =>
61+ {
62+ pb . Add ( a => a . TabContextMenuRefreshIcon , "test-tab-refresh-icon" ) ;
63+ pb . Add ( a => a . TabContextMenuCloseIcon , "test-tab-close-icon" ) ;
64+ pb . Add ( a => a . TabContextMenuCloseAllIcon , "test-tab-close-all-icon" ) ;
65+ pb . Add ( a => a . TabContextMenuCloseOtherIcon , "test-tab-close-other-icon" ) ;
66+ } ) ;
67+
6068 // test context menu onclick event handler
6169 var tab = cut . Find ( ".tabs-item" ) ;
6270 await cut . InvokeAsync ( ( ) => tab . ContextMenu ( ) ) ;
@@ -66,6 +74,10 @@ public async Task TabStyle_Ok()
6674 {
6775 await cut . InvokeAsync ( ( ) => button . Click ( ) ) ;
6876 }
77+ cut . Contains ( "test-tab-refresh-icon" ) ;
78+ cut . Contains ( "test-tab-close-icon" ) ;
79+ cut . Contains ( "test-tab-close-all-icon" ) ;
80+ cut . Contains ( "test-tab-close-other-icon" ) ;
6981 }
7082
7183 [ Fact ]
You can’t perform that action at this time.
0 commit comments