test(docker): a filtered overview leaves the service out of its table, not out of the failures list (#5299)
CI / lint (push) Successful in 2s
CI / integration (push) Successful in 1m12s
CI / unit (push) Successful in 1m36s
CI / publish (push) Successful in 1m35s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-07 20:14:33 -04:00
co-authored by Claude Opus 5.5
parent aae61f1d2c
commit 0b5cd23d38
@@ -139,4 +139,6 @@ def test_a_service_page_reads_every_task(app):
# A stack chip keeps the search it was clicked under.
assert f'<a class="chip" href="/plugins/docker/?q=it{tag}&amp;stack=it{tag}"' in rows
assert f'/plugins/docker/service/{name}?task={dead_task}#logs' in rows # the failure's logs
assert f'href="/plugins/docker/service/{name}"' not in got["other"][1]
# Another stack's filter leaves it out of the table; the failures list is never filtered.
assert f'<td class="cell-name"><a href="/plugins/docker/service/{name}"' in rows
assert f'<td class="cell-name"><a href="/plugins/docker/service/{name}"' not in got["other"][1]