summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/quick/qmltests/BLACKLIST3
-rw-r--r--tests/auto/quick/qmltests/data/tst_navigationRequested.qml3
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/qmltests/BLACKLIST b/tests/auto/quick/qmltests/BLACKLIST
index e271f59a6..16abe5ff6 100644
--- a/tests/auto/quick/qmltests/BLACKLIST
+++ b/tests/auto/quick/qmltests/BLACKLIST
@@ -13,9 +13,6 @@ osx
[WebEngineViewLoadUrl::test_urlProperty]
windows
-[WebEngineViewNavigationRequested::test_navigationRequested]
-*
-
[WebEngineViewSettings::test_javascriptDisabled]
windows
diff --git a/tests/auto/quick/qmltests/data/tst_navigationRequested.qml b/tests/auto/quick/qmltests/data/tst_navigationRequested.qml
index b1c94e601..5013f2fbe 100644
--- a/tests/auto/quick/qmltests/data/tst_navigationRequested.qml
+++ b/tests/auto/quick/qmltests/data/tst_navigationRequested.qml
@@ -83,6 +83,9 @@ TestWebEngineView {
when: windowShown
function init() {
+ // Workaround for QTBUG-56223
+ mouseClick(webEngineView, 0, 0)
+
attributes.clear()
navigationSpy.clear()
shouldIgnoreLinkClicks = false