Closed Bug 1218844 Opened 10 years ago Closed 10 years ago

Fix apps/system/regions/status_bar.py

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: njpark, Assigned: njpark)

References

Details

(Keywords: qawanted, Whiteboard: [systemsfe])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1179723 +++ Due to the bug 1179723, the StatusBar class methods return incorrect value. For example, when in a fullscreen app, it reports the status bar is being displayed while there isn't. For example, in case of fullscreen app, it appears that one needs to check the screen element for it to set its name to 'fullscreen-app minimized-tray' when the status bar is being displayed.
No longer blocks: 1110625, 1164539, 1194651, 1191111
Sorry about that. Note that we are moving the statusbar out of the viewport, so probably the tests need to do something as we did in the Gij ones: https://github.com/mozilla-b2g/gaia/commit/17fd5bd7a909a0bbecf672f3027add75565078ab#diff-3bcfdb8ced809559fa10c1c40223e77dR70 Let me know how can I help for fixing them. Thanks!
I just checked in the fix for bug 1217870. Not sure how much that helps here.
Assignee: nobody → npark
Comment on attachment 8679596 [details] [review] [gaia] npark-mozilla:1218844 > mozilla-b2g:master This simple fix seems to cover the fullscreen app cases, while existing test cases are still passing.
Attachment #8679596 - Flags: review?(martijn.martijn)
Attachment #8679596 - Flags: review?(jlorenzo)
(In reply to Alberto Pastor [:albertopq] from comment #1) > Sorry about that. Note that we are moving the statusbar out of the viewport, > so probably the tests need to do something as we did in the Gij ones: > > https://github.com/mozilla-b2g/gaia/commit/ > 17fd5bd7a909a0bbecf672f3027add75565078ab#diff- > 3bcfdb8ced809559fa10c1c40223e77dR70 > > Let me know how can I help for fixing them. Thanks! Aha, thanks for the tip, I saw your comment after I filed my PR. maybe your way is more robust.
Comment on attachment 8679596 [details] [review] [gaia] npark-mozilla:1218844 > mozilla-b2g:master I think it can be made a little bit simpler, but it looks good for the rest. I thought that elements out of the viewport return False for element.is_displayed(), but apparently that's not the case? Or is the statusbar still partly visible?
Attachment #8679596 - Flags: review?(martijn.martijn) → review+
Comment on attachment 8679596 [details] [review] [gaia] npark-mozilla:1218844 > mozilla-b2g:master Looks goot to me, modulo the small indentation nit.
Attachment #8679596 - Flags: review?(jlorenzo) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: