fix payement link and gallery image
This commit is contained in:
1 parent
de3135b588
commit
1cbbbbd0dc
24 files changed
+654
-116
No files matched your search
+4
-1
@@ -490,7 +490,10 @@ def test_ticket_polling_javascript_keeps_background_sync_and_recovers_reliably()
|
||||
assert "conversationEnd?.scrollIntoView" not in script
|
||||
assert "scroller.scrollTo({top,behavior:'smooth'})" in script
|
||||
assert "data-message-id" in Path("templates/tickets/_messages.html").read_text(encoding="utf-8")
|
||||
assert "acknowledgeVisibleMessages" in script and "document.visibilityState!=='visible'" in script
|
||||
read_script=Path('static/js/conversation-read.js').read_text(encoding='utf-8')
|
||||
assert "document.visibilityState!=='visible'" in read_script and 'getBoundingClientRect' in read_script and 'elementFromPoint' in read_script
|
||||
for template in ('customer_detail.html', 'staff_detail.html'):
|
||||
assert "{% static 'js/conversation-read.js' %}?v={{ static_asset_version }}" in Path('templates/tickets',template).read_text(encoding='utf-8')
|
||||
source_css=Path("static/src/tailwind.css").read_text(encoding="utf-8")
|
||||
assert ".staff-ticket-workspace .composer.is-collapsed{position:fixed" not in source_css
|
||||
assert ".staff-ticket-workspace .composer:not(.is-collapsed){position:fixed" not in source_css
|
||||
|
||||
Reference in new issue
Block a user