Line linking in diffs does not show the targetted line
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
spec/features/merge_request/user_sees_diff_spec.rb:50 started failing frequently and had to be quarantined due to this bug
Linking directly to a diff line does not sure the desired line.
Bug details !166798 (comment 2128156493) Test failure issue: #454628 (moved)
Reproduction Steps
via rspec:
rspec spec/features/merge_request/user_sees_diff_spec.rb:50
or
- Go to !165761 (comment 2128585885)
- Click on the file path in the diff file header
- Page switches to the Changes tab but doesn't scroll to the target file
- If you click on a closest file to that in the file browser the scroll will completely break
Edited by 🤖 GitLab Bot 🤖