fix(prometheus, syslog): word the pause and resume audit actions; the page test reads the escaped apostrophe (#6419)
CI / lint (push) Successful in 2s
CI / unit (push) Successful in 1m39s
CI / integration (push) Successful in 1m45s
CI / publish (push) Successful in 1m13s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-25 17:57:38 -04:00
co-authored by Claude Opus 5.5
parent d20d78498e
commit 057c95c45e
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ async def test_a_target_not_answering_says_why_and_the_cap_is_shown(app):
assert '<span class="stat-tile-value">42 ms</span>' in page
assert "the first scrape runs within seconds of saving" in page
# Paused and resumed from the list (#6419), each row saying which it is.
assert '<span class="badge badge-dim">Paused</span>' in page and "not scraped until it's resumed" in page
assert '<span class="badge badge-dim">Paused</span>' in page and "not scraped until it&#39;s resumed" in page
assert 'action="/plugins/prometheus/targets/id-resting/toggle"' in page
assert page.count(">Pause</button>") == 3 and page.count(">Resume</button>") == 1
assert 'href="/plugins/prometheus/targets/new"' in page and 'href="/plugins/prometheus/targets/id-busy/edit"' in page