diff options
author | guillaume-peoch-sonarsource <guillaume.peoch@sonarsource.com> | 2022-12-27 16:34:19 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-01-04 20:02:52 +0000 |
commit | ee69119351e6432bf221b2d74151ab99cf1c2546 (patch) | |
tree | 736743cc5d9ca716de69609fbdd3d1526e0613a4 /server/sonar-web/src/main/js/apps | |
parent | 230e7bd43b3ee84d0e2732b121a100740261161e (diff) | |
download | sonarqube-ee69119351e6432bf221b2d74151ab99cf1c2546.tar.gz sonarqube-ee69119351e6432bf221b2d74151ab99cf1c2546.zip |
SONAR-16556 Do not open rule panel or issues under Project > Measures / Code tabs
Diffstat (limited to 'server/sonar-web/src/main/js/apps')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/__tests__/IssuesApp-it.tsx | 10 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/styles.css | 12 |
2 files changed, 10 insertions, 12 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/__tests__/IssuesApp-it.tsx b/server/sonar-web/src/main/js/apps/issues/__tests__/IssuesApp-it.tsx index f93a987b1c1..9c0ac32197a 100644 --- a/server/sonar-web/src/main/js/apps/issues/__tests__/IssuesApp-it.tsx +++ b/server/sonar-web/src/main/js/apps/issues/__tests__/IssuesApp-it.tsx @@ -50,6 +50,16 @@ beforeEach(() => { window.HTMLElement.prototype.scrollIntoView = jest.fn(); }); +it('should navigate to Why is this an issue tab', async () => { + renderProjectIssuesApp('project/issues?issues=issue2&open=issue2&id=myproject&why=1'); + expect( + await screen.findByRole('tab', { + name: `coding_rules.description_section.title.root_cause`, + selected: true, + }) + ).toBeInTheDocument(); +}); + //Improve this to include all the bulk change fonctionality it('should be able to bulk change', async () => { const user = userEvent.setup(); diff --git a/server/sonar-web/src/main/js/apps/issues/styles.css b/server/sonar-web/src/main/js/apps/issues/styles.css index e1d2e28f29e..bc12ffb35a6 100644 --- a/server/sonar-web/src/main/js/apps/issues/styles.css +++ b/server/sonar-web/src/main/js/apps/issues/styles.css @@ -169,18 +169,6 @@ width: 800px; } -.issues .issue { - border: 2px solid transparent; - cursor: pointer; -} - -.issues .issue:focus-within, -.issues .issue:hover { - border: 2px dashed var(--blue); - transition: all 0.3s ease; - outline: 0; -} - .issues .issue a:focus, .issues .issue button:focus { box-shadow: none; |