fix(prometheus, syslog): word the pause and resume audit actions; the page test reads the escaped apostrophe (#6419)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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'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
|
||||
|
||||
Reference in New Issue
Block a user