From b716b469dbf6da441f0b4b799db9d9452f131e48 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Thu, 9 May 2024 21:49:51 +0200 Subject: [PATCH] :green_heart: Try to make flaky test(s) more resilient --- testapp/templates/show-cookie-bar-script.html | 2 ++ testapp/templates/test_page.html | 2 ++ tests/test_javascript_cookiebar.py | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/testapp/templates/show-cookie-bar-script.html b/testapp/templates/show-cookie-bar-script.html index 269edf8..caaba5f 100644 --- a/testapp/templates/show-cookie-bar-script.html +++ b/testapp/templates/show-cookie-bar-script.html @@ -21,6 +21,8 @@ }, onDecline: () => document.querySelector('body').classList.remove('with-cookie-bar'), }); + + document.getElementById('loading-marker').style.display = 'inline';