Open Bug 2003780 Opened 21 hours ago Updated 21 hours ago

[Address Bar 138+] Create test for Performing URLbar searches from a remote page works correctly(ddg)

Categories

(Mozilla QA :: STArFox, task)

Tracking

(Not tracked)

People

(Reporter: cbaica, Unassigned)

References

(Blocks 1 open bug)

Details

Create test for Address Bar 138+ manual test case: Performing URLbar searches from a remote page works correctly(ddg)

TestRail test ID: 3029250
STArFox test suite: address_bar_138+

Test Steps:

Enable the feature by setting browser.urlbar.showSearchTerms.featureGate to true.

Have Duckduckgo set as default engine.

Launch Firefox with the profile from the precondition.
Navigate to any website. e.g. https://mozilla.org
Using the URLbar (in the same tab from step 2), perform a search.

  • *- The SERP of the page is reached

  • The search term is displayed in the urlbar*
    Go to about:telemetry->Raw JSON and verify that under search_counts the urlbar ping is listed.

  • *The ping exists and has the correct format according to the engine used. e.g.

  • "ddg.urlbar": {
    "bucket_count": 3,
    "histogram_type": 4,
    "sum": 1,
    "range": [
    1,
    2*
    Click on any website from the result page.
    Click the back button.

  • *- The SERP from step 3 is displayed.

  • The search term from step 3 is displayed in the URLbar*
    Go to about:telemetry->Raw JSON and search for browser.search.content.tabhistory.

  • *The telemetry is successfully found with the correct format according to the default engine used. e.g.

  • "browser.search.content.tabhistory": {
    "duckduckgo:tagged:ffab": 1*

You need to log in before you can comment on or make changes to this bug.