Update
DevPlace CI / test (push) Successful in 24m57s

This commit is contained in:
2026-06-16 08:50:16 +02:00
parent a859d118c3
commit e0dc6a2ba7
7 changed files with 86 additions and 10 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ def test_delete_comment_scrolls_to_previous_comment(alice):
expect(page.locator(f".comment-text:has-text('{target}')")).to_have_count(0)
page.wait_for_function(
"expected => Math.abs(window.scrollY - expected) < 120",
"expected => { const max = document.documentElement.scrollHeight - window.innerHeight; return Math.abs(window.scrollY - Math.min(expected, max)) < 120; }",
arg=anchor_top,
)
expect(previous_wrapper).to_be_visible()