Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hy/google search counts us #74

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Conversation

sv-hyacoub
Copy link
Collaborator

@sv-hyacoub sv-hyacoub commented Jun 21, 2024

Description

This test ensures that search count telemetry data is collected accordingly for Google.

Bugzilla bug ID

ID: 1902774
Link: https://bugzilla.mozilla.org/show_bug.cgi?id=1902774

Type of change

Please delete options that are not relevant.

  • New Test
  • New POM
  • Other Changes (Please specify)

How does this resolve / make progress on that bug?

Completed.

Screenshots / Explanations

N/A.

Comments / Concerns

Created a POM for about:telemetry with a function to decode url to base64
Created a function in BasePage to switch tab.
Created a test for google search count, I used jsonpath-ng 1.6.1 to parse the json.
I had to use time.sleep() after the search otherwise both of the telemetries weren't displayed.

Copy link
Collaborator

@ben-c-at-moz ben-c-at-moz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of odd things but the test itself looks good from here.

tests/address_bar_and_search/report.html Outdated Show resolved Hide resolved
@ben-c-at-moz
Copy link
Collaborator

One more thing, I'm going to need you to merge main before I can approve the PR

Hani Yacoub added 3 commits June 25, 2024 11:38
i
Merge main to the branch to make it up to date
:wq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants