[go: up one dir, main page]

Opening Retry build button on merge requests page in new tab / window doesn't work

EDIT

Single Source of Truth:

  • This "buttons" should be <button> and not <a>, this will prevent this error from happening, there is no technical reason to open this in a new link.

In order to accomplish this we need to make sure:

  • The post request is correctly made
  • The user gets feedback about this action, we need UX help here /cc @dimitrieh
  • Test will need to be updated.

Summary

Same as #20286 (moved) but for the Retry button in the builds tab of a merge request. Right clicking Retry button and selecting open in new tab / window in context menu does not Retry the build.

Steps to reproduce

  • open any merge request
  • select builds tab
  • right click Retry button for any build
  • select open in new tab or new window
  • receive 404 (see below)
  • go back to issue page
  • build is not restarted / retried

Expected behavior

Build is restarted / retried.

Screenshot

404

Possible fixes

Same as for #20286 (moved): make Retry buttons a <button> not <a> .