Intermittent comm/mail/base/test/browser/browser_feedBodyScroll.js | Test timed out
Categories
(Thunderbird :: Message Reader UI, defect, P5)
Tracking
(thunderbird_esr128 unaffected)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr128 | --- | unaffected |
People
(Reporter: intermittent-bug-filer, Assigned: mkmelin)
References
(Regression)
Details
(Keywords: intermittent-failure, intermittent-testcase, regression)
Attachments
(3 files)
Filed by: geoff [at] darktrojan.net
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=495370763&repo=comm-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bR8_hsIxReiT7UYwYg9D7w/runs/0/artifacts/public/logs/live_backing.log
| Assignee | ||
Comment 1•1 year ago
|
||
This was from bug 1830755
Comment 2•1 year ago
|
||
From my observations, the test times out because the listener for the
scroll event is registered after the keypress event has been issued.
Since the EventUtils are also available inside a spawned SpecialPowers,
this patch moves the call to EventUtils.synthesizeKey() inside and
after the registration of the scroll event.
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by john@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/736a4251b5b0
Attempt to fix browser_feedBodyScroll.js. r=vineet
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 5•1 year ago
|
||
Still happening (but not as frequently?)
Comment 6•1 year ago
|
||
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 8•1 year ago
|
||
Make it pass with --headless --verify and other things
Comment 9•1 year ago
|
||
If this continues to fail, we might have to consider using a different test approach. A single keystroke may cause multiple scroll events.
Since we only wait for one, the next time we wait for the scroll from the keystroke, it could be resolved by one of the other scroll events from the prior keystroke. We probably have to wait until no more scroll events are issued. The scrollend event is also not helpful, since it does not mark the end of scroll, there will be more scroll events after it. See Bug 1869514.
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/622c14b21f6c
Fixes to intermittent comm/mail/base/test/browser/browser_feedBodyScroll.js. r=freaktechnik
| Assignee | ||
Comment 11•1 year ago
|
||
New instance still :( https://treeherder.mozilla.org/logviewer?job_id=497650366&repo=comm-central&lineNumber=2636
| Assignee | ||
Comment 12•1 year ago
|
||
(In reply to John Bieling (:TbSync) from comment #9)
Since we only wait for one, the next time we wait for the scroll from the keystroke, it could be resolved by one of the other scroll events from the prior keystroke. We probably have to wait until no more scroll events are issued. The
scrollendevent is also not helpful, since it does not mark the end of scroll, there will be more scroll events after it. See Bug 1869514.
It seems to me it should use "scrollend" actually, instead of "scroll". What did you mean by this? We do one scroll at a time and then wait for the event
| Assignee | ||
Updated•1 year ago
|
Comment 13•1 year ago
|
||
If you log "scroll" and "scrollend" events continuously, you will see that a scrollend event is not the last event resulting from a scroll. A single scroll action from A to B will cause multiple "scroll" events, one "scrollend" event and then some more "scroll" events.
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 16•1 year ago
|
||
I wonder if that's not about something else.
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollend_event says "The scrollend event fires when element scrolling has completed". I think that's all we care about.
A try run with "scrollend" seems alright: https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=f7cb14130cfe659a44af648f8cf161ff0f710ff6&selectedTaskRun=auW1YRWFQZmuU7aZINWUUg.0
| Assignee | ||
Comment 17•1 year ago
|
||
Updated•1 year ago
|
| Comment hidden (Intermittent Failures Robot) |
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Comment 19•1 year ago
|
||
Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/6720bb57b08a
Fix intermittent comm/mail/base/test/browser/browser_feedBodyScroll.js by listening for scrollend instead of scroll. r=freaktechnik
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Updated•1 year ago
|
Description
•