loading: true,
locationsNavigator: false,
myIssues: areMyIssuesSelected(props.location.query),
- openFacets: { resolutions: true, types: true },
+ openFacets: { severities: true, types: true },
openIssue: null,
openPopup: null,
query: parseQuery(props.location.query),
stats={facets.types}
types={query.types}
/>
+ <SeverityFacet
+ facetMode={query.facetMode}
+ onChange={this.props.onFilterChange}
+ onToggle={this.props.onFacetToggle}
+ open={!!openFacets.severities}
+ severities={query.severities}
+ stats={facets.severities}
+ />
<ResolutionFacet
facetMode={query.facetMode}
onChange={this.props.onFilterChange}
resolutions={query.resolutions}
stats={facets.resolutions}
/>
- <SeverityFacet
- facetMode={query.facetMode}
- onChange={this.props.onFilterChange}
- onToggle={this.props.onFacetToggle}
- open={!!openFacets.severities}
- severities={query.severities}
- stats={facets.severities}
- />
<StatusFacet
facetMode={query.facetMode}
onChange={this.props.onFilterChange}
// on project issues page
assertThat(url()).contains("/project/issues?id=sample&resolved=false&types=CODE_SMELL");
- $$(".facet.active").shouldHaveSize(3).find(text("Unresolved")).should(exist);
+ $$(".facet.active").shouldHaveSize(2).find(text("Code Smell")).should(exist);
$("#global-navigation").find("a[href=\"/profiles\"]").click();