Closed Bug 837725 Opened 12 years ago Closed 10 years ago

B2G Settings app element returns true for is_displayed when it is not visible on the screen

Categories

(Remote Protocol :: Marionette, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bsilverberg, Assigned: automatedtester)

References

Details

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

Attachments

(1 file)

When one turns on cell data via the Settings app for the first time, a prompt is displayed. After responding "Turn ON" to that prompt, one is no longer prompted when turning cell data on and off. While trying to test this I found that the prompt is reporting is_displayed = true whether or not it is actually displayed on the screen. I have attached a reduced test case which can be used to view this behaviour. To do that, run the test once and see that is_displayed reports 'true' to the console. After the test has been run, but before running it again, click the "Turn ON" button displayed in the prompt on the phone. This will cause the prompt to *not* appear the next time the test is run. Now run it again and you should still see 'true' reported to the console, even though the prompt is not displayed.
Assignee: nobody → dburns
Whiteboard: [fromAutomation]
Re-tested and this is still valid.
Blocks: 865232
Summary: Element returns true for is_displayed when it is not visible on the screen → B2G Settings app element returns true for is_displayed when it is not visible on the screen
Attachment #709743 - Attachment mime type: text/x-python-script → text/plain
Whiteboard: [fromAutomation] → [fromAutomation][displayed]
Checked this use case and it works fine normally now.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: