From 8249853b776aaa19efbc211a3352d6a609b3aa2f Mon Sep 17 00:00:00 2001 From: Raphael Pierzina Date: Fri, 6 Sep 2019 18:29:59 +0000 Subject: [PATCH] Bug 1543960 - Update doc string in telemetry-tests-client search test; r=chutten Differential Revision: https://phabricator.services.mozilla.com/D45040 --HG-- extra : moz-landing-system : lando --- .../tests/client/test_search_counts_across_sessions.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/toolkit/components/telemetry/tests/marionette/tests/client/test_search_counts_across_sessions.py b/toolkit/components/telemetry/tests/marionette/tests/client/test_search_counts_across_sessions.py index c2a0aa6f70d8..de477505cc3d 100644 --- a/toolkit/components/telemetry/tests/marionette/tests/client/test_search_counts_across_sessions.py +++ b/toolkit/components/telemetry/tests/marionette/tests/client/test_search_counts_across_sessions.py @@ -15,7 +15,13 @@ class TestSearchCounts(TelemetryTestCase): """Test for SEARCH_COUNTS across sessions.""" def get_default_search_engine(self): - """Retrieve the identifier of the default search engine.""" + """Retrieve the identifier of the default search engine. + + We found that it's required to initialize the search service before + attempting to retrieve the default search engine. Not calling init + would result in a JavaScript error (see bug 1543960 for more + information). + """ script = """\ let [resolve] = arguments;