Closed
Bug 1529938
Opened 6 years ago
Closed 6 years ago
Tests in test_screen_orientation.py have to wait for orientationchange after setting new orientation
Categories
(Remote Protocol :: Marionette, defect, P1)
Tracking
(firefox67 fixed)
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: JanH, Assigned: whimboo)
References
Details
Attachments
(1 file, 1 obsolete file)
Assignee | ||
Updated•6 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P1
Summary: test_screen_orientation.py should wait for orientationchange event before querying new orientation → "Marionette:SetScreenOrientation" has to wait for "orientationchange" event
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Tests are causing infinite hangs now because in some situations the event is not getting emitted. I'm not sure what's wrong here.
Given that I'm away the next days maybe Geoff or Jan could have a look at it?
Flags: needinfo?(jh+bugzilla)
Flags: needinfo?(gbrown)
![]() |
||
Comment 4•6 years ago
|
||
Thanks :whimboo. I've gotten as far as confirming your observations, but don't have further insight.
Flags: needinfo?(gbrown)
Assignee | ||
Comment 5•6 years ago
|
||
Oh, I just read bug 1527959 comment 17 again, and it's clear now why that cannot work. Before we can make any changes to Marionette server itself, only the test needs the update. The server change has to follow when bug 1527959 has been fixed.
Flags: needinfo?(jh+bugzilla)
Updated•6 years ago
|
Attachment #9047039 -
Attachment is obsolete: true
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
Also restoring the the summary to reflect the reality of this bug.
Summary: "Marionette:SetScreenOrientation" has to wait for "orientationchange" event → Tests in test_screen_orientation.py have to wait for orientationchange after setting new orientation
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0f848b99ad57
[marionette] Tests for screen orientation change have to wait for the change happened. r=gbrown
Comment 10•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•