Closed
Bug 957163
Opened 12 years ago
Closed 12 years ago
Improve waiting in the keyboard app object logic
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zcampbell, Assigned: zcampbell)
References
Details
Attachments
(2 files)
Is a bit flaky on device, looks like the keyboard is responding very slowly.
Assignee | ||
Comment 1•12 years ago
|
||
This failure exposed some issues in our Keyboard app object.
This PR addresses:
- More comments explaining things
- wait_for_displayed instead of condition which gives better exception messages
- Explicit waits after changing layouts
- Slight simplification of change layout logic
- Explicit wait after tapping space/upper case
- Bug wlach found where key after space would not work
Attachment #8356733 -
Flags: review?(florin.strugariu)
Attachment #8356733 -
Flags: review?(dave.hunt)
Attachment #8356733 -
Flags: review?(bob.silverberg)
Assignee | ||
Updated•12 years ago
|
Summary: Investigate test_everythingme_search intermittent failure → Improve waiting in the keyboard app object logic
Assignee | ||
Comment 2•12 years ago
|
||
also I did test this on v1.3 :)
Comment 3•12 years ago
|
||
Hmm, the test in bug 917404 is still hanging for me with this change. Before it would hang after the space was entered. Now nothing is being entered. I'll attach the test here as well, there's some eidetickerisms in there, but it should be easy enough to just remove that stuff.
Comment 4•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #8356733 -
Flags: review?(florin.strugariu)
Attachment #8356733 -
Flags: review?(dave.hunt)
Attachment #8356733 -
Flags: review?(bob.silverberg)
Assignee | ||
Comment 5•12 years ago
|
||
William, don't worry about this; my patch is not complete as it's failing in Travis.
I'll switch it back to the old logic but with new waits where I know we need it.
Comment 7•12 years ago
|
||
(In reply to William Lachance (:wlach) from comment #3)
> Hmm, the test in bug 917404 is still hanging for me with this change.
I think Will means bug 946298
Comment 8•12 years ago
|
||
This seems to resolve the intermittent failure in test_everythingme_search_accented. I ran the test with this fix 21 times and got no failures: https://pastebin.mozilla.org/3966606
Assignee | ||
Comment 9•12 years ago
|
||
Comment on attachment 8356733 [details] [review]
github pr
I put this back to the old change_layout if logic which we know works. It's a bit clunky but neatening it was beginning to look very time consuming and risky to the various suites that use gaiatest.
At least now it has solid waits and extra comments to explain the workflows.
Attachment #8356733 -
Flags: review?(viorela.ioia)
Attachment #8356733 -
Flags: review?(florin.strugariu)
Attachment #8356733 -
Flags: review?(dave.hunt)
Attachment #8356733 -
Flags: review?(bob.silverberg)
Comment 10•12 years ago
|
||
Comment on attachment 8356733 [details] [review]
github pr
Looks like good strengthening of the keyboard object. I've not run any tests, but the patch looks good to me.
Attachment #8356733 -
Flags: review?(dave.hunt) → review+
Comment 11•12 years ago
|
||
It also fixes the intermittent failure in test_everythingme_launch_app: https://pastebin.mozilla.org/3966748
Updated•12 years ago
|
Attachment #8356733 -
Flags: review?(viorela.ioia) → review+
Comment 12•12 years ago
|
||
Comment on attachment 8356733 [details] [review]
github pr
r+
Attachment #8356733 -
Flags: review+
Updated•12 years ago
|
Attachment #8356733 -
Flags: review?(florin.strugariu) → review+
Comment 13•12 years ago
|
||
merging in
Comment 14•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Attachment #8356733 -
Flags: review?(bob.silverberg)
You need to log in
before you can comment on or make changes to this bug.
Description
•