Testing - General test workflow improvements (#2144)

This commit is contained in:
dgtlmoon
2024-01-31 15:10:44 +01:00
committed by GitHub
parent 66e2dfcead
commit fca40e4d5b
3 changed files with 24 additions and 11 deletions

View File

@@ -163,6 +163,7 @@ def test_api_simple(client, live_server):
# Loading the most recent snapshot should force viewed to become true
client.get(url_for("diff_history_page", uuid="first"), follow_redirects=True)
time.sleep(3)
# Fetch the whole watch again, viewed should be true
res = client.get(
url_for("watch", uuid=watch_uuid),