Closed
Bug 1281813
Opened 9 years ago
Closed 8 years ago
QA for browser engagement phase 1
Categories
(Toolkit :: Telemetry, defect, P1)
Toolkit
Telemetry
Tracking
()
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
firefox50 | --- | affected |
People
(Reporter: Dexter, Assigned: Silne30)
References
()
Details
(Whiteboard: [measurement:client])
Attachments
(1 file, 2 obsolete files)
We need to perform some quality checks once we have the browser engagement data (as scalars) flowing out of the client.
Reporter | ||
Updated•9 years ago
|
Priority: -- → P2
Reporter | ||
Comment 1•9 years ago
|
||
Here's the doc I've been putting together: https://docs.google.com/document/d/1Y8IZP85mg_cbaOud30WamjUh6EIhOu-Re3LZ1mWxwLs/edit
Updated•9 years ago
|
Reporter | ||
Updated•9 years ago
|
Priority: P2 → P1
Updated•9 years ago
|
Summary: QA for browser engagement phase 1 → QA plan for browser engagement phase 1
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jdorlus
Updated•9 years ago
|
Points: --- → 3
Assignee | ||
Updated•9 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•8 years ago
|
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 2•8 years ago
|
||
I am attaching a PDF of all of the test cases that we wrote.
Assignee | ||
Comment 3•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(gfritzsche)
Flags: needinfo?(alessio.placitelli)
Reporter | ||
Comment 4•8 years ago
|
||
Thanks John, these cases look good. Maybe we could have expanded a bit on the total_uri_count probe QA, as it could get a bit tricky. But I'm probably looking at this from a developer point of view.
Additional questions that comes to my mind when looking at your doc (and thinking of that probe):
- Are we really only counting user-initiated URI loads?
- Are loads from iframes counted?
- Are we really restricted to http(s)?
Flags: needinfo?(alessio.placitelli)
Assignee | ||
Comment 5•8 years ago
|
||
Reopening to add some cases to cover (In reply to Alessio Placitelli [:Dexter] from comment #4)
Status: VERIFIED → REOPENED
Flags: needinfo?(gfritzsche) → needinfo?(jdorlus)
Resolution: FIXED → ---
Comment 6•8 years ago
|
||
- C4312 seems to be covered by C4963 already
- "2.5. browser.engagement.total_uri_count" needs more cases (what Alessio said and a basic "counting URI navigations")
- "2.6. browser.engagement.unique_domains_count" also seems to miss the basic domain counting / increase
A thought for future efforts:
How about we start out with this kind of list, before committing to the detail work of testing all the cases?
Updated•8 years ago
|
Summary: QA plan for browser engagement phase 1 → QA for browser engagement phase 1
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(jdorlus)
Assignee | ||
Comment 8•8 years ago
|
||
While validating if total_uri_count performs correctly, I noticed a small difference in an edge case. Can you tell me what behavior is desired.
Steps to reproduce:
1.) Open up nightly with new profile
2.) In the first tab, navigate to about:telemetry and expand the Scalars section. They should read:
Name: browser.engagement.total_uri_count, Value: 1
Name: browser.engagement.max_concurrent_window_count, Value:1
Name: browser.engagement.unique_domains_count, Value: 1
Name: browser.engagement.max_concurrent_tab_count, Value: 2
3.) Go to the other tab and navigate to about:nobody (It's a fake page, should throw error)
4.) Go back to about:telemetry Tab and refresh. The scalars should not change.
Flags: needinfo?(jdorlus)
Flags: needinfo?(gfritzsche)
Flags: needinfo?(alessio.placitelli)
Assignee | ||
Comment 9•8 years ago
|
||
Steps to reproduce (scenario 2):
Steps to reproduce:
1.) Open up nightly with new profile
2.) In the first tab: navigate to about:nobody
3.) In the second tab: navigate to about:telemetry and expand the scalars section.
4.) The scalars are different from the above scenario. They now read:
Name: browser.engagement.max_concurrent_window_count, Value:1
Name: browser.engagement.max_concurrent_tab_count, Value: 2
Are both scenarios correct? Should changing the order of the operations have yielded these different results? Let me know so I know wha to put in Test Rail.
Assignee | ||
Comment 10•8 years ago
|
||
(In reply to Alessio Placitelli [:Dexter] from comment #4)
> Thanks John, these cases look good. Maybe we could have expanded a bit on
> the total_uri_count probe QA, as it could get a bit tricky. But I'm probably
> looking at this from a developer point of view.
>
> Additional questions that comes to my mind when looking at your doc (and
> thinking of that probe):
>
> - Are we really only counting user-initiated URI loads?
> - Are loads from iframes counted?
> - Are we really restricted to http(s)?
About the first point that you mentioned about only counting user-initiated URI Loads: Would that count the homepage that is loaded when you start nightly? That page is counted as a unique domain yet the user did not initiate it.
Reporter | ||
Comment 11•8 years ago
|
||
(In reply to John Dorlus [:Silne30] from comment #10)
> (In reply to Alessio Placitelli [:Dexter] from comment #4)
> > - Are we really only counting user-initiated URI loads?
>
> About the first point that you mentioned about only counting user-initiated
> URI Loads: Would that count the homepage that is loaded when you start
> nightly? That page is counted as a unique domain yet the user did not
> initiate it.
This sounds like a bug. Could you please file one?
Flags: needinfo?(alessio.placitelli)
Reporter | ||
Comment 12•8 years ago
|
||
(In reply to John Dorlus [:Silne30] from comment #8)
> While validating if total_uri_count performs correctly, I noticed a small
> difference in an edge case. Can you tell me what behavior is desired.
>
> Steps to reproduce:
> 1.) Open up nightly with new profile
> 2.) In the first tab, navigate to about:telemetry and expand the Scalars
> section. They should read:
> Name: browser.engagement.total_uri_count, Value: 1
> Name: browser.engagement.max_concurrent_window_count, Value:1
> Name: browser.engagement.unique_domains_count, Value: 1
> Name: browser.engagement.max_concurrent_tab_count, Value: 2
>
> 3.) Go to the other tab and navigate to about:nobody (It's a fake page,
> should throw error)
> 4.) Go back to about:telemetry Tab and refresh. The scalars should not
> change.
I'm not sure about that. Could you please file a bug about this and the other issue that you find and make them block this bug?
Flags: needinfo?(jdorlus)
Updated•8 years ago
|
Flags: needinfo?(gfritzsche)
Assignee | ||
Comment 13•8 years ago
|
||
(In reply to Alessio Placitelli [:Dexter] from comment #4)
> Thanks John, these cases look good. Maybe we could have expanded a bit on
> the total_uri_count probe QA, as it could get a bit tricky. But I'm probably
> looking at this from a developer point of view.
>
> Additional questions that comes to my mind when looking at your doc (and
> thinking of that probe):
>
> - Are we really only counting user-initiated URI loads?
> - Are loads from iframes counted?
> - Are we really restricted to http(s)?
For the third point, I tried creating a test case that would access an ftp:// site but I cannot find a site to navigate to. Even ftp://ftp.mozilla.org has been changed over to https. Is there any way to get this working or is there another protocol I can use to test this case?
Reporter | ||
Comment 14•8 years ago
|
||
(In reply to John Dorlus [:Silne30] from comment #13)
> > - Are we really restricted to http(s)?
>
> For the third point, I tried creating a test case that would access an
> ftp:// site but I cannot find a site to navigate to. Even
> ftp://ftp.mozilla.org has been changed over to https. Is there any way to
> get this working or is there another protocol I can use to test this case?
You can use a data URI, such as:
data:text/html,<html><body id="some_id"><input></body></html>
Assignee | ||
Comment 15•8 years ago
|
||
Attachment #8786887 -
Attachment is obsolete: true
Attachment #8792124 -
Flags: review?(gfritzsche)
Assignee | ||
Updated•8 years ago
|
Attachment #8792124 -
Flags: review?(alessio.placitelli)
Assignee | ||
Updated•8 years ago
|
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 16•8 years ago
|
||
(In reply to John Dorlus [:Silne30] from comment #15)
> Created attachment 8792124 [details]
> Engagement - Updated - TestRail.pdf
Thanks John! I can't seem to find any test covering basic URI counting (e.g. open a list of URIs and making sure that the number of URIs after a browsing session matches). Is that included in some other test?
Flags: needinfo?(jdorlus)
Updated•8 years ago
|
Status: RESOLVED → REOPENED
Flags: needinfo?(jdorlus)
Resolution: FIXED → ---
Updated•8 years ago
|
Flags: needinfo?(jdorlus)
Assignee | ||
Comment 17•8 years ago
|
||
Attachment #8792124 -
Attachment is obsolete: true
Attachment #8792124 -
Flags: review?(gfritzsche)
Attachment #8792124 -
Flags: review?(alessio.placitelli)
Flags: needinfo?(jdorlus)
Attachment #8793360 -
Flags: review?(gfritzsche)
Assignee | ||
Comment 18•8 years ago
|
||
Comment on attachment 8793360 [details]
Engagement - Second Update - TestRail.pdf
Added tests cases to cover both basic cases.
Attachment #8793360 -
Flags: review?(alessio.placitelli)
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(gfritzsche)
Flags: needinfo?(alessio.placitelli)
Reporter | ||
Comment 19•8 years ago
|
||
Comment on attachment 8793360 [details]
Engagement - Second Update - TestRail.pdf
This looks good to me after your changes.
Flags: needinfo?(alessio.placitelli)
Attachment #8793360 -
Flags: review?(alessio.placitelli) → review+
Comment 20•8 years ago
|
||
I think Alessio has this covered now, thanks!
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Flags: needinfo?(gfritzsche)
Resolution: --- → FIXED
Updated•8 years ago
|
Attachment #8793360 -
Flags: review?(gfritzsche)
Assignee | ||
Updated•8 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•