Open Bug 1506647 Opened 7 years ago Updated 5 months ago

Add a test to ensure that same-document pages redirects are not double counted in SERP telemetry (Create test for bug 1504686)

Categories

(Firefox :: Search, task, P3)

task

Tracking

()

Tracking Status
firefox65 --- wontfix

People

(Reporter: mkaply, Unassigned)

References

Details

(Whiteboard: [search-telemetry-backlog][sng][search-tech-debt])

We need to create a test for bug 1504686. From drew: I would probably start by trying to write a small web page that mimics whatever DDG does to trigger this bug, and then the test would just load it and make sure we didn't double count. Or if it's a server-level thing then you could write an sjs script and load that instead. DDG is getting captured here due to the SEARCH_PROVIDER_INFO stuff that I recently modified, right? So you could use the same observe() technique to add your test URL so that it's captured during the test. I'd also run the test without the fix to make sure it does trigger the double count of course.
Priority: -- → P3
Assignee: mozilla → nobody
Severity: normal → N/A
Type: enhancement → task
Whiteboard: [search-telemetry-backlog]

For reference, we need to make sure this code is covered.

Depends on: 1504686
Summary: Create test for bug 1504686 (DDG duplicate search count) → Add a test to ensure that same-document pages redirects are not double counted in SERP telemetry (Create test for bug 1504686)
Whiteboard: [search-telemetry-backlog] → [search-telemetry-backlog][sng]
Whiteboard: [search-telemetry-backlog][sng] → [search-telemetry-backlog][sng][search-tech-debt]
You need to log in before you can comment on or make changes to this bug.