feat(ansible): the whole run row opens the run (#5214)
CI / lint (push) Successful in 3s
CI / integration (push) Successful in 57s
CI / unit (push) Successful in 1m24s
CI / publish (push) Successful in 1m29s

Same .row-link / .row-target as the Alerts rules list (snippet #5320).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-07 23:36:26 -04:00
co-authored by Claude Opus 5.5
parent 16b636b2f0
commit 7499c38037
2 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -54,7 +54,8 @@ async def test_the_runs_list_names_each_run_with_one_badge(app):
page = await render_template("ansible/index.html", runs=runs, after="2026-10-07T01:00:00+00:00|x")
main = page[page.index("<main"):]
assert '<a href="/ansible/runs/aaaa1111">update.yml on web-1</a>' in main
assert '<tr class="row-link">' in main # the whole row opens the run
assert '<a class="row-target" href="/ansible/runs/aaaa1111">update.yml on web-1</a>' in main
assert "steward:target:t1" not in main # no raw scope, not even as a tooltip
assert ">update.yml on all inventory targets</a>" in main
assert '<span class="badge badge-info">Running</span>' in main