Closed Bug 1659011 Opened 4 years ago Closed 4 years ago

Intermittent TV browser/components/urlbar/tests/browser/browser_oneOffs.js | The heuristic action should not be visible - false == true - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_oneOffs.js

Categories

(Firefox :: Address Bar, defect, P5)

defect
Points:
2

Tracking

()

RESOLVED FIXED
81 Branch
Iteration:
81.2 - Aug 10 - Aug 23
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox79 --- unaffected
firefox80 --- unaffected
firefox81 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: adw)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=312950405&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XVu1oJspQiGEBLbsVno3zg/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XVu1oJspQiGEBLbsVno3zg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2020-08-13T19:30:45.696Z] 19:30:45 INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_oneOffs.js | Expected one-off should be selected - -1 == -1 -
[task 2020-08-13T19:30:45.696Z] 19:30:45 INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_oneOffs.js | Expected value - "example.com/browser_urlbarOneOffs.js/?9" == "example.com/browser_urlbarOneOffs.js/?9" -
[task 2020-08-13T19:30:45.696Z] 19:30:45 INFO - Buffered messages finished
[task 2020-08-13T19:30:45.696Z] 19:30:45 INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_oneOffs.js | The heuristic action should not be visible - false == true - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_oneOffs.js :: editedView :: line 292
[task 2020-08-13T19:30:45.696Z] 19:30:45 INFO - Stack trace:
[task 2020-08-13T19:30:45.696Z] 19:30:45 INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_oneOffs.js:editedView:292
[task 2020-08-13T19:30:45.697Z] 19:30:45 INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_oneOffs.js | Expected result should be selected - 2 == 2 -
[task 2020-08-13T19:30:45.697Z] 19:30:45 INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_oneOffs.js | Expected one-off should be selected - -1 == -1 -
[task 2020-08-13T19:30:45.697Z] 19:30:45 INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_oneOffs.js | Expected value - "example.com/browser_urlbarOneOffs.js/?8" == "example.com/browser_urlbarOneOffs.js/?8" -
[task 2020-08-13T19:30:45.697Z] 19:30:45 INFO - Not taking screenshot here: see the one that was previously logged

Severity: normal → S3
Assignee: nobody → adw
Status: NEW → ASSIGNED
Iteration: --- → 81.2 - Aug 10 - Aug 23
Points: --- → 2

I can reproduce this reliably after refreshing my tree and applying the patch to
bug 1657918. It seems to be permanent in fact. The problem is that a previous
test (or the test itself, since this is a failure in verify mode) leaves the
mouse over the heuristic result, which causes it to be highlighted and show its
action text ("Search with Google"). The test is checking that the action text is
hidden.

We just need to synthesize a mousemove away from the view as the test starts. We
do something similar in a few tests already, although sometimes we use
EventUtils.synthesizeNativeMouseMove instead of what I use here. I tried that
function first but it didn't work here, so I went with the other one we use,
EventUtils.synthesizeMouse with mousemove.

Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4e5a9c3ae518
Fix intermittent TV browser/components/urlbar/tests/browser/browser_oneOffs.js. r=harry
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch

Set release status flags based on info from the regressing bug 1657918

Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: