jenkinsci / jenkinsci/junit-plugin

[JENKINS-30597] Context menu arrows return 404

Open
#999 4 comments 0 reactions 0 assignees View on GitHub
component:cucumber-testresult-plugin component:junit-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
87
Forks
351
Avg merge
1d 19h
Merged PRs (30d)
2

Description

As you hover over a feature, scenario, etc, a down-arrow appears. If you click on the arrow, a contextMenu XHR request fires in the background. Unfortunately, they all seem to fail with a 404 "not found" response.

Example request headers (redacted)

POST /job/foo/1/testReport/test_foo/contextMenu HTTP/1.1

Host: jenkins
Connection: keep-alive
Content-Length: 0
Origin: https://jenkins
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36
Content-type: application/x-www-form-urlencoded; charset=UTF-8
Accept: text/javascript, text/html, application/xml, text/xml, */*
X-Prototype-Version: 1.7
X-Requested-With: XMLHttpRequest
DNT: 1
Referer: https://jenkins/job/foo/1/testReport/test_bar/
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en;q=0.8,en-US;q=0.6,he;q=0.4

So, either this plugin doesn't support that functionality and they should be hidden, or something else is wrong and is breaking the menus.

---
Originally reported by bricas, imported from: Context menu arrows return 404


  • status: Open
  • priority: Minor
  • component(s): cucumber-testresult-plugin, junit-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 3
  • imported: 2025-11-26

Raw content of original issue

As you hover over a feature, scenario, etc, a down-arrow appears. If you click on the arrow, a contextMenu XHR request fires in the background. Unfortunately, they all seem to fail with a 404 "not found" response.

Example request headers (redacted)

POST /job/foo/1/testReport/test_foo/contextMenu HTTP/1.1

Host: jenkins
Connection: keep-alive
Content-Length: 0
Origin: https://jenkins
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36
Content-type: application/x-www-form-urlencoded; charset=UTF-8
Accept: text/javascript, text/html, application/xml, text/xml, */*
X-Prototype-Version: 1.7
X-Requested-With: XMLHttpRequest
DNT: 1
Referer: https://jenkins/job/foo/1/testReport/test_bar/
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en;q=0.8,en-US;q=0.6,he;q=0.4

So, either this plugin doesn't support that functionality and they should be hidden, or something else is wrong and is breaking the menus.

environment

```
Jenkins 1.631, Cucumber (js) 0.6.0, Cucumber test results plugin 0.8.2.

Jenkins 1.625.3, JUnit plugin 1.6/1.10.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.