From 1491f20201066dee1e073012dfa2fe4f0195a6ce Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 10 Sep 2017 02:00:21 +0200 Subject: [PATCH] Remove geolocation tests They just cause more trouble than they're worth. --- pytest.ini | 4 ---- tests/end2end/features/prompts.feature | 16 ---------------- 2 files changed, 20 deletions(-) diff --git a/pytest.ini b/pytest.ini index 999a6b05a..40b11614e 100644 --- a/pytest.ini +++ b/pytest.ini @@ -44,10 +44,6 @@ qt_log_ignore = ^QWaitCondition: Destroyed while threads are still waiting ^QXcbXSettings::QXcbXSettings\(QXcbScreen\*\) Failed to get selection owner for XSETTINGS_S atom ^QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to .* - ^QGeoclueMaster error creating GeoclueMasterClient\. - ^Geoclue error: Process org\.freedesktop\.Geoclue\.Master exited with status 127 - ^QDBusConnection: name 'org.freedesktop.Geoclue.Master' had owner '' but we thought it was ':1.1' - ^Failed to create Geoclue client interface. Geoclue error: org\.freedesktop\.DBus\.Error\.Disconnected ^QObject::connect: Cannot connect \(null\)::stateChanged\(QNetworkSession::State\) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged\(QNetworkSession::State\) ^QXcbClipboard: Cannot transfer data, no data available ^load glyph failed diff --git a/tests/end2end/features/prompts.feature b/tests/end2end/features/prompts.feature index e733d69b1..8a3f785e6 100644 --- a/tests/end2end/features/prompts.feature +++ b/tests/end2end/features/prompts.feature @@ -219,22 +219,6 @@ Feature: Prompts And I run :click-element id button Then the javascript message "geolocation permission denied" should be logged - @ci @not_mac @qt!=5.8 - Scenario: Always accepting geolocation - When I set content -> geolocation to true - And I open data/prompt/geolocation.html in a new tab - And I run :click-element id button - Then the javascript message "geolocation permission denied" should not be logged - - @ci @not_mac @qt!=5.8 - Scenario: geolocation with ask -> true - When I set content -> geolocation to ask - And I open data/prompt/geolocation.html in a new tab - And I run :click-element id button - And I wait for a prompt - And I run :prompt-accept yes - Then the javascript message "geolocation permission denied" should not be logged - Scenario: geolocation with ask -> false When I set content -> geolocation to ask And I open data/prompt/geolocation.html in a new tab