UI - 'Mark all viewed' button should not show when all viewed (#2399)

This commit is contained in:
dgtlmoon
2024-06-05 11:46:04 +02:00
committed by GitHub
parent b8e279a025
commit 6aded50aca
2 changed files with 4 additions and 1 deletions

View File

@@ -135,6 +135,9 @@ def test_check_basic_change_detection_functionality(client, live_server):
# It should have picked up the <title>
assert b'head title' in res.data
# Be sure the last_viewed is going to be greater than the last snapshot
time.sleep(1)
# hit the mark all viewed link
res = client.get(url_for("mark_all_viewed"), follow_redirects=True)