Anchor links don't select the targeted test on load

オープン
#422 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@davidjgoss がすでに取り組んでいます。

2026年2月2日 から。

評価

この issue はまだ評価されていません。

説明

:bug: bug
👓 What did you see?

There is a link option available next to features and scenarios which when clicked update the URL to include an anchor.

Image

When opening this link in a new tab or window, the test report does not automatically scroll to the intended spot. Instead, the report stays at the top.

This was originally raised in https://github.com/reqnroll/Reqnroll/issues/1000

✅ What did you expect to see?

The report should scroll to the target link automatically. This allows these links to be sent to others as a quick way of navigating them to a particular feature or scenario within a report.

📦 Which tool/library version are you using?

I think it's v24.1.2.

This report is coming via Reqnroll 3.3.1, which uses Cucumber.HtmlFormatter 22.2.0.

🔬 How could we reproduce it?
  1. Generate a report that's more than a page, so a link heading appears in a place that requires scrolling
  2. Click on the link/anchor to add a target (i.e, a hash) to the url
  3. Copy the url and paste in a new browser tab/window

Observe that the new report does not scroll to the target link.

📚 Any additional context?

No response

主要言語
TypeScript
スター
39
フォーク
13
平均マージ
1日 10時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cucumber/react-components のほかの issue

cucumber/react-components の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。