Closed
Bug 814037
Opened 12 years ago
Closed 12 years ago
is_displayed struggling with transforms
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(firefox23 fixed, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 fixed)
RESOLVED
FIXED
mozilla23
People
(Reporter: mdas, Assigned: automatedtester)
References
Details
Attachments
(3 files)
This problem is seen in the gaia music app. There are two album views whose elements are all un-hidden, but who transform onto the screen. Is_displayed() returns false for all these elements, regardless if they've been transformed into view or not.
Example element we're looking for:
https://github.com/mozilla-b2g/gaia/blob/ae5bb150ac188aa7ecd653b5276f6139e756e444/apps/music/js/music.js#L432
The css causing the transform is most likely this:
https://github.com/mozilla-b2g/gaia/blob/ae5bb150ac188aa7ecd653b5276f6139e756e444/apps/music/style/music.css#L112
Comment 1•12 years ago
|
||
Is this a duplicate of bug 813583?
Assignee | ||
Comment 2•12 years ago
|
||
Without investigating it further I dont think they are
Updated•12 years ago
|
Severity: normal → major
Assignee | ||
Comment 3•12 years ago
|
||
zac: is this priority still correct since you mentioned when I saw you last week that the test doesn't use the approach at the moment
Comment 4•12 years ago
|
||
Yes, it's not affecting that test anymore so the priortiy can be lowered.
Assignee | ||
Comment 5•12 years ago
|
||
dropping priority as per zac's comment
Severity: major → normal
Hardware: x86 → All
Assignee | ||
Comment 6•12 years ago
|
||
I have tried to replicate the issue and I can't :(
In the Music app I have 1 mp3 on the device and do the following
elem = self.marionette.find_element('css selector', '.tile-title-album')
elem.is_displayed()
When I have the screen at (http://pastebin.mozilla.org/2046102 paste pastebin contents to urlbar) then is_displayed() is returning True. On the other parts of the app it is returning False which is what I would expect.
If someone can give me an example of where it not doing the right thing, ideally with an example script, then I have will have a look again
Assignee | ||
Updated•12 years ago
|
Assignee: dburns → nobody
Comment 7•12 years ago
|
||
I'm happy with the result of David's recent testing. If we stumble upon another bug we can reopen this or raise a new one.
Comment 8•12 years ago
|
||
I mean I'm happy with the result with regard to how it affects the smoke test work.
Comment 9•12 years ago
|
||
It sounds like we can close this bug. Please reopen if this issue reoccurs.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Comment 10•12 years ago
|
||
This (or at least this test case) has regressed and we can't run the music test anymore.
Every element inside the music app after the transform has occurred is returning displayed false.
The element appears to be off the screen, perhaps not taking into account the translateX/transform.
{u'y': 76, u'x': 320}
{u'width': 320, u'height': 60}
The source of the issue might be from this commit into the music app:
https://github.com/mozilla-b2g/gaia/commit/e13ac837676251c9a96e651fa29dfa09f0b6b3c9
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 11•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dburns
Assignee | ||
Comment 12•12 years ago
|
||
Desktop try : https://tbpl.mozilla.org/?tree=Try&rev=c8f1e713501b
Mobile Try : https://tbpl.mozilla.org/?tree=Try&rev=9aefbed427ab
Assignee | ||
Comment 13•12 years ago
|
||
zac kindly created this html test case to show the issue
Assignee | ||
Comment 14•12 years ago
|
||
Mobile try: https://tbpl.mozilla.org/?tree=Try&rev=537a4eb3a2f9
Desktop Try: https://tbpl.mozilla.org/?tree=Try&rev=0eeffe9ec8af
I forgot to add the test html for this
Assignee | ||
Comment 15•12 years ago
|
||
try is green \o/
Assignee | ||
Comment 16•12 years ago
|
||
Actual fix at https://code.google.com/p/selenium/source/detail?r=9f5f32c0bfba7005d61e39c6f5662638b87bdad2# and will need to have the spec updated accordingly
Attachment #733298 -
Flags: review?(mdas)
Reporter | ||
Updated•12 years ago
|
Attachment #733298 -
Flags: review?(mdas) → review+
Assignee | ||
Comment 17•12 years ago
|
||
Comment 18•12 years ago
|
||
♡
Comment 19•12 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Assignee | ||
Comment 20•12 years ago
|
||
Comment 21•12 years ago
|
||
status-b2g18:
--- → fixed
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → fixed
status-firefox23:
--- → fixed
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
•