File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
hivemq-edge-frontend/src/modules/Workspace/components/controls Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ describe('CanvasToolbar', () => {
3737 cy . getByTestId ( 'toolbox-search-expand' ) . should ( 'be.visible' )
3838 } )
3939
40- it ( 'should show layout section when expanded and feature enabled ' , ( ) => {
40+ it ( 'should show layout section when expanded' , ( ) => {
4141 cy . mountWithProviders ( < CanvasToolbar /> , { wrapper } )
4242
4343 // Expand toolbar
@@ -49,19 +49,7 @@ describe('CanvasToolbar', () => {
4949 cy . getByTestId ( 'workspace-apply-layout' ) . should ( 'be.visible' )
5050 } )
5151
52- it ( 'should hide layout section when feature disabled' , ( ) => {
53- cy . mountWithProviders ( < CanvasToolbar /> , { wrapper } )
54-
55- // Expand toolbar
56- cy . getByTestId ( 'toolbox-search-expand' ) . click ( )
57-
58- // Layout section should NOT be visible
59- cy . get ( '[role="region"][aria-label*="Layout"]' ) . should ( 'not.exist' )
60- cy . getByTestId ( 'workspace-layout-selector' ) . should ( 'not.exist' )
61- cy . getByTestId ( 'workspace-apply-layout' ) . should ( 'not.exist' )
62- } )
63-
64- it ( 'should show visual divider between sections when feature enabled' , ( ) => {
52+ it ( 'should show visual divider between sections' , ( ) => {
6553 cy . mountWithProviders ( < CanvasToolbar /> , { wrapper } )
6654
6755 // Expand toolbar
You can’t perform that action at this time.
0 commit comments