Closed Bug 1186893 Opened 10 years ago Closed 10 years ago

keyboard.is_keyboard_displayed is always returning true in current builds

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: martijn.martijn)

References

()

Details

Attachments

(1 file)

Follow-up from bug 1186462. See http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/apps/keyboard/app.py#442 Because inputwindow gets class called 'inactive' when it's not active anymore. Quite obvious that this check doesn't work. I think we should check for like is done in dismiss(): http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/apps/keyboard/app.py#343
Comment on attachment 8637993 [details] [review] [gaia] mwargers:1186893 > mozilla-b2g:master In my opinion, I think only the input_window.is_displayed() part would be enough. I don't think the (int(input_window.location['y']) == expected_y) part is necessary, either.
Attachment #8637993 - Flags: review?(npark)
Attachment #8637993 - Flags: review?(jlorenzo)
Comment on attachment 8637993 [details] [review] [gaia] mwargers:1186893 > mozilla-b2g:master r+ assuming the comments I made in the pull requests are non-issue.
Attachment #8637993 - Flags: review?(npark) → review+
Blocks: 1187015
Comment on attachment 8637993 [details] [review] [gaia] mwargers:1186893 > mozilla-b2g:master This refactor looks great!
Attachment #8637993 - Flags: review?(jlorenzo) → review+
Blocks: 1184952
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
No longer blocks: 1184952
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: