test(traefik): the 502 card's wording is read as rendered, apostrophe escaped (#5712)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -115,7 +115,7 @@ async def test_a_502_card_points_to_its_service(app):
|
||||
r = _problem(_latest(e5=2.5), [("502", 40)])
|
||||
explain_problems([r], ["app_app", "app_db"])
|
||||
card = await _card(app, r)
|
||||
assert "<strong>Server errors</strong>" in card and "couldn't reach the app" in card
|
||||
assert "<strong>Server errors</strong>" in card and "couldn't reach the app" in card
|
||||
assert 'href="/plugins/docker/service/app_app">app_app: its tasks and logs' in card
|
||||
assert "/settings/thresholds/" not in card
|
||||
|
||||
|
||||
Reference in New Issue
Block a user