File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
apps/sq-server/src/main/js/apps/settings/components/__tests__ Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -141,24 +141,6 @@ describe('Global Settings', () => {
141141 expect ( await ui . jsGeneralSubCategoryHeading . find ( ) ) . toBeInTheDocument ( ) ;
142142 } ) ;
143143
144- it ( 'renders Advanced Security category' , async ( ) => {
145- const user = userEvent . setup ( ) ;
146- entitlementsMock . data . purchasableFeatures = [
147- { featureKey : 'sca' , isAvailable : true , isEnabled : false } ,
148- ] ;
149- renderSettingsApp ( ) ;
150-
151- // Navigating to Advanced Security category
152- await user . click ( await ui . categoryLink ( 'property.category.Advanced Security' ) . find ( ) ) ;
153-
154- expect ( await ui . scaHeading . find ( ) ) . toBeInTheDocument ( ) ;
155-
156- await user . click ( ui . settingsSearchInput . get ( ) ) ;
157- await user . type ( ui . settingsSearchInput . get ( ) , 'global' ) ;
158- expect ( ui . searchItem ( 'sonar.sca.featureEnabled' ) . query ( ) ) . not . toBeInTheDocument ( ) ;
159- await user . type ( ui . settingsSearchInput . get ( ) , 'sca' ) ;
160- expect ( ui . searchItem ( 'sonar.sca.featureEnabled' ) . query ( ) ) . not . toBeInTheDocument ( ) ;
161- } ) ;
162144
163145 it ( 'can search definitions by name or key' , async ( ) => {
164146 const user = userEvent . setup ( ) ;
You can’t perform that action at this time.
0 commit comments