Closed
Bug 1975140
Opened 9 months ago
Closed 9 months ago
Reset scroll position before each test in test_click_scrolling.py
Categories
(Testing :: Marionette Client and Harness, enhancement, P2)
Testing
Marionette Client and Harness
Tracking
(firefox141 fixed, firefox142 fixed)
RESOLVED
FIXED
142 Branch
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Whiteboard: [webdriver:m17])
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
Right now we are not resetting the scroll position of the current tab under test in-between the individual sub tests in test_click_scrolling.py. This can lead to unexpected failures in following tests as seen on bug 1867054.
As I checked with the following try build calling window.scroll(0, 0) during setUp will fix it.
https://treeherder.mozilla.org/jobs?repo=try&revision=97697c1b0dbd65b2e321a1ed730d12ccfa07993e
| Assignee | ||
Comment 1•9 months ago
|
||
Updated•9 months ago
|
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
| Assignee | ||
Updated•9 months ago
|
Points: --- → 1
Priority: -- → P2
Whiteboard: [webdriver:m17]
Pushed by hskupin@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/6fab02b28adb
https://hg.mozilla.org/integration/autoland/rev/16276caadadd
[marionette] Reset scroll position before each test in test_click_scrolling.py. r=webdriver-reviewers,jdescottes
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
status-firefox142:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
| Assignee | ||
Comment 4•8 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D255754
Updated•8 months ago
|
Attachment #9499131 -
Flags: approval-mozilla-beta?
Comment 5•8 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: None, only affects unit tests for Marionette
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: None
- Risk associated with taking this patch: Very low
- Explanation of risk level: Only resets the window scroll position before each scroll test to ensure proper scrolling by using the initial 0,0 position
- String changes made/needed: None
- Is Android affected?: no
Updated•8 months ago
|
Attachment #9499131 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•8 months ago
|
status-firefox141:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•