diff --git a/tests/end2end/features/test_prompts_bdd.py b/tests/end2end/features/test_prompts_bdd.py index 9297d1d29..c08405d3e 100644 --- a/tests/end2end/features/test_prompts_bdd.py +++ b/tests/end2end/features/test_prompts_bdd.py @@ -49,11 +49,14 @@ def fresh_instance(quteproc): # Qt6.8 by default will remember feature grants or denies. When we are # on PyQt6.8 we disable that with the new API, otherwise restart the # browser to make it forget previous prompts. + # + # Qt 6.10 Beta 4 accidentally persists some permissions; + # WORKAROUND for https://bugreports.qt.io/browse/QTBUG-140194 if ( qtutils.version_check("6.8", compiled=False) and PYQT_WEBENGINE_VERSION and PYQT_WEBENGINE_VERSION < 0x60800 - ): + ) or qtutils.version_check("6.10", compiled=False, exact=True): quteproc.terminate() quteproc.start()