Description of problem: Add js to configmap in openshift-web-console project, check the tagged items. They should have be tagged into new category by js. Version-Release number of selected component (if applicable): openshift-master/openshift-web-console: v3.9.20 How reproducible: Always Steps to Reproduce: 1.Add the js to configmap in openshift-web-console project: https://rawgit.com/openshift-qe/v3-testfiles/master/extensions/catalog-categories.js 2. When the container is ready, login on web-console, check if all items from database are also classified into 'My Category' Actual results: Items tagged with "databse" should be also classified into 'My Category' Expected results: Items tagged with "databse" is not classified into 'My Category'. Additional info: created new IS by https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/image-streams/httpd-istag.yaml could be tagged into 'My Category'.
The problem is that your category has a `tags` array and none of the tags in the category match any of the items. You can simply remove the tags array from the category, and the subcategory should match. For example, window.OPENSHIFT_CONSTANTS.SERVICE_CATALOG_CATEGORIES.push( {id: 'mycat', label: 'My Category', subCategories: [ {id: 'database', label: 'Database', tags: ['database']} ]} )