Closed Bug 846456 Opened 11 years ago Closed 10 years ago

[B2G] Marionette Cards view elements not returning is_displayed() correctly

Categories

(Remote Protocol :: Marionette, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zcampbell, Assigned: automatedtester)

References

Details

(Keywords: pi-marionette-displayed, Whiteboard: [displayed])

Attachments

(1 file)

Attached file le test case
Marionette is not returning the correct is_displayed() property for cards in the system Cards View.

Seemingly by dumb luck we have not noticed this on Unagi but on Panda the problem has shown up.

In the attached test case the 'x' location of the element is outside the width of the screen but the element is being interpreted as displayed.

The 'y' location is also 20px which suggests it is not honouring the centred location of the element.
As Bebe mentioned this is now reproducible on the Unagi device where it wasn't before, probably due to other changes to the is_displayed code. 
Maybe this could be revisited now.
Blocks: 865232
The cards view HTML in v1-train has changed making this test case invalid.

The bug is still valid but we'll need a new test case. (Perhaps it may be valid against v1.0.1 still depending upon whether this Cards View reaches v1.0.1).
Just checked that v1.0.1 is using the old cards view so you can replicate this on that build (or ask me to for you).
Whiteboard: [displayed]
Cards view has completely changed since then, this would be very difficult to re-test/replicate.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: